Discussion:
ERROR: Class memoir Error: Font command \bf is not supported.
(too old to reply)
Kevin Rudisill
2003-11-04 20:23:33 UTC
Permalink
I create the latex file:

\documentclass[12pt]{memoir}
\chapterstyle{default}
\begin{document}
{\bf hello world!}
\end{document}

and I get the error:

ERROR: Class memoir Error: Font command \bf is not supported.

--- TeX said ---

See the memoir class documentation for explanation.
Type H <return> for immediate help.
...

l.4 {\bf
hello world!}
--- HELP ---
No help available

Considering the error cropped up when I was trying to use camel in
combination with memoir, does anyone know of a good workaround. If I
redefine \bf to \textbf then it does it with \tt next. What I was
wondering is, isn't there a significant difference between \bf and
\textbf? If I just rename one to the other won't it lead to problems
down the road? Would it be possible to just get one of the other
LaTeX styles (i.e. article) first to get all the defaults then
\usepackage{memoir} (or something like that) to get the memoir
specifics?

Does anyone know of a better workaround?

Thanks,

-Kevin
Lars Madsen
2003-11-04 20:30:36 UTC
Permalink
Read the memoir manual (memman.pdf), Peter Wilson has removed the support for
the old font commands since people are encouraged to use e.g. \bfseries or
\textbf{ ..} instead. It's simply because the \bf, \it etc. behaviour is quite
strange to a lot of people. But the is also a class option to bring them back,
look in the manual.
--
/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
LaTeX Intro: http://people.ee.ethz.ch/~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.
Loading...