[XeTeX] Superscript and Small Caps problem
Karljurgen Feuerherm
kfeuerherm at wlu.ca
Thu Aug 18 17:05:22 CEST 2011
Hello,
The minimal example below works as written. However, when I change the
main font to Linux Libertine, the 'lú' no longer superscripts, and if I
change the sans serif font to Linux Biolinum, the h-breve isn't small
capped (uppercase h-breve is in the font). OS X Lion and have updated to
MacTex 2011....
Can anyone tell me why this might be, and how to fix it?
Thanks!
K
----
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage{fontspec,xltxtra,xunicode}
\usepackage{geometry}
\geometry{letterpaper}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont [Ligatures={Common}]{Times New Roman}%Want Linux
Libertine
\setsansfont[Scale=MatchLowercase]{Charis SIL}%Want Linux Biolinum
\newcommand{\smn}[1]{{\sffamily\scshape#1}}
\newcommand{\dtm}[1]{{\textsuperscript{\sffamily#1}}}
\begin{document}
Fisher is \dtm{lú}\smn{šu-ḫa}
\end{document}
Karljürgen G. Feuerherm, PhD
Undergraduate Advisor
Department of Archaeology and Classical Studies
Wilfrid Laurier University
75 University Avenue West
Waterloo, Ontario N2L 3C5
Tel. (519) 884-1970 x3193
Fax (519) 883-0991 (ATTN Arch. & Classics)
More information about the XeTeX
mailing list