0

My code:

\documentclass[a4paper,12pt]{book}
% Title
\usepackage{titling}
\author{}
\pretitle{\begin{center} \huge\bf} \title{\uppercase\expandafter{\romannumeral3\relax} MY\\BOOK} \posttitle{\end{center}}
\date{}
\begin{document}
\maketitle
\end{document}

Result:
enter image description here

I need to make the title bolder than I am getting. How can I achieve that?

3
  • 4
    \bf has not been defined by default in latex since LaTeX2e was introduced in 1993. Jul 14 at 16:53
  • computer modern is only available in two weights. It is also a very light font, you could change your entire book to eg a times roman clone (\usepackage{newtxtext,newtxmath}) which would be a darker font. Jul 14 at 16:55
  • If you have a font that has extrabold or ultrabold etc, you could use that via fontspec package (example with Arial: tex.stackexchange.com/questions/605192/…). Noto Serif font has many weights; so do many other fonts.
    – Cicada
    Jul 16 at 14:34
1

Perhaps use a larger font than a smaller bolder font. BTW use \bfseries instead of \bf.

% booktitleprob.tex  SE 605001
\documentclass[a4paper,12pt]{book}
\usepackage{comment}
% Title
\usepackage{titling}
\author{}
\begin{comment} % the original
\pretitle{\begin{center} \huge\bf} 
  \title{\uppercase\expandafter{\romannumeral3\relax} MY\\BOOK} 
\posttitle{\end{center}}
\end{comment}
% the revision
\pretitle{\begin{center} \Huge\bfseries} 
  \title{\uppercase\expandafter{\romannumeral3\relax} MY\\BOOK} 
\posttitle{\end{center}}
\date{}
\begin{document}
\maketitle
\end{document}

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.