Tagged Questions

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

learn more… | top users | synonyms

1
vote
0answers
763 views

XeLaTeX/LuaLaTeX + fontspec “font-not-found” in CV template [closed]

I am trying to compile a CV template using XeLateX. I have always used Pdflatex, so I created a XeLaTeX command as described here: Use XeLaTeX in Texmaker instead of pdfLaTeX. I then downloaded the ...
10
votes
0answers
159 views

Why does fake slant only seem to work after italics has been used? [closed]

Based on this question, can someone explain this behavior: \documentclass{article} \usepackage{fontspec} \setmainfont[ SlantedFont={Linux Libertine O}, SlantedFeatures={FakeSlant=0.30}, ...
1
vote
1answer
339 views

Microtypesets and Fontspec

Is there a way to use Microtypesets so that one would specify a fontspec family. I have a very complicated document and it would be nice to be able to turn the microtype features on only for those ...
2
votes
1answer
119 views

How do I slant variables when using eulervm?

Using fontspec and xetex, when in text mode I can define: \renewcommand{\textsl}[1]{{\fontspec[FakeSlant=0.2]{Neo Euler} #1}} and I get slanted characters using Neo Euler (to fake the missing ...
6
votes
1answer
318 views

A Big fancy “Q”

One time I remember seeing a Q ligature in \setmainfont{EB Garamond} (fontspec, EB Garamond, etc.) that involved a wonderful long swash. Now I don't know how to get it. Contrary to most other ...
1
vote
1answer
411 views

\moderncvicons{awesome} giving error!

I'm getting an error when compiling a resume of moderncv, with pdflatex in Mageia 2 i586 and TEXlive 2011. Why? First I added the command \moderncvicons{awesome}, then I added \usepackage{fontawesome} ...
15
votes
1answer
154 views

fontspec ruins Lilypond's note spacing

I use lilypond-book to include music examples in my TeX document, but it seems that fontspec breaks the horizontal spacing between the notes: without fontspec with fontspec This MWE shows the ...
5
votes
1answer
169 views

Why isn't XeTeX properly mapping this Th ligature to T_h?

I realize I am using a proprietary font here, but this is where I discovered this problem (it also applies to other ligatures as well as old style numbers). \documentclass{article} ...
1
vote
1answer
192 views

fontspec search path in TEXMFHOME

This is related to fontspec (xelatex) finding fonts by name, installed or in TEXMFHOME When installing an OpenType font in TEXMFHOME (~/texmf) I see the following behaviour with fontspec of TeXLive ...
1
vote
1answer
794 views

fontspec (xelatex) finding fonts by name, installed or in TEXMFHOME

This is related to my other question: fontspec search path in TEXMFHOME I'm trying to write a package using a specific opentype font through fontspec. Using TeXLive 2013 on a Debian computer (a ...
5
votes
1answer
243 views

microtype tracking disables small caps in luaLaTeX

Normall microtype tracking loosens the tracking of small caps. However, with fontspec's \setmainfont{ebgaramond}, small caps are completely disabled and I get a loose normal text, as opposed to ...
5
votes
1answer
231 views

fontspec/mathspec ruins my parentheses with beamer

My problem appears to be related to this earlier post: Parentheses differ (XeLaTeX, fontspec, newtxmath, libertine) but mine seems even simpler. My problem is that when I compile a simple beamer ...
6
votes
1answer
107 views

Turning off TeXnical enhancements

I want to create a table for comparing TeX's typography with that of (approximated) other document solutions. I'd like to turn off all TeXnical enhancements for a single column of text—no ligatures, ...
1
vote
1answer
287 views

lualatex uses DejaVuSans ExtraLight instead of DejaVu Sans

LuaLaTeX does not use the correct font shape. The following minimal example \documentclass{scrartcl} \usepackage{fontspec} \setmainfont{DejaVu Serif} \setsansfont{DejaVu Sans} \setmonofont{DejaVu ...
2
votes
1answer
372 views

XeLaTeX cannot find bold version of URW Palladio L

I have downloaded and installed URW Palladio L which has become the free and open source variant of URW Palladio. I am using this font in my LaTeX by using XeLaTeX. XeLaTeX, however, does not find the ...
1
vote
0answers
129 views

Fontspec package makes font weird compiling with XeLaTeX [closed]

I'm new to LaTeX. I'm using the 'fontspec' package and compiling the document with XeLaTeX (xetex), but when I use the package: \usepackage{fontspec} The font is all weird, not behaving like it ...
1
vote
2answers
873 views

Using specific fonts in XeTeX

I'm trying to use specific fonts in my LaTeX file. But fontspec can't find my desired fonts. I use family file | grep -i helvetica to know the names to use in XeTeX using fontspec ...
3
votes
1answer
275 views

How does fontspec actually work with the no-math attribute?

I'm trying to make a beamer presentation that has different fonts for math and text. As a MWE, when I write the following: \documentclass[english]{beamer} \usepackage{lmodern} ...
4
votes
1answer
188 views

Custom phonetic font with tipa and fontspec

I've been trying to typeset a document that has a lot of phonetic transcriptions, and I'm trying to do it using Tex Gyre Bonum for the body and Charis SIL for the phonetic transcriptions. I'm trying ...
8
votes
1answer
200 views

How to use fakeslant as slanted but not italic font with fontspec?

Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around: \setmainfont[ AutoFakeSlant=0.15 ] {FontName} However, also if an ...
2
votes
1answer
231 views

Print font name using LuaTeX

I want to print font names (full name, ps name, file name, etc) using LuaTeX's font table. It works fine previously, but recently I encountered an error message from luaotfload Here is a minimal ...
2
votes
0answers
282 views

Fontspec: Select minionpro font from local folder

I have the Minionpro Font files in the same directory as the master LaTeX file. When compiling, the path to the MinionPro fonts folder would be ../minion/ containing: ./MinionPro-Bold.otf ...
4
votes
1answer
891 views

Bold type and font specification with fontspec

When I manually specify the Linux Libertine O font types fontspec should load, the bold type is significantly bolder than when I load the exact same font family as a system font. MWE: ...
2
votes
1answer
162 views

Problem with amsmath+fontspec+ulem

I have a problem when I tried to compile this using XeLaTeX. \documentclass{article} \usepackage{ulem,amsmath,fontspec} \begin{document} \[1+1=2\] \end{document} Is there any way to fix this?
9
votes
1answer
316 views

different fonts for two languages

I use Sanskrit 2003 for my bilingual document. But the English so generated result in a very uneven and poorly looking document. I can not modify the text in between \begin{document} and ...
5
votes
0answers
386 views

Outline text using TrueType fonts

I'd like to write outlined text. Here is a minimal example, what I'd like to achieve. \documentclass[a4paper]{minimal} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} ...
4
votes
1answer
376 views

DejaVu Sans Light with XeLaTeX?

In XeLaTeX, it is possible to directly embed Unicode fonts via \newfontfamily\name_to_use{font name}. So I can, for example, write: \newfontfamily\dej{DejaVu Sans}, and later write \dej{unicode ...
1
vote
1answer
1k views

Migration from Computer Modern to Times New Roman fonts

I had typed my LaTeX article using Computer Modern fonts. Now I want Times New Roman and double spacing. I'm getting so many errors regarding font packages. Please help. ...
6
votes
1answer
332 views

Monotype Gill Alt One MT and the fi fl ligatures

I have previously received help with getting the fi and fl ligatures working with the Berling font and now I found myself trying to do the same with the Gill Alt One MT font. The same approach does ...
3
votes
1answer
236 views

Indentation with beamer fontspec and alltt

The following document mangles the indentation of the second line of the alltt (the pipe/bar character does not occur under the equals of the previous line). \documentclass[14pt]{beamer} ...
2
votes
0answers
186 views

Why is my regular font garbled but \emph and \textbf fine? [duplicate]

I'm trying to format a document following my organization's style guide. I'm using XeLaTeX for the font flexibility. I made a minimal document \documentclass{article} \usepackage{xltxtra} %% For ...
0
votes
0answers
52 views

MacTeX 2013 takes ages to compile [duplicate]

I am sorry that this is not a very specific question. Since I updated to 2013 I haven't been able to compile a single document. To be honest, neither did I let one of the many compilation processes I ...
1
vote
1answer
291 views

Font problems when using IPAexMincho

I am trying to run some fonts named IPAexMincho in latex under win 8 using MikTeX under TeXnic, but I got error messages in regard to not being able to run Kanji map when I have the following valid ...
1
vote
1answer
136 views

Bold font error

When I type the ACKNOWLEDGEMENTS page using bold font, the following text is still bold while it should be normal (not bold). I used this code: \thispagestyle{fancy} \rhead{\thepage} % Sets the ...
1
vote
1answer
93 views

Luaotfload complains: “cache : Could not write lookup cache”

I am in quite the pickle about my document I would like to compile with LuaLaTeX. This is the set-up I am using for the fonts and such: \usepackage[no-math]{fontspec} \usepackage{lipsum} ...
1
vote
1answer
134 views

assigning font size in .sty files

I am using a LaTeX template which contains a .sty file. The problem is that I am getting error for the below line which is shown below it. \font\chaptocfont=\helveticabold ERROR: ! Font ...
3
votes
1answer
324 views

Use of unicode-math results in “unprintable” PDF

In the following example, if I uncomment the inclusion of unicode-math, I still get an PDF that shows up fine in my PDF Viewer (Evince), but none of the equation shows up in print. Why is that? ...
5
votes
0answers
364 views

Miktex amsfont problem: \scriptfont is undefined [duplicate]

Today, After updating Miktex system, I have trouble with error \scriptfont is undefined. So I tried to reinstall Miktex 2.9.4813 (32 bit version). Everything OK, but again after updating, problem is ...
4
votes
0answers
223 views

unicode-math and oldstyle figures

I'm trying to find a good way to archive the following using fontspec, unicode-math and lualatex: almost global oldstyle figures including inline math lining numbers for displayed equations, e.g. ...
3
votes
1answer
274 views

»Missing number, treated as zero.« in graphics with invoice [duplicate]

I’m on Debian’s texlive 2013.20130530-1. My minimal test document is as follows: \documentclass{article} \usepackage{fontspec} \usepackage{invoice} \begin{document} \end{document} I get the ...
8
votes
1answer
315 views

access all characters in an OpenType font with LuaLaTeX

This is a follow-up to Access specific characters in LuaTeX and How to access fleurons? With TeX Live 2012, I compiled the following file and got the output in the image: \documentclass[12pt]{book} ...
6
votes
4answers
294 views

Is there a way to use T1 font for math and main font (with some T2A Cyrillic letters) in document compiled by XeLaTeX?

Here is my code (utf8): \documentclass{article} \usepackage[no-math]{fontspec} \usepackage[utf8]{inputenc} \usepackage[T1,T2A]{fontenc} \usepackage{anttor} \begin{document} text $math$ Russian: Щ ...
5
votes
3answers
340 views

Using \ifstrequal in a fontspec macro

Here is my Minimal Failing Example: \documentclass{article} \usepackage{fontspec,etoolbox} \setmainfont{TeX Gyre Schola} \begin{document} \newcommand\Stretch[1]{ \ifstrequal{#1}{narrow}{0.6}{} ...
6
votes
1answer
319 views

Check for missing font characters in LuaLaTeX

I have a document: \documentclass{article} \usepackage{fontspec} \begin{document} Program the μC, please. \end{document} When I compile with xelatex or lualatex, there is a missing "μ" character in ...
9
votes
1answer
271 views

fontspec option “Renderer=Basic” - what does it mean?

Since a few days I've been using the fontspec option \setmainfont[Renderer=Basic] ... in order to use the microtype option tracking=true with LuaLaTeX. I have a simple question on this: why does ...
9
votes
1answer
220 views

How to change kerning around ( glyph with lualatex?

Inspired by An example of changing kerning of a font in LuaLaTeX I decided to try to change the kerning for some letter combinations together with parentheses which have been bothering me in my ...
7
votes
1answer
257 views

how to set font feature file for a specific font file and not the whole font shape

I'm looking for having my document set with specific ligatures, such as 's' replaced by 'longs', 's t' by 'longs_t' etc. and using the Linux Libertine G font. To do this, I'm writing my text ...
6
votes
1answer
211 views

How to access the quotation marks in Berling font using lualatex?

Here is a small example: \documentclass[11pt,article,oneside]{memoir} \usepackage{fontspec} \setmainfont[ItalicFont={BerlIt}, FeatureFile=myligatures.fea]{Berling} \begin{document} ``Lala la'' ...
1
vote
0answers
46 views

How to use en-dash with Cambria fonts? [duplicate]

When using non-TeX fonts in LuaTeX I can produce en-dashes in the usual way by typing two dashes together --: \documentclass{article} \usepackage{fontspec}%use luatex \setmainfont{Cambria} ...
5
votes
1answer
506 views

How to Use Goudy Initialen in Lettrine

How can I use the Goudy Initialen font with Lettrine for the first drop letter of a paragraph? I can't understand from the documentation how to use LettrineFontHook or LettrineFont to do this?