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

learn more… | top users | synonyms

9
votes
2answers
109 views

Define a new \XXseries macro for light fonts

Is ist possible to define a new series with fontspec? I tried the following but … it throws an error if the font doesn’t have a light version instead of replacing the font, like \bfseries does. In ...
3
votes
2answers
121 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 ...
10
votes
0answers
155 views

Old ligatures in Siṇhala

I am trying to reproduce a term from an old Siṇhala-English dictionary. I have checked several fonts and the best candidates for the job seemed coming from the Bhashitha font family. The font contains ...
4
votes
2answers
81 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
77 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
45 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
148 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
88 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
543 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 ...
3
votes
1answer
217 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 ...
0
votes
0answers
40 views

Problems for use differents fonts in a document with XeTeX

I'm working a document using the scrartclclass with the following options and packages: \documentclass[10pt,letterpaper,DIV=14,titlepage=false,twocolumn=on]{scrartcl} %\usepackage[DIV=14]{typearea} ...
2
votes
2answers
52 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
182 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
70 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
347 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
110 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
156 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 ...
6
votes
1answer
235 views

fontspec throwing error with lualatex - broken?

I get an error when I try to include the fontspec package. Here is a minimum working example: \documentclass{article} \usepackage{fontspec} \begin{document} Hello \end{document} I'm trying to ...
7
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
55 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
124 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 ...
2
votes
1answer
335 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
106 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
192 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
213 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
80 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
98 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
281 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
466 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
83 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
80 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 ...
10
votes
1answer
205 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
512 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 ...
3
votes
1answer
108 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 ...
0
votes
0answers
50 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 ...
5
votes
0answers
107 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 ...
1
vote
1answer
367 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
74 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
55 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
175 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
206 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
76 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
789 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
187 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
86 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 ...
16
votes
5answers
852 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 ...
4
votes
1answer
128 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
66 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
391 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 ...