4

Let me get to the point:

\documentclass[11pt]{article}
\newlength\longest
\usepackage{fontspec}
\setmainfont{Times New Roman}
\begin{document}
\settowidth\longest{\huge\itshape just as his inclination leads him;}
\begin{flushright}{
\parbox{\longest}{%
  {\huge\itshape%
 \begin{flushright}
  Influenza is something unique. It behaves epidemiologically in a way different from that of any other known infection.
 \end{flushright}\par\bigskip
  }   
  \raggedleft\Large\textsc{Sir Christopher Howard Andrewes}\par%
}}\end{flushright}
\end{document}

the \textsc won't make "Margaret Chan" in small caps, though... Can anyone help me?

Extra note: pretty convinced of it that Times New Roman supports small caps ;)

8

Times New Roman doesn't come with small caps, if you look in the log file you will see a message to that effect. You can provide small caps from a similar font as follows:

\setmainfont[SmallCapsFont={TeX Gyre Termes},
  SmallCapsFeatures={Letters=SmallCaps}]{Times New Roman}

Sample output

\documentclass[11pt]{article}
\newlength\longest
\usepackage{fontspec}
\setmainfont[SmallCapsFont={TeX Gyre Termes},
  SmallCapsFeatures={Letters=SmallCaps}]{Times New Roman}
\begin{document}

\settowidth\longest{\huge\itshape just as his inclination leads him;}

\begin{flushright}{
  \parbox{\longest}{%
  {\huge\itshape%
  \begin{flushright}
    Influenza is something unique. It behaves epidemiologically in a
    way different from that of any other known infection.  
  \end{flushright}
  \par\bigskip
  }
  \raggedleft\Large\textsc{Sir Christopher Howard Andrewes}\par%
  }}
\end{flushright}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.