{fontspec} is a package for loading {opentype} fonts in XeLaTeX and LuaLaTeX.
4
votes
0answers
170 views
Is this a fontspec bug or a font bug [duplicate]
Possible Duplicate:
Lining numbers not working in certain fonts
I want to use the OpenType features of the Calibri font, but things are getting weird here! I am using LuaLaTeX from the ...
3
votes
3answers
243 views
Tweaking numeral height (and baseline)
I am using the Computer Modern Unicode Bright font, in the OpenType version (see http://cm-unicode.sourceforge.net or http://www.ctan.org/tex-archive/fonts/cm-unicode) in a XeLaTeX-compiled document. ...
3
votes
2answers
505 views
Set section and subsection header to ttf font in KOMA-script
I'd like to set a custom font I acquired for all section and subsection headers in a scratcl paper I'm writing. It's a ttf and installed correctly on my Mac.
I know about \setkomafont and ...
3
votes
2answers
128 views
Why does using Greek break em-dashes?
I know the conversion of --- to an em-dash is an on-going problem with lualatex. But I don't understand why using Greek in one font should (afterwards) break conversion of 3 hyphens to an em-dash in ...
3
votes
2answers
114 views
Does XeLaTeX automatically select optical sizes for a given font, if available?
I've been intrigued by a great feature of XeLaTeX (perhaps it was already a feature of (La)TeX) for a long time -- its ability to automatically select the appropriate optical size of a font for a ...
3
votes
3answers
1k views
Math symbols not showing while using fontspec
Math, symbols are not showing when i am using the fontspec package. Here i paste the command and output please tell me as to how i can rectify this.
Command:
\documentclass[10pt,amssymb]{revtex4}
...
3
votes
2answers
2k views
How do I change the math italic font in XeTeX/fontspec?
I have a document where the main font is Gotham Book. So in my preamble I have:
\usepackage{fontspec}
\setmainfont{Gotham Book}
As the fontspec manual describes, this sets the math roman font to ...
3
votes
3answers
1k views
LuaLaTeX: use System font Monaco on Mac OS X
I'd like to use the Mac OS X (.dfont) Monaco with LuaLaTeX. With this input file
\documentclass{article}
\usepackage{fontspec}
\setmonofont{Monaco}
\begin{document}
\begin{verbatim}
foo
...
3
votes
1answer
160 views
xetex - myriad pro - want “bold” but not “bold condensed” font
Situation: I've got Myriad Pro included in xetex via:
\setmainfont[Mapping=tex-text]{Myriad Pro}
But when I use
\textbf{this is a test}
and see the result in Acrobat, I can see that I've gotten ...
3
votes
1answer
166 views
Does lualatex embed fonts for compatibility?
I am using fonts installed on my computer in LaTeX document as
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\fontx{Ubuntu}
\begin{document}
The default font
{\fontx New font}
The ...
3
votes
2answers
267 views
How can I use ucharclasses to change the font for a special script and then restore to what it was before?
I would like to change the font in XeLaTeX when I enter a new Unicode block with a certain Script (e.g. Devanagari for Hindi languages). The ucharclasses package seems to do exactly that.
However, ...
3
votes
2answers
2k views
XeTeX not working on Ubuntu 10.04?
When trying to compile a LaTeX document in Ubuntu 10.04 with xelatex I get the following error message:
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
restricted \write18 ...
3
votes
1answer
171 views
Graphite features (Chinese Pinyin and low diacritics) on Gentium Plus
I'm trying to activate the Graphite features on Gentium Plus (Chinese Pinyin tone marks + low diacritics). This is my minimal example:
\documentclass[utf8,12pt,letterpaper]{article}
...
3
votes
1answer
180 views
mathspec selects the wrong math font
I am trying to use DejaVu Sans Light as a math font. It doesn't have a comprehensive set of math characters, but it has what I need (Roman numerals, beta, gamma, epsilon, and just a few other ...
3
votes
1answer
130 views
Backquote in Arial font
Is there a workaround for the ugly backquote in the Arial font?
For example, running xelatex on the following:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Arial}
\begin{document}
...
3
votes
1answer
527 views
Open Type Fonts have different scale in XeLaTeX
I am trying to create a template that allows easy switching of the main font using fontspec. I have noticed that the size of different fonts varies greatly, as the picture below illustrates. If we ...
3
votes
1answer
2k views
XeLaTeX ttf font support
Watertank is some ttf font that I got from one of those cheap fonts CDs. I know it is installed in my system because I can use it in other programs; but when I use it in XeLaTeX (which works with ...
3
votes
2answers
3k views
Problems with fontspec and titlesec packages
I've been trying to create a CV template by following the tutorial from here.
Here's the latex code I used
\documentclass[a4paper,10pt]{article}
%A Few Useful Packages
\usepackage{marvosym}
...
3
votes
2answers
186 views
Where is fontspec.cfg?
I'd like to write \let\newfontinstance=\newfontfamily in fontspec.cfg, but I cannot find that.
May I please know where I can find it?
Thank you!
3
votes
1answer
109 views
Font Size Conversion
I am writing a document that is supposed to be typeset in Time New Roman or equivalent. The problem I have is that 12pt in font A is not the same as 12pt in font B. So is there a conversion table of ...
3
votes
1answer
176 views
Best way to use Linux Biolinum Keyboard with fontspec?
I am trying to typeset keyboard shortcuts in my document, e.g. "CTRL + SHIFT + S". The Linux Libertine font family includes a nice keyboard font that I would like to use. What's the best way to use it ...
3
votes
1answer
154 views
Scaling problem with fontspec package and \footnote.
footnote does not scale properly with using fontspec. Any idea how to solve this problem? Already tried realscripts and xltxtra but no luck.
Thanks,
\documentclass[12pt]{article}
...
3
votes
1answer
412 views
fontspec + package “accents” (bezos) = “! LaTeX Error: Command `\acute' already defined.”
I am trying to define the "less-than" Symbol "<" as a math-accent via the "accents" package of Javier Bezos.
\documentclass{minimal}
\usepackage{fontspec}
\usepackage{accents}
\begin{document}
...
3
votes
1answer
385 views
XeLaTeX: System font for headers only?
I know that you can use \setmainfont for normal text but is there any command that will apply a font only to headers (chapters, sections, subsections)?
3
votes
1answer
151 views
Multiple math fonts in classicalthesis
I've already written more than the half of certain text using classicthesis.sty.
I love the font I'm working with (whatever its name: Palatino?) but I just realized that I have to use $\Upsilon$ and, ...
3
votes
1answer
218 views
MiKTeX portable fontconfig file location configuration
I moved MiKTeX portable to another directory, and after that there are issues with loading fontconfig. Specifically, when compiling with xelatex, fontconfig cannot be loaded. Its location is ...
3
votes
2answers
525 views
LyX and mathspec gives fontspec error, unicode-math no better
I get the following error message whenever using mathspec in LyX
...Package[\eu@zf@math]{fontspec}[2008/08/09]
The package fontspec has already been loaded with options: [] There has now been
an ...
3
votes
1answer
178 views
Font portability between platforms? Windows/Linux
If I first work in Windows environment then move to Linux, do I just copy all the fonts in the Windows system font folder into the Linux system font folder?
I'll be using xelatex and fontspec.
3
votes
1answer
922 views
XeTeX, fontspec and Garamond
I've got the opportunity to play with a machine with some premium fonts installed. I ran some experiments with XeTeX and e.g. Palatino Linotype, which worked, but for some reason cyrillic breaks with ...
3
votes
1answer
468 views
How to achieve different formats for label and text in a subsection heading using titlesec
How to get a different formatting for the label and text of a subsection using titlesec?
Reason: Italic numbers in the subsection heading hurts my eyes and should be avoided at all cost, Label of the ...
3
votes
1answer
369 views
fontspec and \color
Compiling the following example (with xelatex or lualatex), I would expect to get violet letters abc:
\documentclass{article}
\usepackage{xcolor}
\usepackage{fontspec}
\setmainfont{Verdana}
...
3
votes
1answer
66 views
Changing the Greek math font with mathspec
I've recently changed from pdftex to xetex to be able to write documents in Bembo Std but I'm not quite there yet. While trying to typeset some notes from one of my classes, I tried to typeset Greek ...
3
votes
1answer
180 views
How to set lining numbers in math in Beamer (with EB Garamond) under XeLaTeX
I'm using EB Garamond with XeLaTeX and Beamer as follows. (I'm not actually sure whether it's all necessary--advice accepted.):
\usepackage[T1]{fontenc} % not sure why
...
3
votes
1answer
114 views
Lao, Vowels, XeLaTeX, fontspec
Can anyone see an error here?
I'm using \newfontfamily{\L}[Script=Lao]{Lao Sangam MN} to switch to Lao, then using \L{ວຽງຈັນ}, but getting ວຽງຈ ັນ in the PDF. No luck in other fonts (all ...
3
votes
1answer
247 views
Fontspec setmonofont line spacing
I am currently using using fontspec to set the mono-space font for my document using
\setmonofont[Scale=MatchLowercase]{Monaco}
The scaling is used to get the font size to match the rest of the ...
3
votes
1answer
338 views
How to install and use the key fonts for a TI-Calculator in pdflatex or xelatex
This answer http://tex.stackexchange.com/a/37550/4011 suggested that it should be possible to install a font which enables one to typeset the keys of a TI-calculator.
Now my question is, how to ...
3
votes
1answer
227 views
What does this warning “** WARNING ** TrueType post table name index 32768 > 32767” mean?
I'm new to TeX and trying to compile this code:
\documentclass{article}
\usepackage{xeCJK}
\setCJKmainfont{WenQuanYi Zen Hei Mono}
\begin{document}
你好,\TeX!
\end{document}
I get the pdf fine, but ...
3
votes
1answer
398 views
Font mixup with Neo Euler and Fontspec
For my document I would like to use Linux Libertine as main font and Neo Euler as maths font. However, there seems to be some conflict with the code I am using. Here is a MWE and its output:
...
3
votes
2answers
382 views
Linux Libertine Initials break emph
Loading the Linux Libertine Initials font breaks the emph command, even if the font is not used:
\documentclass{scrartcl}
...
3
votes
1answer
422 views
OpenType Kerkis and bold Small Caps with greek
Kerkis font is an OpenType font that has Greek glyphs Small Caps both for regular and bold shapes. The names of the OTF files are KerkisSmallCaps.otf and KerkisSmallCaps-Bold.otf.
When I compile the ...
3
votes
1answer
21 views
How do I use kpfonts with fontspec?
Is there a way to use kpfonts with fontspec ?
The math font is correctly used but just loading the kpfonts package is not enough for the text. If I add the \setmainfont line (see example) the kp font ...
3
votes
2answers
56 views
List renders incorrectly
In output of following LaTeX markup, the list is rendered incorrectly. What is wrong with it?
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\faFont[Script=Arabic]{Tahoma}
...
3
votes
1answer
59 views
How to catch missing font error and use another font?
I write a TeX-document on two PCs, the files are transferred via USB-Stick.
The document should be printed with a specific font.
For legal reaons the font is only available on one PC.
When I ...
3
votes
1answer
215 views
Reproducing Foreign Affairs Magazine's Style
I wanted to reproduce (or get something close to) the style the Foreign Affairs magazine uses (link to a sample article below) using fontspec and XeLaTeX. Right off the bat I don't know what their ...
3
votes
1answer
248 views
How can I use fontspec to set a sans heading font with mathdesign
I like the mathdesign package, but would like to use Myriad Pro section headings in LuaLaTeX. Is this possible, or do I have to convert an OTF font to T1? (My ignorance of font issues in *TeX is ...
3
votes
2answers
1k views
fontspec error: “font-not-found” on Mac OS X
I need to use some system fonts in my document, and I use fontspec and XeLaTeX to do so. I find the font name from fc-list, but when I compile it with XeLaTeX, there's a fontspec error:
...
3
votes
2answers
82 views
Physymb not working with fontspec unless a different font is loaded not via fontspec
I am having trouble using the physymb and fontspec packages together. When I compile using PDFLaTeX, everything works, even with the lmodern package. However, when I compile with XeLaTeX, it does not ...
3
votes
1answer
639 views
XeLaTeX on Mac OSX: Using User Fonts
I recently started using XeLaTeX on Mac OSX, and was not able to get XeLaTeX to recognize the fonts that I had installed. After opening Font Book, bringing up the Preferences dialog, and opting to ...
3
votes
1answer
209 views
New fontspec key/value pairs syntax?
I updated the packages in my TexLive distribution earlier today and noticed that one line of code in my project no longer worked properly, namely the one I used to set the fake options for my ...
3
votes
1answer
266 views
fontspec for small caps and nocommon ligatures (actually, rawfeatures works, but not ligatures=NoCommon)
(This is a bit of a mess, so apologies. The final solution ended up being in a different place than I first expected. Ultimately, what was happening is a combination of a bug in Linux Libertine O, and ...


