[texhax] A font problem

Ulrike Fischer news3 at nililand.de
Tue Sep 12 15:31:30 CEST 2017


Am Tue, 12 Sep 2017 17:06:36 +0530 schrieb Vasudevan KS:


> \documentclass[12pt]{article}
> \usepackage{times}
> \begin{document}
> 
> \texttt{\detokenize{^~}}
> 
> \end{document}
> 
> is not producing the same reuslt.

Well is it another font (courier) but beside this it looks okay for
me. What exactly is your problem?

If you don't want to change the ttfont, use e.g.
\usepackage{mathptmx} or \usepackage{tgtermes} instead of times.

 
> If I compile this
> 
> \documentclass[12pt]{article}
> \usepackage{times}
> \begin{document}
> 
> `'
> \begin{verbatim}
> `'
> \end{verbatim}
> \end{document}
> 
> using
> 
> pdflatex filename.tex
> 
> and open the pdf file, then ` and ' will not look like the characters
> we see in a text file.
> Can tell me what I should do, so that ` and ' will like the characters
> we see in a text file.

For the verbatim try \usepackage{upquote}.


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the texhax mailing list