[pdftex] Degree Celsius

Y&Y Support support at YandY.com
Thu Apr 19 08:54:55 CEST 2001

At 12:38 PM 4/19/2001 +0100, Jörg Spanke wrote:

>I'm quite a newbie to pdfLaTeX, but everything I need is working
>quite nice for except one or two small things. I'm using  pdfTeX,
>Version 3.14159-14f-released-20000525 (MikTeX 2)
>with WinEdt on WinNT 4.0 or Win98 and I need to use the german
>"Umlaute", greek letters and the degree "°". Because of this I am
>using  \usepackage[T1]{fontenc}
>for LaTeX compiling. But this will produce a PDF output with
>pdfLaTeX which really looks ugly on the screen. When I use the
>WinEdt feature for saving ä as "ä" -> \"{a} the Umlaute are all right.
>But there is still no "degree" and something strange is happening
>with the greek symbols. "$\alpha$-Pinen" produces sometimes the
>correct output "a-Pinen" but sometimes it produces "aPinen". In
>this strange cases the log file says that cmr has no "-".
>So what font, font-map or encoding do I have to use to produces
>something nice?

If you use CM fonts and switch to T1 encoding, you will switch to EC,
which is in bitmapped form and hence looks ugly in Acrobat Reader.

One solution is to switch to real text fonts -- like any of the 20,000
-- 90,000 text fonts in Type 1 format.  These most all have the
"standard" 228 glyphs including the accented characters and special
symbols like "degree".

Then you have the issue of matching math fonts.
See http://www.yandy.com/options.htm for choices.

If you like the CM "look," another alternative are real text fonts in
the CM style: "European Modern" (EM) http://www.yandy.com/em.htm

Yet another alternative is some package like AE or ZE that hacks
together accented characters using virtual fonts -- but then you
can't do text search or copy and paste properly from the PDF file.

>At the end of the email is my document preamble if it helps to
>solve the problem.
>    \usepackage[sort&compress]{natbib}
>    \usepackage{babel}
>    \usepackage[sumlimits]{amsmath} % AMS-LaTeX
>    \usepackage{a4}
>    \usepackage{fancyhdr}  % fancyheadings
>    \pagestyle{fancyplain}
>\newif\ifpdf % Check for the existence of the variable \pdfoutput:
>\pdffalse % we are not running PDFLaTeX
>\pdfoutput=1 % we are running PDFLaTeX
>\fi \ifpdf % Then use your new variable \ifpdf
>     \usepackage[pdftex]{graphicx}
>     \pdfcompresslevel=9
>   \addtolength{\headwidth}{\marginparsep}
>   \addtolength{\headwidth}{\marginparwidth} \vsize=4.4in
>   \pdfpagewidth=210mm    % page width of PDF output
>   \pdfpageheight=297mm   % page height of PDF output
>     \usepackage[T1]{fontenc}
>     \usepackage[ansinew]{inputenc}
>     \usepackage{srcltx}
>     \usepackage{graphicx}
>Jörg Spanke
>Institut für Spektrochemie und angewandte Spektroskopie
>Bunsen-Kirchhoff Str. 11
>44139 Dortmund
>Tel. +49-231-1392-212
>Fax. +49-231-1392-120
>email spanke at isas-dortmund.de
>pdftex mailing list
>pdftex at tug.org

Y&Y, Inc. Support  mailto:support at YandY.com  http://www.YandY.com  (MT)

More information about the pdftex mailing list