I've written the following code TeXShop and typesetting using XeLaTeX:
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{fontspec}\begin{document}\fontspec[BoldFont=Helvetica Neue]{Helvetica Neue Light} The final \emph{word} of this sentence is \textbf {bold}\end{document}
Code: Select all
This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)%&-line parsing enabled.entering extended mode(./Untitled.texLaTeX2e <2005/12/01>Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek, ibycus, arabic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, monogreek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, latin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.clsDocument Class: article 2005/09/16 v1.4f Standard LaTeX document class(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo))(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.sty(/usr/local/texlive/2008/texmf-dist/tex/generic/ifxetex/ifxetex.sty)(/usr/local/texlive/2008/texmf-dist/tex/latex/tools/calc.sty)(/usr/local/texlive/2008/texmf-dist/tex/latex/xkeyval/xkeyval.sty(/usr/local/texlive/2008/texmf-dist/tex/generic/xkeyval/xkeyval.tex(/usr/local/texlive/2008/texmf-dist/tex/generic/xkeyval/keyval.tex)))(/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1enc.def)(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1lmr.fd))fontspec.cfg loaded.(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))(./Untitled.aux) [1] (./Untitled.aux) )Output written on Untitled.pdf (1 page).Transcript written on Untitled.log.