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

learn more… | top users | synonyms

10
votes
2answers
98 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
83 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
107 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
130 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
96 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
151 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
146 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
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 ...
3
votes
1answer
162 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
78 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
1answer
111 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} ...
6
votes
3answers
946 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
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 ...
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. ...
1
vote
1answer
67 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
1answer
91 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
151 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
75 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
122 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
107 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
99 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
112 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
44 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
100 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 ...
4
votes
2answers
959 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
115 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
141 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). ...
5
votes
0answers
158 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
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 ...
4
votes
1answer
80 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
133 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
72 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
68 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 ...
3
votes
0answers
101 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 ...
4
votes
1answer
108 views

Access Specific Alternate Glyph in XeTeX

I'm trying to use Minion Pro Italic font, specifically I would like to use the italic "g" with an open tail - instead of the default two-story version. I found that it is defined as an alternate ...
7
votes
1answer
184 views

font selection for entire doc

Hello there:) Could someone show me how to select fonts (serif: regular/bold/italic/bolditalic/smallcaps, sans: regular/bold/italic) for entire document using fontspec and font's filenames. And at ...
9
votes
0answers
154 views

XeTeX font spacing awfulness [duplicate]

When using the Lato font (e.g., Google fonts or Lato fonts), I get completely overlapping text: When I view the PDF in Google Chrome's PDF viewer, it looks fine on the screen: but it still ...
12
votes
1answer
427 views

Why does LuaLaTeX produce smaller files than pdfLaTeX in this example?

I am discovering LuaLaTeX... I want to produce pdf files from my tex sources as small as possible. If I compile the following code with LuaLaTeX, the size of the generated pdf is 9 kB. ...
4
votes
1answer
108 views

Can I use these Libertine glyphs in pdftex?

MWE: \documentclass{article} \usepackage{iftex} \ifXeTeX\else \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \fi \usepackage{libertine} \begin{document} \ifXeTeX ...
3
votes
1answer
71 views

Using pst-barcode, fontspec and standalone at the same time?

I am trying to generate a series of labels using TikZ and the standalone document class. Normally, this works fine, but this time I want to use a system font and to include a barcode. Below is an ...
6
votes
2answers
213 views

Scale font only vertically (poor man’s condensed of Libertine)

I’m using Linux Libertine to typeset the translation of a poem with eledmac/eledpar. The original text appears on the left pages and the translation on the right ones. Since the translated verses are ...
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} ...
3
votes
1answer
118 views

Change lineno's number format for section headings (bold font)

This is a follow-up to the question Change from old style numbers to lining numbers in lineno's linenumbers environment I've discovered that the suggestion given there doesn't target the line ...
3
votes
1answer
121 views

Fontspec + Cabin + LuaLaTeX

I want to use the Cabin fonts (which are available on CTAN). It seems possible to use these fonts with LuaLaTeX, since there are type1 fonts available, and on CTAN it says: LuaLaTeX and xeLaTeX ...
2
votes
0answers
143 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 ...
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 ...
7
votes
2answers
717 views

Problem with small caps in XeLaTeX

I'm not able to make small caps work with any font in XeLaTeX. Here is output illustrating the issue for Charis SIL, Garuda, and Times New Roman, respectively. Pasted below are a MWE and version and ...
3
votes
1answer
212 views

Does fontspec have a cache?

The mininimal working example is the following one: \documentclass{article} \usepackage{fontspec,xunicode} \setmainfont[Numbers=OldStyle]{Linux Libertine O} \begin{document} 0123456789 ...
2
votes
0answers
132 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} % ...