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

learn more… | top users | synonyms

0
votes
0answers
50 views

Compiling letter using xelatex and Sublime Text 3?

I recently upgraded to Sublime Text 3. I have troubles compiling a letter template that requires the fontspec package and compilation with xelatex. I'm using the LaTeXTools package and tell Sublime to ...
2
votes
1answer
81 views

General guide on how to set up font families for luaLatex

In A Survey of Free Math Fonts for TEX and LATEX are great examples of harmonizing fonts in Latex. For example consider the text fragment for CM Bright: With pdfLatex it was sufficient to just ...
12
votes
2answers
13k views

Problem while compiling friggeri CV template with: ' fontspec error: “font-not-found”'

I have somme problem while I'm trying to compile template CV from: http://www.latextemplates.com/template/friggeri-resume-cv . I have install texlive-full package on Ubuntu and tryied to compiled this ...
3
votes
1answer
71 views

Letterspace all caps in document

How does one letterspace all uppercase letters in a document? I can achieve this for small caps with fontspec: \usepackage{fontspec} \setmainfont[SmallCapsFeatures = {LetterSpace = 7.5}]{Warnock ...
3
votes
2answers
173 views

Fontspec: Bold Small Caps with Alegreya Font

I'm using the Alegreya font in XeLaTeX and, after scouring the fontspec documentation, I can't figure out how to specify the bold small caps font (not to mention the italic small caps). I feel like ...
5
votes
4answers
412 views

Switching fonts in section titles while maintaining a serif/sans-serif distinction for ToC vs. title itself

The solution to this problem is probably something absurdly simple, but I'm too stupid to see it … Consider a document written in blackletter. German blackletter typography rules require latin words ...
2
votes
1answer
43 views

Locally redefining a macro within a section's short title

Background and Problem I'm using XeLaTeX to typeset a document in blackletter font, which requires the use of antiqua fonts for loan words and others. So I have created two commands to explicitly set ...
14
votes
1answer
197 views

Kerning and ligatures in TeX without TeX

I am trying to get the same output as in this answer by topskip (an extended version with comments is presented in the TeX without TeX article). I am getting a paragraph consisting of 6 lines with ...
6
votes
1answer
86 views

\text<language> (polyglossia) changes font

I'm using polyglossia to switch between languages in my documents and fontspec to define various fonts. The combination gives me the following problem. An MWE: \documentclass{article} ...
1
vote
0answers
66 views

Write in Persian without xepersian using Pdftex compiler

Currently I am using fontspec package to write Persian characters in my paper. As far as I know, fontspec needs xepersian to be compiled. My problem is this: we are going to submit our paper ...
0
votes
0answers
21 views

Normal numbers are superscripted when using \fontspec{<font name>}[Fractions=On]

This MWE produces superscripted numbers on my Windows machine. \documentclass{article} \usepackage{fontspec} \begin{document} \noindent \fontspec{Times New Roman}[Fractions=On] Should not be ...
18
votes
2answers
1k views

How should fontspec be set up to exploit the best features of Pro fonts?

Suppose that you have a Pro class fonts such as Adobe Arno which has several design sizes as described below: Design Size Size Ranges Caption: 8 point 5–8.5 point SmText: 10 ...
2
votes
1answer
115 views

Use an *.otf font with fontspec

I an running Tex Live 2012 and would like to use the font Fira Sans in my documents. Unfortunately it is a relatively new font so not included in any of the packages for this version of Texlive. ...
6
votes
2answers
56 views

Use monospaced numbers in gb4e's example number, but proportional elsewhere

I'm using proportional numbers in my document. But in gb4e's example numbers, I would like to have monospaced numbers, so that the width of the example parenthesis remains the same throughout my ...
4
votes
2answers
51 views

How to redefine the \ce-command in oder to force a specific font?

Prologue I want to write a document that I can output in both blackletter and latin typefaces just by commenting out a few commands and removing the comment signs from others. Because German ...
6
votes
1answer
510 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} ...
10
votes
1answer
181 views

Letterspacing via microtype vs fontspec (in LuaLaTeX)

I've just realised that I can get somewhat similar letterspacing effects using either the microtype or fontspec packages; for example: \documentclass{article} \usepackage{fontspec} ...
0
votes
0answers
36 views

xeCJK - CJK text colors for customized commands not changing as specified

I'm using the template Deedy-Resume to create my resume. English version works fine, however I'm not sure how to create a Chinese version properly. I used the package xeCJK. The fonts are rendered but ...
2
votes
1answer
168 views

Missing font for friggeri cv (despite installation)

For my cv I'm using the friggeri-cv template, which was already was reason for serveral threads here. The template is heavily build on HelveticaNeue, which is installed on my system ...
1
vote
1answer
155 views

Tibetan unicode font not appearing properly [duplicate]

I am making a document using a Tibetan unicode font with XeLaTeX and fontspec. However, the text is not appearing properly. The super– and subscripted letters appear next to the base letter instead ...
2
votes
1answer
75 views

How can I use LuaLaTeX for `europasscv`?

I want to write a europasscv in the same format as my other material for application etc., for which I use LuaLaTeX. The problem up to now is that I can't even make use of TeX Gyre Heros as sansfont, ...
0
votes
0answers
207 views

miktex/xelatex & fontspec

Well I follow the suggestion here. I made sure l3kernel and l3package are activated. And the other two are uninstalled. However the error as described there still exists, so that answer is no longer ...
0
votes
1answer
60 views

Temporarily changing the math font in certain environments

A follow-up question to my earlier post here. In my document, I want to typeset the tables in a different font from the main text. I've managed to make that work for regular input. However, I ...
5
votes
2answers
139 views

italic small caps in Garamond #3?

I have the OTF files for Garamond #3 LT Pro, supplied by my publisher. I need to use italic small caps. The following MWE: \documentclass{article} \usepackage{fontspec} ...
2
votes
1answer
70 views

Selecting font features for tabular data

I am writing my thesis using (among others) the KOMA-script and fontspec packages. I would like to select the default sans serif font (and add some font features) for my tables. I know how to do this ...
6
votes
1answer
94 views

Why are Accented Capital Letters not well decoded in QRCODE?

Double accented capital letters, such as ÙÇ, ÙÉ, ÀÇ, and ÈÏ, are not well decoded in a qrcode. Is there a way to fix that ? \documentclass[french]{article} \usepackage{fontspec} % if this package is ...
14
votes
1answer
835 views

Is it possible now to use microtype with opentype fonts?

LuaTeX has limited support for microtypograhpy now, and it can be invoked if only type1 fonts are used. But is it possible for microtype to work with opentype fonts loaded with fontspec now? I have ...
15
votes
3answers
8k views

Switching back to Computer Modern within XeLaTeX

Until I select a font using \fontspec{ ... }, XeLaTeX uses the default of Computer Modern. Once I select some font, I have no idea how to re-select Computer Modern. Can anyone help?
11
votes
1answer
118 views

Why does fontspec interact with the footnote marks of the \thanks command?

I have discovered a behavior that I cannot explain. When compiling the MWE \listfiles \documentclass{article} %\usepackage{fontspec} \title{foo\thanks{bar}} \author{baz\thanks{qux}} ...
5
votes
2answers
178 views

Font for small caps in (French style) figure caption labels

Polyglossia {french} in Memoir Class. My preferred font is Open Sans. MWE compiled with XeLaTeX: \documentclass[a4paper,article]{memoir} \usepackage[demo]{graphicx} \usepackage{polyglossia} ...
0
votes
0answers
24 views

babyloniannum package error

I want to use babyloniannum to write some equations. When I run the comipler I got errors like this latex code: \documentclass[paper=a4]{minimal} \usepackage{pgffor} \usepackage{babyloniannum} ...
3
votes
0answers
103 views

Is LuaTeX planned to have as good font capabilities as XeTeX? [closed]

The title almost says it all. As I understand it, XeTeX was built from the ground up for its font support, while LuaTeX only got fontspec support years after its creation. While font support will ...
4
votes
1answer
59 views

Latex Tengwar Combining Diacritics Not Combining

This is the code I am using to try and get nicely combined Tengwar, but it's coming out with all the combining diacritics on circles next to the characters, instead of on top of them. ...
4
votes
1answer
44 views

Changing the language makes the font weight (semibold) go away

Here is a minimal working example: \documentclass{article} \usepackage{polyglossia,fontspec} \setdefaultlanguage{english} \setotherlanguage{latin} \setmainfont{Source Sans Pro} ...
7
votes
2answers
139 views

LuaLaTeX: Replace character “ß” in CMU fonts

The glyph for the character "ß" differs considerably between Latin Modern and the CMU fonts (CMU Serif, CMU Sans Serif etc., which use the same glyphs for ß as cm-super; see this answer): I much ...
3
votes
2answers
150 views

(New) Century Schoolbook Font in LuaLaTeX

I recently made the switch to LuaTeX from pdfTeX. Before the switch, I used the fouriernc package to set the document's font to New Century Schoolbook. I've come to understand (from this document) ...
2
votes
1answer
93 views

How to \setmainfont when “randomfont.ttf” is in different folder?

I'm currently working in sharelatex online Latex editor, using XeLaTeX. I had all the fonts working using the fontspec package, however once moved to the Fonts folder there is no way to make them ...
18
votes
6answers
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
0answers
172 views

XeLaTeX - Bottleneck at eu1enc.def [closed]

With XeLaTeX my compiler always consistently slows down when it comes to accessing eu1enc.def (I am using the fontspec package). I tried with copying that file and the others employed at that point ...
2
votes
1answer
46 views

Is there a good workaround for the fact that when using fontspec to do fake slant and small-caps-by-scaling the small caps will also be fake slanted?

Fake slant does not play nice together with using scale for doing fake small caps with fontspec. There seems to be some kind of definition leakage in fontspec meaning that when I specify both ...
2
votes
1answer
36 views

Glossaries and fake small caps using fontspec

I want to use faked small caps when doing a list of abbreviations using the glossaries package. I am using another font but for reproducibility purposes in this example I have used Linux Libertine O. ...
6
votes
2answers
156 views

LuaLaTeX, Fontspec: Wordspacing and Letterspacing

I have a command \work which will format titles in SmallCaps and with less letter spacing. Now the funny thing: If I try to add some word spacing, too, and only for SmallCaps, it affects the whole ...
1
vote
1answer
98 views

How to change font for axes, labels, etc in pgfplots using fontspec (lualatex)?

I need to make figure with Garamond font applied to axes and labels, as well to text in nodes. This is my MWE: \documentclass[12pt]{standalone} \usepackage{tikz} \usepackage{pgfplots} ...
3
votes
1answer
381 views

XeLaTeX fonts don't work well on Windows?

I have recently downloaded the template for a CV from http://www.latextemplates.com/template/plasmati-graduate-cv. It is supposed to be compiled using XeLaTeX, with previous installation of the Fontin ...
1
vote
0answers
19 views

Font style monotype corsiva [duplicate]

What is the font used in this image please? Best Regards,
27
votes
7answers
6k views

Hand written fonts in LaTeX/XeTeX/LuaTeX

Recently my struggle to find out some handwritten fonts for some document led me to this question. What are the various packages that give nice looking handwritten and / or calligraphic fonts? I ...
0
votes
0answers
42 views

Double minus sign not changing to long sign when using XeLaTeX system font [duplicate]

Normally I often use the sign -- to display a long minus sign — in my text. However, after using the fontspec package and setting my main font to "HelveticaNeue" the long minus sign isn't displayed ...
4
votes
0answers
108 views

unicode-math + siunitx + lualatex = long compile times. Why?

The following MWE, compiled under several situations (with appropriate lines removed) gives the following timings (with all output files removed between runs), as timed by Measure-Command on Windows 7 ...
3
votes
1answer
130 views

An annoying overflow in mdframed environment with tufte-handout

I'd like to highlight a text block in a Tufte style document. I defined myblock environment based on mdframed package. \documentclass{tufte-handout} \definecolor{MyGray}{rgb}{0.95,0.95,0.98} ...
3
votes
1answer
119 views

Select first available font XeTeX

How to select first available font from the list of suitable fonts? Currently I use \setmainfont{Liberation Serif} command in Ubuntu and \setmainfont{Times New Roman} in Windows environment. I would ...