I have a style file I used for a project in pre-Unicode age. Now I want to convert it for use in XeTeX. I used Computer Modern and now would like to use CMU Serif. Pointers on what to do with the following block of code will be much appreciated.

\font\BIG=cmr17         %for titlepages
%\font\mid=cmr12 scaled\magstep1
\font\ninesc=cmcsc9     %for headers
\font\bfxiv=cmbx12 scaled \magstep1

%              \def\itbf{\eightitbf}%
  • 1
    Welcome to TeX.SX! The most important aspect is whether you're using accents in your text.
    – egreg
    Sep 3 '15 at 10:44
  • Yes, my text contains many accents. I believe the version of CMU Serif I am using has been doctored to accommodated most of the diacritics that I need. (I work on Vedic Sanskrit.) Sep 3 '15 at 13:29
  • If you don't use the “old commands” such as \' or \., but always Unicode characters, there should be no problem
    – egreg
    Sep 3 '15 at 13:39

I won't convert every of your commands but three typical can be done like this

\font\BIG="CMU Serif" at 17pt 
\BIG blablb

\font\sc="CMU Serif:+smcp"
\sc Blabla

\font\itbf="CMU Serif/BI"

enter image description here

You can find some information about the various font settings in xetex-reference.pdf

  • Thanks you. This is a great start. I'll try to take it from here. Sep 3 '15 at 13:30

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.