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

learn more… | top users | synonyms

4
votes
1answer
135 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 ...
8
votes
1answer
230 views

font selection for entire doc

Hello there:) Could someone show me how to select fonts (serif: regular/bold/italic/bolditalic/smallcaps, sans: regular/bold/italic) for entire document using fontspec and font's filenames. And at ...
9
votes
0answers
156 views

XeTeX font spacing awfulness [duplicate]

When using the Lato font (e.g., Google fonts or Lato fonts), I get completely overlapping text: When I view the PDF in Google Chrome's PDF viewer, it looks fine on the screen: but it still ...
12
votes
1answer
450 views

Why does LuaLaTeX produce smaller files than pdfLaTeX in this example?

I am discovering LuaLaTeX... I want to produce pdf files from my tex sources as small as possible. If I compile the following code with LuaLaTeX, the size of the generated pdf is 9 kB. ...
4
votes
1answer
117 views

Can I use these Libertine glyphs in pdftex?

MWE: \documentclass{article} \usepackage{iftex} \ifXeTeX\else \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \fi \usepackage{libertine} \begin{document} \ifXeTeX ...
3
votes
1answer
98 views

Using pst-barcode, fontspec and standalone at the same time?

I am trying to generate a series of labels using TikZ and the standalone document class. Normally, this works fine, but this time I want to use a system font and to include a barcode. Below is an ...
6
votes
2answers
236 views

Scale font only vertically (poor man’s condensed of Libertine)

I’m using Linux Libertine to typeset the translation of a poem with eledmac/eledpar. The original text appears on the left pages and the translation on the right ones. Since the translated verses are ...
4
votes
0answers
139 views

Using specific font for the equation in XeLaTex

I want to use a specific font for a specific formula in XeLaTeX. Usually, the math font can be set up using mathspec package. \usepackage{mathspec} ...
3
votes
1answer
148 views

Change lineno's number format for section headings (bold font)

This is a follow-up to the question Change from old style numbers to lining numbers in lineno's linenumbers environment I've discovered that the suggestion given there doesn't target the line ...
3
votes
1answer
137 views

Fontspec + Cabin + LuaLaTeX

I want to use the Cabin fonts (which are available on CTAN). It seems possible to use these fonts with LuaLaTeX, since there are type1 fonts available, and on CTAN it says: LuaLaTeX and xeLaTeX ...
2
votes
0answers
177 views

XeLaTeX Bad/Inconsistent Kerning

I'm running xubuntu 12.04.3 LTS with tex-full 2013 package. The kerning is terrible. For example, I have fonts-linuxlibertine 5.3.0 installed, latest and greatest; when I compile using XeLaTeX, both ...
0
votes
0answers
170 views

Just want to know how to run this on texmaker?

\documentclass{article} \usepackage{arabxetex} \newfontfamily\arabicfont[Script=Arabic,Scale=1.0]{Scheherazade} \newfontfamily\urdufont[Script=Arabic,Scale=1.1]{Code2000} \begin{urdu}[novoc] ,ham ...
8
votes
2answers
1k views

Problem with small caps in XeLaTeX

I'm not able to make small caps work with any font in XeLaTeX. Here is output illustrating the issue for Charis SIL, Garuda, and Times New Roman, respectively. Pasted below are a MWE and version and ...
3
votes
1answer
221 views

Does fontspec have a cache?

The mininimal working example is the following one: \documentclass{article} \usepackage{fontspec,xunicode} \setmainfont[Numbers=OldStyle]{Linux Libertine O} \begin{document} 0123456789 ...
3
votes
0answers
167 views

Having Problem using math environment in LuaLaTeX

I am at learning stage of LaTeX. While working with lualatex with fontspec package, i am not being able to use any math environment. My document's preamble: \documentclass[a4paper, 14pt]{memoir} % ...
3
votes
2answers
251 views

font set problems in beamer

i want to set the main font in my beamer as "Consolas" i do like this : \documentclass{beamer} \usepackage{fontspec} \usetheme{Warsaw} \begin{document} \setmainfont{Consolas} \begin{frame} we discuss ...
2
votes
0answers
61 views

Regular Chaparral comes out bold, bold Chaparral comes out regular. Why? [closed]

Chaparral.tex: \documentclass{article} \usepackage[english]{babel} \usepackage{fontspec} \setmainfont{Chaparral Pro} \begin{document} Hamburgefonstiv Regular \textbf{Hamburgefonstiv Bold} ...
1
vote
0answers
703 views

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

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
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}, ...
1
vote
1answer
333 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
112 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
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 ...
1
vote
1answer
383 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
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 ...
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} ...
1
vote
1answer
168 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 ...
0
votes
1answer
617 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
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 ...
6
votes
1answer
100 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
269 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
332 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
118 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 ...
1
vote
2answers
733 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
229 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
174 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
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 ...
2
votes
1answer
208 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
269 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
302 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. ...
4
votes
1answer
716 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
154 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
250 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
353 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
347 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
301 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
218 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
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 ...