Re: Hoe kan XeLaTaX een apostrophe of single quote tonen?
Pander <[email protected]>
| Newsgroups | gmane.comp.tex.dutch |
|---|---|
| Message-ID | <[email protected]> |
On 2012-03-20 22:28, Wybo Dekker wrote: > On 2012-03-20 21:46, Pander wrote: >> Moet ik een >> minimaal voorbeeld aanleveren? > > dat is altijd de meest effectieve manier. Dan kunnen anderen het ook > snel even proberen. Zie ook de vergelijking met Inkscape :S _______________________________________________ TeX-NL mailing list [email protected] http://www.ntg.nl/cgi-bin/mailman/listinfo/tex-nl
test.pdf
(application/pdf, 6.5 KB) - not displayed
test.tex
(text/x-tex, 1 KB)
%!xelatex
\documentclass{memoir}
\usepackage[no-math,quiet]{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\usepackage[fontsize=10pt,baseline=\onelineskip,lines=42]{grid}
\setmainfont[Mapping=tex-text,Ligatures={Common}]{TeX Gyre Pagella}
\begin{document}
\noindent Hong Kong, People{\char"0D}s Republic of China\\
Hong Kong, People{\texttt{\char"0D}}s Republic of China\\
Hong Kong, People{\char"27}s Republic of China\\
Hong Kong, People{\textquotesingle}s Republic of China\\
Hong Kong, People's Republic of China\\
Hong Kong, People{\texttt{\char"27}}s Republic of China\\
too much horizontal spacing in last line :-(\\
\strut\\
Hong Kong, Peopl{\addfontfeature{LetterSpace=-15}e}{\texttt{\addfontfeature{LetterSpace=-15}\char"27}}s Republic of China\\
Hong Kong, Peopl{\addfontfeature{LetterSpace=-15}e}{\addfontfeature{LetterSpace=-15}\texttt{\char"27}}s Republic of China\\
Hong Kong, Peopl{\addfontfeature{LetterSpace=-15}e}{\texttt{\char"27}}s Republic of China\\
horizontal spacing before s not to be influenced :-(\\
\end{document}
Screenshot.png
(image/png, 109.2 KB) - not displayed