Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
    
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. –  cgnieder Jan 25 '13 at 18:18
add comment

1 Answer

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?

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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