l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Jul 23 18:16

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] sticking sans serif font in latex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] sticking sans serif font in latex

I have a document in LaTeX which is being concatenated with others to
form a PDF.  (We're using Perl's "Text::Template" package to actually
convert ".tex" templates into ".tex" LaTeX code proper, so I have nifty
switches in the templates which allow you to say whether the template
should consider itself the first page (include preamble) or last page
(\end{document}) or not (\pagebreak))

Anyway - On one page, a coworker (you know who you are :^) )
used a "\sffamily{}" tag around some text.  This caused (and I believe
this was his intention) the page to have a Sans Serif font.

Unfortunately, when other pages are appended to the LaTeX to form
a multi-page (multi-document) PDF, the font on all of the SUBSEQUENT PAGES
are ALSO Sans Serif - which they aren't if printed separately or simply
printed BEFORE the Sans Serif page.

I've tried a number of things to disable the Sans Serif font and reset it
to Serif (Computer Modern Roman, I guess), but am failing.

Removing the "\sffamily{}" around that one header on that page also
causes EVERYTHING to become very large.  I'm guessing it's because
I went from this:

  \sffamily{\huge{\textbf{Foo Bar Baz}}}\\%

to this:

  \huge{\textbf{Foo Bar Baz}}\\%

I'm pretty lost.  I'm not very good at LaTeX, and the document in
question was created over a year ago and it was never fathomed that
it would be part of a multi-page batch print!  The original author
isn't too sure what's going on, and neither is the local LaTeX guru
(who, unfortunately, isn't tasked to work on this crap - I am :^P )

Any suggestions?

In the meantime, as an interim solution, we're just going to make sure
that the Sans Serif page(s) print last.  That's a crappy/kludgy solution
though. :^P


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.