[pdftex] Degree Celsius

Jörg Spanke spanke at isas-dortmund.de
Thu Apr 19 13:38:01 CEST 2001


Hi,
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?

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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the pdftex mailing list