Entries tagged as latex

C.Hermann's work blog

  • Home
  • Blog
  • Gallery

Quicksearch

recent entries

Enabling the pen in Acrobat 6 via Keyboard Shortcut
Monday, June 25 2007
Opentype Fonts with Latex using xetex
Thursday, June 21 2007
"Installing" Lecturnity under Linux
Monday, April 2 2007
Bird of prey visiting Building 51
Wednesday, February 28 2007
Khaireels Joke of the Day
Wednesday, February 14 2007

Static Pages

Frontpage
Courses
Advanced Topics in Algorithms and Data Structures
Sommercampus
Sommercampus2006
Conferences
Multikonferenz Wirtschaftsinformatik
Course Evaluation
Course Evaluation WS2005/2006
Course Evaluation SS2006
Administration
Informations for Graduates
Informations for Students/Hiwis
The eLecture-Portal
eLecture-Passwords
Stuff
Logos
Security
Tips and Tricks
Cocoon I18N Tool
Contact Form

Archives

  • November 2009
  • October 2009
  • September 2009
  • Recent...
  • Older...

Blog Administration

Open login screen

Calendar

Back November '09
Mon Tue Wed Thu Fri Sat Sun
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

Gallery

ERROR: The HTTP server returned the error or the warning(result:404).

Categories

  • XML AD-Staff
  • XML Administration
  • XML Courses
  • XML Fotos
  • XML Students
  • XML Study
  • XML Stuff
  • XML Fun Mails
  • XML Khaireels Jokes


All categories

Related tags
opentype font opentype truetype stuff xetex

Thursday, June 21. 2007

Opentype Fonts with Latex using xetex

With xetex you can easily use Opentype fonts in latex. There is no need for any conversion or anything, xetex can use any of the fonts you installed on your system (works fine unter linux) even if its opentype fonts that are not postscript, but truetype flavored. Unter Gentoo Linux you just install app-text/xetex (additionally to tetex) and thats it!
% Load fontspec package to easily use fonts
\usepackage{fontspec}
% set fonts
\fontspec[BoldFont={Textra LT Com}, BoldFeatures={Weight=1.4}]{Textra LT Com}
\setromanfont{Textra LT Com}
%\setsansfont{Textra LT Com}
%\setmonofont{Textra LT Com}
Inserting this makes the default font "Textra LT Com" (you can find out this name with fc-list). Then you can run xelatex (i.e. "xelatex myfile" if your tex file is called myfile.tex) on the File and it will result in a pdf nicely formatted using your font. [Update 2007-06-21]: If you upgraded freetype to Version >2.1.10-r3 (media-libs/freetype-2.1.10-r3) this might break the opentype/xetex support. So just downgrade to 2.1.10-r3 and everything should be fine again.
emerge -av =media-libs/freetype-2.1.10-r3
[Update 2007-07-23]: Make sure you also mask freetype packages > this Version, else the next upgrade will break it again ;-)
grep freetype /etc/portage/package.mask
>media-libs/freetype-2.1.10-r3
Opentype Fonts with Latex using xetex Posted by Christoph Hermann in Stuff at 18:51
Comments (0) Trackbacks (353)
Vote for articles fresher than 7 days!
Current karma: none, 0 vote(s) 40048 hits
Defined tags for this entry: latex, opentype font, opentype truetype, stuff, xetex
« previous page   (Page 1 of 1, totaling 1 entries)   next page »
Frontpage
 
© 2006 Christoph Hermann backup-script, no real image