3

I need to change the title of a section of my thesis (book), so that it shows nDCT instead of enter image description here

What is the best way to do it? I tried using both \texorpdfstring{\MakeLowercase{n}DCT}{nDCT} and \MakeLowercase{n}DCT but none worked.

Here is a minimal working example:

\documentclass[openany,english,a4paper,12pt,twoside,titlepage]{book} 
\usepackage{sectsty}

\partnumberfont{\fontfamily{ppl}\mdseries\scshape\Large}
\parttitlefont{\fontfamily{ppl}\mdseries\scshape\LARGE}
\chapternumberfont{\sffamily\mdseries\scshape\LARGE}
\chaptertitlefont{\fontfamily{ppl}\mdseries\upshape\Huge}
\sectionfont{\fontfamily{ppl}\bfseries\scshape\Large}
\subsectionfont{\fontfamily{ppl}\bfseries\scshape\normalsize}

\begin{document}
\makeatletter

\section{test}

\end{document}
  • 1
    Why is everything uppercased in the first place? Please show us a minimal working example. – Johannes_B May 29 '16 at 12:54
  • I just added it in the question – albus_c May 29 '16 at 13:02
  • 2
    It is not uppercase, it is in small caps, as you declared; do \texorpdfstring{\textnormal{n}DCT}{nDCT} – egreg May 29 '16 at 13:06
  • That works wonderfully – albus_c May 29 '16 at 13:11
4

You have declared \scshape and so the n is typeset in the small caps font.

For this particular case, do

\textnormal{nDCT}

or, maybe,

\texorpdfstring{\textnormal{nDCT}}{nDCT}

and you'll be OK.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.