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

learn more… | top users | synonyms

3
votes
2answers
137 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 ...
4
votes
2answers
103 views

Set length to the line height of a particular font

How to define new length using : \newlength{...} \setlength{...}{...} and equal to the line height of a particular font (for example \tiny\ttfamily) Note : I want a solution which does not involve ...
1
vote
1answer
101 views

Vector font for suetterlin

I want to use the old German "Kurrentschrift" in equations. In LaTeX, this is already integrated in the package suetterl: \documentclass{article} \usepackage{suetterl} \begin{document} ...
3
votes
1answer
96 views

Telugu font characters not correctly produced from xelatex

Anyone have this issue. This is the following code. \documentclass{article} \usepackage{fontspec} \setmainfont{Gautami} \usepackage{polyglossia} \setmainlanguage{telugu} ...
2
votes
1answer
310 views

Using MinionPro for math and ArnoPro for text

As the title says, I want to use ArnoPro as my main font for text while using MinionPro for all math (inline or display). What I did for ArnoPro was since I have Windows on my laptop as well as Linux ...
4
votes
0answers
179 views

Complex ligatures in Devanāgarī

Ligatures are known to the Western European languages, however it isn't that common to spot vertical or complex form of them. As an exercise in typography I tried to get some complex ligatures in ...
20
votes
4answers
581 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 ...
4
votes
1answer
420 views

Lualatex, fontspec and externalized tikz problem in MacTeX

To enable faster compilation of large documents I'd like to externalize tikz pictures. I also have to use lualatex and fontspec. EDIT: After further testing it seems that this is a problem only when ...
3
votes
2answers
74 views

Translate content in fields in bibliography entries (biblatex)

I have in the @thesis entries in my .bib file the names of institutions and types written in the local language of the thesis. I need to translate these to English. As an example, I need to translate ...
2
votes
1answer
192 views

About font and designs

I'm new to Latex, I finally decided to learn it after having discovered that LibreOffice writer sucks. I thought it helps you create better text but after having spent almost two hours on this site, I ...
0
votes
1answer
93 views

Sans serif fonts in block headers while using another package [duplicate]

I'm brand new to TeX and am making my first beamerposter. I'm using XeLaTeX and I like the package pxfonts for the math and the body text. However, I'd like to have sans serif text in the block ...
8
votes
1answer
351 views

Whatever happened to \newfontinstance?

I just installed a pretest version of TeXLive 2010 and tried compiling some files as a test. None of my XeLaTeX files compile because apparently the command \newfontinstance (which was defined in ...
5
votes
1answer
132 views

Big brackets are always opening and square when using fontspec with MnSymbol

I have here a strange problem I don't get. When using the fontspec package in combination with MnSymbol package all big brackets in math mode are square and opening... when I deactivate one of the ...
0
votes
1answer
310 views

Font “AGaramondPro-semibold” cannot be found

I have a document [CV template taken from Paul Gessler. I am having difficulty finding AGaramondpro-Semibold font from fontspec package. I have already upgraded the fontspec package from package ...
9
votes
1answer
1k views

textls breaks smallcaps with luatex

I'm switching a code to LuaTex from XeTeX. In XeTeX, I had a combination of tracking and small caps using LetterSpace and WordSpace parameters in fontspec calls, but these are not supported in with ...
3
votes
1answer
91 views

Custom font family with siunitx

I'm trying to set some relatively large tables in my document. I used fontspec to create a new font family, which I use only to set tables. Specifically, I'm using the Bell Centennial font to set my ...
2
votes
1answer
170 views

XeLaTeX font choice for separable ligatures in PDF, redux

I've read previous question/answers on this topic (e.g. this), but am still in the dark. The problem I'm trying to solve: Which font combination for XeLaTeX will at the same time provide a legible and ...
4
votes
1answer
1k views

fontspec cannot find fonts on Ubuntu

I recently migrated to Ubuntu from Mac OS. I installed TexLive and it works. However, fontspec doesn't work, no matter what fonts I use. This goes for fonts native to Ubuntu and fonts that I have ...
2
votes
0answers
138 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 ...
1
vote
1answer
256 views

Fontfamily with XeLaTeX

I'm trying to install a custom fontfamily, named Agenda, in my Latex document. I use XeLatex, so i tried to load the font with \fontspec: Using this code, the font works great: ...
2
votes
1answer
723 views

How to change the font for chapter title with titlesec and titling under XeTeX?

I'm using XeTeX to edit a document in which I am trying to use titlesec and titling to set a different font for some headings. I'm using the approach suggested as a reply to a similar question, but ...
2
votes
0answers
108 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
1answer
147 views

Installed font not working

I have downloaded a latex template for a thesis from Harvard University. Currently I'm using Linux Mint Nadia 14. The instructions of the template tells you to install the needed fonts (which are ...
3
votes
2answers
747 views

Error: \Undefined control sequence \setmainfont in Ubuntu 12.04

I am getting error on compiling following Latex code: \documentclass{article} \usepackage{fontspec} \setmainfont{Code2000} \begin{document} abc \end{document} Error: \Undefined control sequence ...
13
votes
3answers
616 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 -> ...
3
votes
0answers
146 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. ...
6
votes
1answer
102 views

Why does fontspec interfere with metafont fonts?

I need to create a document using a few fonts. Two or three will be metafont fonts used for most of the document in a Latin-based language, and then I need to use another font for a SE Asian language ...
11
votes
1answer
283 views

How to make lualatex select the correct OpenType features in math mode?

After fiddling around with egreg's answer to my previous question, I finally discovered that lualatex is not selecting the tnum OpenType features, that is it uses the default numerals instead of the ...
4
votes
1answer
570 views

Faking small caps in XeLaTeX

In the post Fake small caps with XeTeX/fontspec? I have found the following definitions to fake small caps \def\mycommand{\bgroup\obeyspaces\mycommandaux} \def\mycommandaux#1{\mycommandauxii ...
4
votes
1answer
129 views

fontspec and xeCJK conflict: tie (\t{}) over Latin character displaced one position

I want to create a tie over ng by typing: \t{ng}: The following minimal example causes the tie over ng to be displaced one position to the right, so that it appears over the g and empty space. The ...
1
vote
1answer
479 views

Loading URW Garamond in TeX Live 2012 with fontspec

I can use URW Garamond as follows: \documentclass[12pt]{article} \usepackage{parskip} \usepackage[urw-garamond]{mathdesign} \begin{document} \thispagestyle{empty} \textbf{Bold text} \\ Normal ...
3
votes
0answers
151 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 ...
1
vote
0answers
105 views

fontspec error using xepersian package! [closed]

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
368 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 ...
11
votes
1answer
277 views

fontspec & microtype: fine tune OpenType fonts

I just began to try LuaTeX in order to make use of OpenType fonts. After loading fontspec I select such a font the usual way: \setmainfont{Adobe Garamond Pro} Now I wonder how I can fine tune the ...
3
votes
1answer
89 views

Unwanted extra lines appearing in bibliography

When I compiled a very lengthy paper with a lengthy bibliography, I noticed that at some places in the bibliography, an extra line had been entered between entries: I tried to cut down the document ...
4
votes
1answer
2k views

kpathsea/fontspec does not recognize a font whose name has a space in it

Using XeLaTeX and the fontspec package, I am experiencing problems using fonts whose name includes the space character. Here is a simple example: \documentclass{article} \usepackage{fontspec} ...
11
votes
4answers
902 views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
7
votes
1answer
203 views

How to substitute one glyph sequence for another with OTF feature files in LuaTeX?

I am trying to do some sequence-for-sequence glyph replacement. As far as I can tell from the Adobe spec, the LHS and RHS of a "sub … by …" rule cannot both contain multiple glyphs; and in any case, ...
5
votes
1answer
109 views

Globally enable a font feature for libertine package

The libertine package works with both PDFLaTeX and XeLaTeX; with the latter it automatically loads and uses fontspec for OpenType font loading. Also with XeLaTeX, it's possible to load a font feature ...
18
votes
5answers
1k views

How can I access a specific glyph in LuaLaTeX/Fontspec?

The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
5
votes
1answer
155 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 ...
2
votes
2answers
100 views

Caveats of newtxmath and fontspec together

I'm able to typeset a ~50 page set of lecture notes with heavy math using \usepackage{libertine} \usepackage[libertine]{newtxmath} with both PDFLaTeX and XeLaTeX. I know that the libertine package ...
6
votes
2answers
499 views

ï & î font encoding

I've one problem in my scrbook, ï and î don't work when I compile my \printbibliography. But the problem come only with these 2 accents… I export my .bib from Papers2 for Mac application, & I ...
6
votes
2answers
200 views

Does Kerkis font work with xelatex?

I'm a confused on whether xelatex and kerkis font can be used together. I'm using Ubuntu 13.10, Tex Live 2013/Debian, and I have the kerkis font installed. Though, if I try to compile the following ...
5
votes
2answers
231 views

Left and right quotation marks aren't correct when using fontspec

Using XeLaTeX the following document produces the correct result if \setmainfont{Arial} is never called (the quotation marks are proper left- and right-quotation marks). Once I try to set a font (even ...
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: ...
12
votes
0answers
139 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} ...
3
votes
1answer
332 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
110 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? ...