[Tex/LaTex] ALL CAPITAL Roman Numeral Chapter Style. How

capitalizationchaptersroman numerals

Question revised: What must I do to make "Chapter 1" display as "CHAPTER I", "Chapter 2" as "CHAPTER II", and so forth?

Background and details: This is a requirement for my thesis. I've searched a good while but not been successful in finding what I need without messing up what I already have. I found in the Wiki (here) about choosing different chapter styles, however, none of those listed are what I need.

I need "CHAPTER" to display in all capitals, and to use roman numerals for the number of the chapter (not the page number though). And it must not change how I've (because of help from this awesome forum community) been able to get the page numbers in the correct places.

Other details that may be relevant:

  • I'm using LyX version 2.0.6.
  • Document class: book (Memoir).
  • Modules selected: Custom Header/Footerlines.
  • Page Layout -> Headings style: Default.
  • Not two-sided.
  • Margins: 4cm above, 3cm below, 4cm left, and 3cm right.
  • LaTeX Preamble:

    \makeevenfoot{headings}{}{}{\thepage}
    \makeoddfoot{headings}{}{}{\thepage}
    \makeevenhead{headings}{}{}{}
    \makeoddhead{headings}{}{}{}
    
    \copypagestyle{chapter}{plain} % make chapter a page style of its own
    \makeevenfoot{chapter}{}{}{\thepage}
    \makeoddfoot{chapter}{}{}{\thepage}
    \makeevenhead{chapter}{}{}{}
    \makeoddhead{chapter}{}{}{}
    

Question again: What must I do to make "Chapter 1" display as "CHAPTER I", "Chapter 2" as "CHAPTER II", and so forth?

Thank you for your time and any help you provide!

Best Answer

Without a minimal example it's difficult to say; but

\renewcommand{\chaptername}{CHAPTER}
\renewcommand{\thechapter}{\Roman{chapter}}

should be all you need.


With memoir, there are several facilities one can exploit. Here's a solution that should accomplish your desires.

\documentclass{memoir}

\usepackage{kantlipsum} % just for the example

\makeevenfoot{headings}{}{}{\thepage}
\makeoddfoot{headings}{}{}{\thepage}
\makeevenhead{headings}{}{}{}
\makeoddhead{headings}{}{}{}

\copypagestyle{chapter}{plain} % make chapter a page style of its own
\makeevenfoot{chapter}{}{}{\thepage}
\makeoddfoot{chapter}{}{}{\thepage}
\makeevenhead{chapter}{}{}{}
\makeoddhead{chapter}{}{}{}

\renewcommand{\printchaptertitle}[1]{\chaptitlefont\MakeUppercase{#1}}
\makeatletter
\renewcommand{\printchaptername}{\chapnamefont\MakeUppercase{\@chapapp}}
\makeatother
\renewcommand{\printchapternum}{\chapnumfont\Roman{chapter}}

\begin{document}
\frontmatter

\chapter{Introduction}
\kant[1]

\mainmatter

\chapter{A title}

\section{Something}

\kant

\end{document}

I added also a chapter in the front matter to show that the style is the same.

enter image description here