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

learn more… | top users | synonyms

1
vote
1answer
334 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 ...
10
votes
0answers
157 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}, ...
2
votes
1answer
113 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 ...
1
vote
1answer
123 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 ...
6
votes
1answer
280 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 ...
15
votes
1answer
148 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 ...
0
votes
1answer
623 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
165 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} ...
5
votes
1answer
216 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 ...
4
votes
1answer
212 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 ...
1
vote
1answer
271 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 ...
6
votes
1answer
101 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, ...
2
votes
1answer
334 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
1answer
272 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
0answers
119 views

Fontspec package makes font weird compiling with XeLaTeX

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 ...
2
votes
0answers
442 views

fontspec package not compatible with inline preview TeXStudio [closed]

I've installed MiKTeX 2.9 and TeXStudio 2.4. I found suggestions on the web to change the default compiler to XeLaTeX, to provide accentuated words (I am portuguese!), to handle any type of images ...
1
vote
2answers
738 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 ...
14
votes
4answers
2k views

Fake small caps with XeTeX/fontspec?

Using XeTeX and fontspec, I use the Liberation font family in of my documents. Unfortunately those fonts (esp. Liberation Serif) do not natively support small caps. Is there a way to enable fake ...
3
votes
1answer
230 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} ...
9
votes
1answer
211 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 ...
8
votes
1answer
179 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 ...
0
votes
1answer
250 views

How do I create a visually pleasing tree hierarchy from a difficult to read CSV File (MySQL Export)?

Ok here is the deal: I am working on an endangered language project. The data is contained in a MySQL database. I can run a query to produce a hierarchy, but the hierarchy is difficult for humans to ...
2
votes
1answer
659 views

XeTeX font problem (font-not-found) on Mac OS X 10.8

I installed Gotham font by copying otf files to /Library/Fonts/Gotham. Although Font Book cannot show the installed Gotham font properly (characters are borken), but Font Validation was fine, and it ...
3
votes
1answer
2k views

fontspec does not work correctly. MiKTeX portable, no admin rights

I am trying to set up a TeX System at work, where I have no admin rights. So I went for MiKTeX portable. It is "installed" on my Desktop. I want to use fontspec with XeLaTeX to be able to choose the ...
3
votes
1answer
192 views

TIPA: suppress tonestembar no longer works in fontspec

Most of the features in tipa from TeXLive2009 seem to be part of fontspec in TeXLive2012 -- if you activate both, you get an error message: "Command sups already defined". The following code to ...
6
votes
1answer
134 views

tipa with fontspec redux: tilde above characters

I'm trying to use the tipa package with fontspec, but they don't play nice together. I've read previous questions trying to solve the issues that come up (like this one), and that's the solution I've ...
1
vote
3answers
1k views

LuaTeX: tex-text at 10 pt not loadable [closed]

I am trying to use LuaTeX with Linux Biolinum. It works fine with XeLaTeX, but when I'm running LuaLaTex, it gives me the following error: ! Font ...
2
votes
1answer
209 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
270 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 ...
9
votes
1answer
303 views

uneven line spacing

This is something that is already annoying me for quite a while. (I use LuaLaTeX) The line spacing of the Arabic text is uneven (see pic and/or MWE below). In particular, I think, lines 2, 7, and 10. ...
2
votes
1answer
155 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?
4
votes
1answer
729 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: ...
17
votes
2answers
435 views

Is there a way to use different local font files for different font size in fontspec?

I am a big lover of the EB-Garamond fonts by Georg Duffner. As of now, he has made two sets of font files, EB-Garamond-8 and EB-Garamond-12, respectively for “design size 8pt” and “design size 12pt”. ...
5
votes
0answers
357 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} ...
9
votes
1answer
253 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 ...
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
192 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'' ...
6
votes
1answer
303 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 ...
4
votes
1answer
348 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 ...
3
votes
1answer
219 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 ...
11
votes
1answer
367 views

Proper way to use LaTeX fonts in XeLaTeX

What is the proper way to use LaTeX fonts, for example calligra or other fonts from the Font Catalogue in XeLaTeX. Something like \usepackage{fontspec} \setromanfont{Calligra} doesn't work. ...
3
votes
2answers
751 views

Weird behavior when using small caps and slanted fonts with fontspec in XeLaTeX

I use XeLaTeX and the fontspec package. Now, I like to use Linux Libertine as standard font. The slanted (not italics) characters are stored in a different font. Now, to use them with \slshape, I ...
0
votes
0answers
51 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 ...
3
votes
1answer
314 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? ...
39
votes
2answers
4k views

microtype settings for dummies

More than a year ago, a friend of mine was totally excited about microtype features in LaTeX. He was talking about it quite a bit and then said to me: "Show me your document, let me input some lines ...
25
votes
2answers
2k views

An example of changing kerning of a font in LuaLaTeX

LuaLaTeX, through the luaotfload package, is able to dynamically add and modify features and properties of a font. This is performed by using the FeatureFile option in fontspec when loading a font; ...
5
votes
0answers
363 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 ...
1
vote
1answer
89 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
124 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 ...