0

I am strying to change the font of my abbreviations list \printnomenclature (nomencl.sty) so I can have the abbreviations in bold (my main font lacks a bold version). I've tried several things, but I just can't get it to work. The font changes to default, and italics in the definitions are lost for some weird reason.

\renewcommand{\nomname}{List}
\renewcommand{\nomlabel}[1]{\textbf{#1}} %bold abbreviations
\printnomenclature
\input{ABC}

I've tried this with no luck:

\renewcommand{\nomname}{List}
\renewcommand{\nomlabel}[1]{\textbf{#1}} %bold abbreviations
{\fontfamily{Arial}\selectfont\printnomenclature}
\input{ABC}

Also this:

\renewcommand{\nomname}{List}
\renewcommand{\nomlabel}[1]{{\fontfamily{Arial Bold}\selectfont{#1}}} %bold abbreviations
\printnomenclature
\input{ABC}
  • If you add a minimal but complete working example (MWE) that illustrates your problem you'll improve your chances of getting an answer significantly. We are not able to guess which main font you use nor how you load it. A MWE would allow to reproduce the problem and hopefully show both the reason for the problem and a possible way out. – clemens Jan 25 '13 at 18:18
2

You can use Helvetica instead with

\usepackage{helvet}

Then,

\renewcommand{\nomlabel}[1]{{\fontfamily{phv}\selectfont \textbf{#1}}} %bold Helvetica

should work.

The issues of using really Arial are described here: How to set font to Arial throughout the entire document?

  • I see. I really don't want to use Arial, but Gentium Basic. I just tried wíth Arial as an example. The issue is the same with Gentium Basic. My main font is Gentium Plus. – Man Jan 25 '13 at 19:15

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.