Theses, Books, Title pages ⇒ Small capitals for Chapter titles, sections, subsection..
Small capitals for Chapter titles, sections, subsection..
Hi everybody,
Here's my first question for the community, hope you can help.
Im using template master-doctoral-thesis for my msc thesis and im wondering how to change all titles (Chapters titles, Sections, Subsections, Bibliography, toc) to Small Capitals.
Any suggestions?
Thanks in advance!
Here's my first question for the community, hope you can help.
Im using template master-doctoral-thesis for my msc thesis and im wondering how to change all titles (Chapters titles, Sections, Subsections, Bibliography, toc) to Small Capitals.
Any suggestions?
Thanks in advance!
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Small capitals for Chapter titles, sections, subsection..
You can use package titlesec just like you would do with any other LaTeX-class.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Small capitals for Chapter titles, sections, subsection.
thx. im still a beginner and am not quite sure how or where to implement that
i tried by including the following in the "main.tex" file's preamble part
1.
usepackage(titlesec)
\titleformat{\section}{\textsc}
\titleformat{\chapter}{\textsc}
...
but i get this error:
! Paragraph ended before \ttl@format@ii was complete.
2. then i tried
\titleformat*{\section}{\textsc}
which results in:
! Package titlesec Error: Entered in horizontal mode.
See the titlesec package documentation for explanation.
Type H <return> for immediate help.
can you see what goes wrong here?
i tried by including the following in the "main.tex" file's preamble part
1.
usepackage(titlesec)
\titleformat{\section}{\textsc}
\titleformat{\chapter}{\textsc}
...
but i get this error:
! Paragraph ended before \ttl@format@ii was complete.
2. then i tried
\titleformat*{\section}{\textsc}
which results in:
! Package titlesec Error: Entered in horizontal mode.
See the titlesec package documentation for explanation.
Type H <return> for immediate help.
can you see what goes wrong here?
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Small capitals for Chapter titles, sections, subsection..
Thinking about it more, you have two possibilities. Using package titlesec and define the headings by yourself entirely (destroys template defaults), or use package sectsty and just change the font. The design will be with changed to the sectsty defaults, so, default template design destroyed as well.
Pay attention,
Or use the following block to change the fonts.
Code: Select all
\usepackage{titlesec}
\makeatletter
\titleformat{\chapter}[display]{\huge\bfseries\scshape}{\@chapapp~\thechapter}{1\baselineskip}{}
\titleformat{\section}{\large\bfseries\scshape}{\thesection}{1em}{}
\makeatother
titleformat
has a few arguments than you tried to give.Or use the following block to change the fonts.
Code: Select all
\let\chapterfont\relax
\usepackage{sectsty}
\allsectionsfont{\scshape}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Small capitals for Chapter titles, sections, subsection.
that works!
minor detail
chapter and section names at the top of each page are still normal
would there be a fast method to change that font to smallcaps too?
minor detail
chapter and section names at the top of each page are still normal
would there be a fast method to change that font to smallcaps too?
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Small capitals for Chapter titles, sections, subsection..
Code: Select all
\addtokomafont{pagehead}{\scshape}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Small capitals for Chapter titles, sections, subsection.
i couldnt be more thankful
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Small capitals for Chapter titles, sections, subsection.
Glad to be helpful.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.