{fontspec} is a package for loading {opentype} fonts in XeLaTeX and LuaLaTeX.

learn more… | top users | synonyms

3
votes
1answer
93 views

Accessing special glyphs in a font with xeLaTeX

The Palatino Sans Family contains a special font for arrows that I'd like to use from xeLaTeX. The Windows font preview shows examples using the German sentence "Franz jagt im komplett verwahrlosten ...
15
votes
0answers
560 views

Letterspacing/font expansion in LuaLaTeX

I am a few months into learning LaTeX. I would like to use microtype with LuaLaTeX and I would like to obtain letter spacing for my smallcaps. I've tried to follow some of the threads on the subject ...
10
votes
0answers
72 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
10
votes
0answers
124 views

Why does fake slant only seem to work after italics has been used?

Based on this question, can someone explain this behavior: \documentclass{article} \usepackage{fontspec} \setmainfont[ SlantedFont={Linux Libertine O}, SlantedFeatures={FakeSlant=0.30}, ...
7
votes
0answers
341 views

Is LuaLaTeX producing faulty pdfs?

If I compile the following minimal code with LuaLaTeX I seem to get a faulty pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} text \end{document} ...
5
votes
0answers
81 views

Fine-tuning letter space for small caps with fontspec

I'd like to have different settings for small caps letter space as a function of font size by using the appropriate fontspec settings when the compilation is done over XeLaTeX. So far I haven't been ...
5
votes
0answers
159 views

TeX Gyre fonts in XeLaTeX and LuaLaTeX: call by name or file name?

Is there any downside of using file names with \setmainfont, except for the fact that it takes more typing? I ask because I am experiencing problems with using names for TeX Gyre fonts on my Linux ...
5
votes
0answers
315 views

Outline text using TrueType fonts

I'd like to write outlined text. Here is a minimal example, what I'd like to achieve. \documentclass[a4paper]{minimal} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} ...
4
votes
0answers
114 views

Optical weight selection with fontspec

I'm using LuaTeX version 0.76 and fontspec version 2.3c. I have the full family of MinionPro, but fontspec seems not to choose the appropriate optical weight. While it works for the roman font of ...
4
votes
0answers
83 views

current font family using fontspec

I'm trying to emulate the behaviour of a [pdf]LaTeX package that provides commands \lstyle, \ostyle, \tstyle, and \pstyle to activate lining, oldstyle, tabular and proportional figures, respectively. ...
4
votes
0answers
119 views

Using specific font for the equation in XeLaTex

I want to use a specific font for a specific formula in XeLaTeX. Usually, the math font can be set up using mathspec package. \usepackage{mathspec} ...
4
votes
0answers
167 views

unicode-math and oldstyle figures

I'm trying to find a good way to archive the following using fontspec, unicode-math and lualatex: almost global oldstyle figures including inline math lining numbers for displayed equations, e.g. ...
4
votes
0answers
271 views

using a Postscript Type 1 font with fontspec and LuaLaTex on MacOSX

I am having trouble using SabonLT which is a Postscript Type 1 Outline font. I have the font installed as a system font (as described here) rather than a local font. I'm running LuaLaTex on Mac OSX. ...
3
votes
0answers
49 views

fontspec: Configuring project-local opticals font

I absolute adore Adobe's Garamond Premier Pro (the full set of opticals). In normal circumstances, I can just use it with \setmainfont{Garamond Premier Pro} when I'm working on my desktop, or laptop. ...
3
votes
0answers
48 views

Skip \setsansfont if the font is not available

Is there a way to make \setsansfont conditional on the font being available, or to skip over that line if it gives an error? I'm using fontspec with XeLaTeX to use the TeX Gyre Heros font for a ...
3
votes
0answers
103 views

Side bearings of Minion Pro quotes

I'm using Minion Pro with XeLaTeX. However, quotes are much too tight. I know the MinionPro package, for use with LaTeX, has a loosequotes option which slightly increases the side bearings of the ...
2
votes
0answers
75 views

generating combining characters in LuaLaTeX with Garamond Premr Pro

I'm trying to produce the œ́ character using Garamond Premier Pro in LuaLaTeX. I'm using fontspec in TeXLive 2012 to load the font. I seem to recall having had success doing this rather easily with a ...
2
votes
0answers
54 views

Spacing problem with microtype and Hoefler Text under xelatex

I'm seeing an odd spacing problem with microtype and Hoefler Text under XeLaTeX. A minimal example is provided below. When typeset with xelatex, the word "he" and the emphasized word "ought" overlap ...
2
votes
0answers
264 views

XeLaTeX with fontspec not recognizing ANY fonts on a windows platform (with miktex)

Getting the message: font-not-found see fontspec documentation. I'm using cls file abbreviated at the bottom of this page whose origin is latextemplates.com/template/friggeri-resume-cv. I've tried all ...
2
votes
0answers
29 views

\IfFontFeatureActive not working

In an answer to querying whether a font feature has been activated via a fontspec command there are definitions of \IfFontFeatureExists and \IfFontFeatureActive. I'm not getting reliable results for ...
2
votes
0answers
144 views

XeLaTeX Bad/Inconsistent Kerning

I'm running xubuntu 12.04.3 LTS with tex-full 2013 package. The kerning is terrible. For example, I have fonts-linuxlibertine 5.3.0 installed, latest and greatest; when I compile using XeLaTeX, both ...
2
votes
0answers
133 views

Having Problem using math environment in LuaLaTeX

I am at learning stage of LaTeX. While working with lualatex with fontspec package, i am not being able to use any math environment. My document's preamble: \documentclass[a4paper, 14pt]{memoir} % ...
2
votes
0answers
245 views

Fontspec: Select minionpro font from local folder

I have the Minionpro Font files in the same directory as the master LaTeX file. When compiling, the path to the MinionPro fonts folder would be ../minion/ containing: ./MinionPro-Bold.otf ...
2
votes
0answers
182 views

Why is my regular font garbled but \emph and \textbf fine?

I'm trying to format a document following my organization's style guide. I'm using XeLaTeX for the font flexibility. I made a minimal document \documentclass{article} \usepackage{xltxtra} %% For ...
2
votes
0answers
79 views

Ferial class option of evweek does not work with fontspec

I am trying to produce a two page weekly calendar using package evweek with the class option ferial. The following file works fine: \documentclass[a4paper,ferial]{evweek} ...
2
votes
0answers
173 views

xelatex select local math font

The problem I am facing is that I am typesetting with MinionPro-Regular.otf as the main font and MinionPro-Cn.otf for the captions. However I have to declare only one math font for the whole document, ...
1
vote
0answers
62 views

Parentheses and square brackets contextually in small caps

In a book publication I use references in parentheses with an open type font. The references are set in small caps (both letters and numbers): % xelatex xetex 0.9999 texlive 2013 windows ...
1
vote
0answers
101 views

Small caps in fontspec on XeLaTeX

I'm trying to typeset my document with Times with XeLaTeX. Because Times does not include small caps, I want to use TeX Gyre Termes only for small caps. I tried this method, but it didn't work. A ...
1
vote
0answers
37 views

fontspec error using xepersian package!

when i want to use the xepersianpackage, in pdfLatex, i have the error: Fatal fontspec error: "cannot-use-pdftex" ! ! The fontspec package requires either XeTeX or LuaTeX to function. ! ! You must ...
1
vote
0answers
70 views

which texlive package has times new roman for xelatex

I have following in my latex header: \usepackage{fontspec} \setmainfont[Mapping=tex-text]{Times New Roman} This results in "font not found" error when compiled with xetex. I installed all packages ...
1
vote
0answers
165 views

Font not found error fontspec using WinEdt in Windows

I'm trying to compile a document and (as usual) I'm getting stuck with the fontspec package. These are the only lines of code that I are giving me grief. \RequirePackage[T1]{fontenc} ...
1
vote
0answers
99 views

Modifying moderncv to look like an example cv

I would like to create a cv with moderncv like the example below. I have set my fontsize to 10pt but the letters in this cv seem smaller. Furthermore the dates look awesome but I cannot achieve the ...
1
vote
0answers
76 views

Is it possible to use `lualatex`'s DVI output with `fontspec` without getting font-related errors?

Is it possible to use lualatex's DVI output with fontspec without getting font-related errors? I want to use the (eps-based) output of sagetex with a lualatex generated document with fontspec. As ...
1
vote
0answers
116 views

XeLaTeX fonts don't work well on Windows?

I have recently downloaded the template for a CV from http://www.latextemplates.com/template/plasmati-graduate-cv. It is supposed to be compiled using XeLaTeX, with previous installation of the Fontin ...
1
vote
0answers
100 views

Problem with XeLaTeX xdv2pdf mode and font compilation

I recently upgraded to TexLive2013 (Basic) and this broke the setup I use for letters of recommendation. I need to use a legacy university font which requires XeLaTeX in the mode xdv2pdf. MWE is below ...
1
vote
0answers
588 views

XeLaTeX/LuaLaTeX + fontspec “font-not-found” in CV template

I am trying to compile a CV template using XeLateX. I have always used Pdflatex, so I created a XeLaTeX command as described here: Use XeLaTeX in Texmaker instead of pdfLaTeX. I then downloaded the ...
1
vote
0answers
112 views

Fontspec package makes font weird compiling with XeLaTeX

I'm new to LaTeX. I'm using the 'fontspec' package and compiling the document with XeLaTeX (xetex), but when I use the package: \usepackage{fontspec} The font is all weird, not behaving like it ...
1
vote
0answers
163 views

Load font from package directory using fontspec

I'm working on a LaTeX package (in fact it is a document class) that I want to make available for others to install in their texmf directory. In this package I'm setting up a default configuration for ...
1
vote
0answers
315 views

How to assign distinct font, color and style to each sectioning environment of a document?

I am trying to compose with *TeX a document that looks like a GDR manual. Basically I need to set a different font, style and color for chapter, section, subsection and subsubsection labels. It is ...
0
votes
0answers
36 views

Issue with \bar accent and fontspec

Consider the following MWE: \documentclass[png,border=2pt]{standalone} \usepackage[no-math]{fontspec} \usepackage{sfmath} \begin{document} $\bar 1$ $\vec 1$ \end{document} This produces in ...
0
votes
0answers
62 views

\setmainfont uses features of previously defined \newfontfamily

I don't know what's wrong with this code. Shouldn't the output of the third text come in my main font, I mean SolaimanLipi? But it comes in \fancy font. Can someone tell me how to fix it? ...
0
votes
0answers
109 views

After updating to MacTeX 2013, font size and kerning of Monotype Corsiva are strange

I knew I probably shouldn't have upgraded, being not very experienced, I always have to wade through strange errors. However, this is really weird. Here's my example: %!TEX TS-program = lualatex ...
0
votes
0answers
164 views

Just want to know how to run this on texmaker?

\documentclass{article} \usepackage{arabxetex} \newfontfamily\arabicfont[Script=Arabic,Scale=1.0]{Scheherazade} \newfontfamily\urdufont[Script=Arabic,Scale=1.1]{Code2000} \begin{urdu}[novoc] ,ham ...