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

learn more… | top users | synonyms

3
votes
1answer
304 views

Fontspec with bibtex with accents give me a bug : “Missing \endcsname inserted. \char”

i try to get out of a 3 days trouble, hope for your help ! I just want to find my bibliography in my font without bug... I'm using \documentclass{scrbook}, & {Adobe Garamond Pro} font with ...
0
votes
0answers
108 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? ...
8
votes
2answers
617 views

First steps with LuaLaTeX and ttf fonts

I am just starting to use LuaLaTeX. Mainly because I want to use a ttf font for a presentation. My MWE looks like \documentclass{article} \usepackage{fontspec} ...
1
vote
1answer
105 views

Updating a font in fontspec

I want to implement all the LaTeX code mentioned in Showcase TeX Typography for TUG's Calendar. The implementation involves use of special fonts like Phaeton. I have installed it. But I don't get ...
2
votes
0answers
58 views

How to choose fonts with different optical sizes with fontspec [duplicate]

The font EB Garamond is a font that provides (at the moment two) different optical sizes. The fontspec package will automatically choose the appropriate optical size (cf. the manual under section ...
4
votes
2answers
113 views

How to debug LuaLaTeX no longer finding ttf font

I just updated texlive and now LuaLateX no longer finds two ttf fonts situated in the same folder as the .tex file. Before I updated it all worked fine. Clumsy as I am I was having a latexmk session ...
13
votes
3answers
592 views

Possible to use MnSymbol with LuaTex?

I want to use the Minion Pro font together with math symbols from MnSymbol (http://www.ctan.org/tex-archive/fonts/mnsymbol). Is this possible? It has already been discussed here -> ...
4
votes
0answers
164 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 ...
11
votes
2answers
282 views

How can I replace a character (zero)?

Is it possible to replace characters in pdflatex? I use the Minion Pro and Myriad Pro font and the zero looks like a small 'O'. I want to replace the zero by a zero with a dot or slash in the middle ...
3
votes
2answers
325 views

Fontspec, open type fonts, and lining figures

So here is the problem I have: I am using fontspec and a number of my fonts have lining figure only in the small caps font. So my question is how can I tell XeLaTeX that when it comes to numbers ...
2
votes
0answers
392 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 ...
1
vote
0answers
258 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} ...
20
votes
4answers
577 views

It doesn't hyphenate words ending with “—”

UPDATE Well. After a while, I decided to see again about this “problem”, and just discovered that in pdfLaTeX, using \usepackage[utf8]{inputenc} and the — (the unicode —, not the ligature ---) it ...
8
votes
1answer
224 views

Loading otf font as mathfont range using unicode-math

I'm trying to replace the letters in the math font so that it matches the main font. Curiously, this works for the italic version, yet not for bold and roman. Why is that? \documentclass{article} ...
6
votes
1answer
216 views

Fontspec demands ifpdf.sty?

I am using Arch Linux, but I installed TeX Live from the network, so that I can use tlmgr to install a minimal set of packages that I can add to as needed. Here is a .tex file: ...
5
votes
1answer
194 views

Can one kern math font euler.otf using lualatex and fontspec?

I am at it again... :) Using the http://github.com/khaledhosny/euler-otf/blob/master/euler.otf font, can one kern distance between T and P with Lualatex? Clearly, my attempt does not work... Could ...
10
votes
2answers
148 views

Use 'space' glyph from a font

Is there a way to globally (or in an environment) set the 'space' glyph as the interword space? I'm importing the OpenType font via fontspec which has a specially designed 'space' glyph that I want to ...
6
votes
1answer
109 views

How can you use both fontspec and xmpincl?

Is there a way to use both the fontspec and the xmpincl packages? Using PDFTeX returns Fatal fontspec error: "cannot-use-pdftex" The fontspec package requires either XeTeX or LuaTeX to ...
0
votes
0answers
208 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 ...
4
votes
1answer
154 views

The simplest way to input π in text mode (textual)?

What is the simplest way to input π in text mode if there is only this one greek letter in the whole English text? May be there is one line of code can make it. The following excellent example is ...
3
votes
1answer
123 views

Fontspec and Ligatures

I understand that if I typeset using Lualatex or Xelatex, and include the following in the preamble: \usepackage{fontspec} \setmainfont{XYZ} Then system-wide non-latex fonts can be used ...
6
votes
2answers
250 views

How to obtain proper justification with XeLaTeX and fontspec package?

I'm trying to obtain a justified paragraph with greek text using XeLaTeX and fontspec package, but there is always a word that exceed the right alignment. Note that with LaTex and the default greek ...
3
votes
2answers
226 views

How to change font without changing document font [duplicate]

Surely this is easy, but I'm just beginning. I've created a font and I want to change "My Words Here" without modifying the document font for the rest of the page. I'm sure I just have the syntax ...
1
vote
0answers
117 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 ...
3
votes
1answer
248 views

Small Caps Computer Modern Unicode problem

I want to use CMU with xelatex for my docs. Everything is working fine except small caps for greek letters. My input (code) \documentclass{article} \usepackage{xunicode,fontspec,xltxtra} ...
3
votes
1answer
100 views

NFSS-like selection of font weights using fontspec and xelatex

OK, so I have mastered fontspec to the extent that I can say \setromanfont[Mapping=tex-text,Ligatures=Common,Numbers=OldStyle]{Sabon LT Std} and indeed, for effect, I can say stuff like ...
4
votes
2answers
194 views

Fontspec warning : “rename-feature-not-exist”

I want to use Xepersian package. But I get this error while compiling with Xelatex. fontspec warning : "rename-feature-not-exist" Can some one help me with this? \documentclass{article} ...
7
votes
3answers
2k views

What is the best Math Font for use with Minion Pro font?

I have began using the Minion Pro series of fonts and compiling with XeLaTeX. However, despite the typeface changing, I still have the same CM Modern Math fonts. Do any of you have a good suggestion ...
2
votes
0answers
31 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 ...
4
votes
0answers
109 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. ...
1
vote
1answer
108 views

Cannot set lining numbers in footnotes with realscripts and Times New Roman font

Whereas loading the package realscripts will change the footnote markers to lining numbers in some fonts (cf. How to change footnote number style), it does not work with Times New Roman: ...
3
votes
2answers
135 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 ...
2
votes
2answers
223 views

Bold italics is hard to distinguish from italics

The aim of any special mathematical notation for a particular class of objects is to allow the reader immediately recognise objects of this class in expressions. For instance, the good old arrow ...
1
vote
0answers
140 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
1answer
133 views

How to use SciType font in LaTeX?

I saw a font with math support inside OTF glyphs. How to use it (with lualatex or xelatex for example)? Especially how to deal with stylistic sets with LaTex. Here is the link : SciType font ...
1
vote
1answer
126 views

XeTeX loads Lido STF incorrectly

This is a followup to Are the Lido STF font installation instructions up-to-date?. I have the Lido STF fonts installed as described there. I also have them installed in OpenType format in ...
0
votes
1answer
170 views

Use cmbright with unicode text under XeLaTeX

XeLaTeX has been my preferred LaTeX engine because it straightforwardly handles text in Unicode (UTF-8 encoding). I know this can be done using \usepackage[utf8]{inputenc} with other engines, too, but ...
3
votes
1answer
204 views

polyglossia & fontspec's script feature in 'setotherlanguage'

My fonts are able to give the wanted output. My fonts have both the Latin and Hebrew characteres, and even Greek needed. Is there any other way in which I can have the result wanted? Do I need the ...
2
votes
1answer
54 views

Extra line break and horizontal space at \begin{document}

I am trying to insert some text right at the beginning of the document with \AtBeginDocument while using lualatex and the fontspec package \documentclass{article} \AtBeginDocument{X} ...
2
votes
1answer
190 views

Latexmk and fontspec

I'm trying to use latexmk with XeLaTeX. When I type: latexmk.pl -xelatex -pvc -cd -auxdir=TeXAux myfile.tex it all works fine. However I would like to use switches with XeLaTeX, such as ...
5
votes
2answers
3k views

Change default font size while using fontspec

I'd like to set the main font size (i.e. all text which isn't a heading or something else with an explicit font size) to a particular font size, in this case, 9.5pt. I can't use the default package ...
1
vote
0answers
220 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 ...
10
votes
1answer
208 views

Accessing user-selectable features in GentiumPlus in XeLaTeX/LuaLaTeX

Specifically, the combination of f plus î in the italic ends up with the upper curl of the f smashed into the peak of the circumflex (other fonts have the same problem, but the result is even uglier). ...
6
votes
0answers
235 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 ...
22
votes
1answer
2k views

Lualatex (luaotfload) broke after upgrading to Mavericks

Ever since I upgraded to OS X Mavericks—post hoc ergo propter hoc—I can no longer compile my dissertation using LuaLaTeX. When running lualatex I first got the following error: luaotfload | db: ...
1
vote
0answers
145 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 ...
4
votes
1answer
97 views

LuaTeX error “table index is nil” loading Cinzel OTF font with fontspec [closed]

In a LuaLaTeX document I am creating with MiKTeX 2.9 64-bit (LuaTeX version beta-0.70.2-2012060719) in Windows 7, I get the following error: ! LuaTeX error ...)/MiKTeX ...
4
votes
1answer
251 views

XeLaTeX and Biber/BibLaTeX: switching font for cyrillic references

My main font unfortunately does not have support for Cyrillic script. Mixing it with Linux Libertine (which does have the required glyphs) works fine in the main text where I can simply switch the ...
2
votes
1answer
93 views

Alphabetic sorting fails in biblatex when defining characters with \newcommand

I'm citing an Icelandic guy whose last name has a first character Á (U+00C1). If I write his name in my bibliography with that character code (\char"00C1), the sorting works correctly. If, however, I ...
3
votes
2answers
89 views

Suppress character substitution in xetex

I have a situation where I need to place a combining ring above (U+030A) the character 'j'. Yes, it is silly, because the ring would collide with the dot above the 'j', but I want to combine them ...