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

learn more… | top users | synonyms

4
votes
3answers
158 views

combine \usepackage{times} and \fontspec \setmainfont

I'm having difficulty finding a Times-like font which has support for Americanist phonetic symbols, bold, italic, bold italic and small caps. Currently, I've got a setup using xelatex which gets me ...
1
vote
1answer
280 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 ...
3
votes
2answers
127 views

How can I make fontspec avoid black italics with Charter in OS X Mavericks?

OS X Mavericks includes a copy of the font Charter in /Library/fonts/Charter.ttc. This file provides six variants: roman, italic, black, bold, black italic, and bold italic. As the following example ...
3
votes
2answers
134 views

Fontspec/xeCJK AutoFakeBold and copyable Chinese characters in PDF

I'm writing a document in mixed English and Chinese (with the xeCJK package. I want to add some fake bold headlines using the font Kaiti SC. When I do this using the AutoFakeBold option, this makes it ...
13
votes
1answer
1k views

How to flip / produce the mirror image of a special character in xelatex

I'm producing a menu with xelatex using the font Bickham Script Pro. It has a swirly pattern I'd like to use at the beginning and end of a line. The swirly character would need to be flipped to have ...
0
votes
0answers
51 views

Beramono in XeTeX?

I like the beramono font, and I want to use it for code listings (using the listings package). I want the standard CMR tt font for typewriter font in the body of the text. I could do this using ...
1
vote
1answer
99 views

Tracking with XeTeX via LetterSpace

When I use PDFLaTeX I have a setup using microtype and a font available in small caps (eg \usepackage{lmodern}), \usepackage[ protrusion=true, expansion=true, kerning=true, spacing=true, ...
5
votes
2answers
187 views

How to select a font for the main Chinese character and another font for its Furigana?

The objective is to make a list of Japanese vocabularies with Kanji stroke order for the main characters, its furigana (small kana characters placed above the main characters), and its meaning (in ...
8
votes
1answer
114 views

Ensuring embedded Fonts are hinted for on-screen PDF viewing

I'm trying to recreate a pleasing page layout from an existing pdf as a way to get more familiar with book design in latex. The geometry part was fairly simple to get right, but I've come across a ...
11
votes
3answers
149 views

Capital ẞ in LaTeX/XeTeX/lualatex/whatever

I am trying to get a ẞ in my LaTeX document. How can I do this? I already tried: Using other fonts: dejavu and libertine Using \MakeUppercase{ß}, which sometimes produces nothing, sometimes produces ...
2
votes
0answers
112 views

Font found with XeLaTeX not found with LuaLaTeX on Linux [closed]

The following MWE will build correctly with XeLaTeX but not with LuaLaTeX. \documentclass{article} \usepackage{unicode-math} \setmainfont{TimesNewRomanPSMT} \setmathfont{CambriaMath} ...
9
votes
1answer
192 views

Generating a table of all glyphs – including meta data like name, Unicode etc

The answers to Generating a table of glyphs with XeTeX cycle through character positions in the font and output a glyph (and its ordinal number) if one is assigned to that position, which is only ...
9
votes
2answers
110 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
166 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
84 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
81 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
59 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
174 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
103 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
546 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
249 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
44 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
55 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
185 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
73 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
349 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
113 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
174 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
257 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 ...
8
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
58 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
131 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
437 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
114 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
200 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
265 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
82 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
101 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
325 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
497 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
89 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
82 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
225 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
523 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
111 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
56 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
118 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
375 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
83 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 ...