[pdftex] Degree Celsius

Bill Smith wsmith at msnet.mathstat.uoguelph.ca
Thu Apr 19 11:41:23 CEST 2001


I don't use fontenc or ansinew, simply

\"{o}
$^{\circ}$

The Greek letter problem sounds strange,


On 19 Apr 2001, at 12:38, Jörg Spanke wrote:

> 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
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> _______________________________________________
> pdftex mailing list
> pdftex at tug.org
> http://tug.org/mailman/listinfo/pdftex



Best Regards,


W. R. Smith, Professor
Dept. of Mathematics and Statistics and School of Engineering
Room 546 MacNaughton Building
University of Guelph
Stone Road and Gordon Streets
Guelph, Ontario, CANADA N1G 2W1
Tel: 519-824-4120, ext. 3038; FAX: 519-837-0221; 
http://www.mathstat.uoguelph.ca/faculty/smith/



More information about the pdftex mailing list