Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

boldface in memoir

1,628 views
Skip to first unread message

Oscar Rotava

unread,
Dec 13, 2010, 9:12:23 AM12/13/10
to
I started using memoir document class and I am getting the following
message:

TestMemoir.tex(161): Error: ! Class memoir Error: Font command \bf is
not supported.

What substitutes \bf then? Do I have to change from \bf to \textbf?

Marc Baudoin

unread,
Dec 13, 2010, 9:18:09 AM12/13/10
to

Yes, \bf is an old LaTeX 2.09 declaration and \textbf is its
LaTeX 2e equivalent command. LaTeX 2e has been around for 15
years now so I believe it's quite safe for you to use \textbf.

Lars Madsen

unread,
Dec 13, 2010, 9:29:48 AM12/13/10
to


and note that contrary to \bf \textbf takes arguments so

{\bf test} should be changed to \textbf{test}

the \bf, \it etc. commands from TeX does not commute and forces the user
to manually insert italic correction. The LaTeX versions does commute,
i.e. \textbf{\textit{test}} does give you bold italic ({\bf\it test}
does not)

It is possible to tell memoir to support \bf etc. But it is better not
to use them at all.

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html

Oscar Rotava

unread,
Dec 13, 2010, 9:37:08 AM12/13/10
to

Thank you pals.

Heiko Oberdiek

unread,
Dec 13, 2010, 10:40:54 AM12/13/10
to
Marc Baudoin <bab...@babafou.eu.org> wrote:

The argumentless declaration form is \bfseries, whereeas \textbf takes
one argument (the text to be set in boldface).

You can find a short description of the new commands in LaTeX2e
in `usrguide.pdf', e.g. "3.10 Font changing: text". More details
are revealed in `fntguide.pdf', e.g. "2 Text fonts".
Both are part of your LaTeX installation.

--
Heiko Oberdiek

Victor Ivrii

unread,
Dec 14, 2010, 5:41:21 AM12/14/10
to

either \textbf or \mathbf depending on the mode; the same is true for
\it \sf \frak ....

Actually memoir only enforces this but these commands should be used
in {article}, {report}, etc

HTH

Victor

Lars Madsen

unread,
Dec 14, 2010, 5:50:16 AM12/14/10
to

not that easy, in many cases you would replace {\bf x} in mathmode by
\bm{x} (\bm from the bm package) because this gives me italic bold, and
not upright bold.

In most cases {\bf text} should be replaced by \textbf{text}, in math
mode I would rethink the use of bold face in each case, Do I need a bold
math variable (\bm{x}) or do I actually need \mathbf{x}. I hardly ever
use \mathbf

--

/daleif (remove RTFSIGNATURE from email address)

0 new messages