[OS X TeX] How to comment out includegraphics?
Morten Høgholm
morten.hoegholm at gmail.com
Fri Oct 28 00:47:48 CEST 2005
On Thu, 27 Oct 2005 17:38:57 -0500, Herbert Schulz
<herbs at wideopenwest.com> wrote:
> A graphics inclusion acts like a character, maybe a large one but still
> a character. therefore you've got to use something like $...
> \text{\includegraphics[,scale=0.75]{Figures/01_01_00.pdf}}$
> since it has no meaning within math mode. This assumes you use the
> amsmath package; otherwise use \mbox instead of \text.
Not quite right here Herb... The thing is that some places in TeX you can
use pretty much any character you like and it'll be fine. One of these
cases is when trying to input a file name where an otherwise dangerous
character like underscore would usually require math mode. Another is when
you try to do weird stuff like \csname Xyz{$_}&*\endcsname (yes, this is a
legal csname!).
The problem here is that with the redefinition of \includegraphics, the
underscore is all of sudden just used for regular typesetting and it
promptly asked to be put in math mode.
--
Morten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list