Hi all,
I'm quite new to LyX and I'm using this style for my thesis:
http://code.google.com/p/classicthesis/downloads/list
I'm searching for a way to increase size of font, add bold and remove emphasis to "Chapter" "Section" and "Subsection".
When I move my mouse above them in LyX I see that they are "Huge", "Larger" and "Large" but also bold. However, when I generate the PDF, they are not bold, and subsections have emphasis.
I tried to search something in classicthesis.layout, classicthesis-preamble.sty, classicthesis.sty but I didn't find anything useful.
So, how can I edit Chapter Section and subsection styles?
Thank you
LyX ⇒ classicthesis | Change Font Style for Headings
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
classicthesis | Change Font Style for Headings
I think the best source for information in this regard is the classicthesis manual. You can find it inside the archive which is available on the page you linked. I guess that customization must happen on the LyX side. But perhaps you have to install some stuff (fonts, …) subsequently on the LaTeX side. The log file of the PDF compilation should give corresponding information.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 10
- Joined: Sat Sep 10, 2011 10:59 pm
classicthesis | Change Font Style for Headings
You'll find the relevant code in classicthesis.sty, in the section "layout of the chapter-, section-, subsection-, subsubsection-, paragraph and description-headings" (below line 350).
I'm putting in bold the commands you'll probably want change or replace
\titleformat{\chapter}[display]%
{\relax}{\mbox{}\oldmarginpar{\vspace*{-3\baselineskip}\color{halfgray}\chapterNumber\thechapter}}{0pt}%
{\raggedright\spacedallcaps}[\normalsize\vspace*{.8\baselineskip}\titlerule]%
}
% sections
\titleformat{\section}
{\relax}{\textsc{\MakeTextLowercase{\thesection}}}{1em}{\spacedlowsmallcaps}
% subsections
\titleformat{\subsection}{\relax}{\textsc{\MakeTextLowercase{\thesubsection}}}{1em}{\normalsize\itshape}
The manual of the titlesec package might also help you with this.
I'm putting in bold the commands you'll probably want change or replace
\titleformat{\chapter}[display]%
{\relax}{\mbox{}\oldmarginpar{\vspace*{-3\baselineskip}\color{halfgray}\chapterNumber\thechapter}}{0pt}%
{\raggedright\spacedallcaps}[\normalsize\vspace*{.8\baselineskip}\titlerule]%
}
% sections
\titleformat{\section}
{\relax}{\textsc{\MakeTextLowercase{\thesection}}}{1em}{\spacedlowsmallcaps}
% subsections
\titleformat{\subsection}{\relax}{\textsc{\MakeTextLowercase{\thesubsection}}}{1em}{\normalsize\itshape}
The manual of the titlesec package might also help you with this.