[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}
>\usepackage[ansinew]{inputenc}
>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.
>
>Jörg
>
>\documentclass[a4paper,12pt,german]{article}
>    \usepackage[sort&compress]{natbib}
>    \usepackage{babel}
>    \usepackage[sumlimits]{amsmath} % AMS-LaTeX
>    \usepackage{a4}
>    \usepackage{fancyhdr}  % fancyheadings
>    \pagestyle{fancyplain}
>
>
>\renewcommand{\familydefault}{cmr}
>\newif\ifpdf % Check for the existence of the variable \pdfoutput:
>\ifx\pdfoutput\undefined
>\pdffalse % we are not running PDFLaTeX
>\else
>\pdfoutput=1 % we are running PDFLaTeX
>\pdftrue
>
>\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
>
>\else
>     \usepackage[T1]{fontenc}
>     \usepackage[ansinew]{inputenc}
>     \usepackage{srcltx}
>     \usepackage{graphicx}
>\fi
>
>
>
>
>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>Jörg Spanke
>Institut für Spektrochemie und angewandte Spektroskopie
>Bunsen-Kirchhoff Str. 11
>44139 Dortmund
>Germany
>
>Tel. +49-231-1392-212
>Fax. +49-231-1392-120
>email spanke at isas-dortmund.de
>
>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>_______________________________________________
>pdftex mailing list
>pdftex at tug.org
>http://tug.org/mailman/listinfo/pdftex

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





More information about the pdftex mailing list