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

learn more… | top users | synonyms

6
votes
2answers
57 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 ...
0
votes
0answers
37 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 ...
3
votes
1answer
77 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, ...
2
votes
1answer
172 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 ...
0
votes
0answers
213 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
61 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 ...
11
votes
1answer
119 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} ...
6
votes
1answer
95 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 ...
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
60 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
45 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
142 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
156 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
95 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 ...
1
vote
1answer
156 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
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. ...
1
vote
1answer
99 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} ...
1
vote
0answers
19 views

Font style monotype corsiva [duplicate]

What is the font used in this image please? Best Regards,
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 ...
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 ...
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 ...
3
votes
0answers
65 views

LuaLatex setup a different font for numbers and the rest

This question is a duplicate of this older question that strayed from the subject. I would like to make a presentation using latex class beamer, however I would like to use different fonts than the ...
2
votes
1answer
58 views

Can fontspec temporarily change a feature for a specific font on the fly?

Question After setting up fonts in the preamble with \usepackage[quiet]{fontspec} \newcommand{\fontspath}{/path/to/fonts/} \setmainfont[% AGaramondPro Path = \fontspath , Extension = .otf , ...
2
votes
1answer
70 views

how do set table body math parts in different font

How do set the table body math part only different font using XeLaTeX. My MWE is: \documentclass[a4paper,10pt]{article} \usepackage[margin=1in, showframe, nomarginpar]{geometry} ...
1
vote
1answer
70 views

Boisik font in combination with fontspec

I'm trying to use fontspec (XeLaTeX) in combination with the Boisik font, which turns out to be hard. The following order \usepackage{boisik} \usepackage{fontspec} leads to fontspec overriding ...
3
votes
1answer
51 views

Fontspec not searching in TEXINPUTS

I'm writing an application in which I want to generate pdf file using xelatex. The process of generating the pdf file from tex file takes place in a tmp file however data files such as fonts and ...
17
votes
2answers
463 views

Getting ligatures of Qv with Linux Libertine

In old texts in Danish, the letter combination Qv was common and more or less worked like Qu in English. Now the code \documentclass{memoir} \usepackage{fontspec} ...
1
vote
0answers
61 views

How to kern small caps with italics or regular characters?

Theoretical question Why are small caps and italics of the same typeface treated as if they were absolutely different (and, as a consequence, they aren't properly kerned)? I know no —so to speak— ...
7
votes
4answers
499 views

Using \fontsize in XeLaTeX and LuaLaTeX

In the Wikibooks/TeX article on fonts, it is stated that The \tiny...\Huge commands are often enough for most contents. These are fixed sizes however. In most document processors, you can usually ...
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} ...
9
votes
1answer
175 views

Why is \setmainfont case sensitive with XelateX but not with LuaLaTeX?

Consider the following MWE \documentclass{article} \usepackage{lipsum} \usepackage{fontspec} \setmainfont{tex Gyre Pagella} \begin{document} \lipsum[1] \end{document} If I compile it with LuaLaTeX ...
1
vote
1answer
67 views

fontspec and textcomp

On various sites, they recommend not loading the textcomp package under XeLaTeX but to simply use the combination of fontspec & xunicode (the latter being loaded automatically by the former). This ...
4
votes
1answer
124 views

Small caps with TeX Gyre Heros (via unicode-math/fontspec) in beamer

I would like to use small caps for short text sections in a beamer presentation. In a normal article, the following produces small caps in the TeX Gyre Heros font, as shown in this question: ...
5
votes
1answer
155 views

LuaLatex change main text font for everything a part of numbers

Thanks the abundance of templates on the Internet seldom I use LaTeX (LuaLaTeX engine) also for non-academic texts like relations or letters. So sometime I like to use other fonts than the Computer ...
4
votes
0answers
68 views

How to load baskervaldx font in xelatex

I'm trying to use the baskervaldx font in XeLaTeX; however it doesn't kern properly. With LaTeX it works as supposed. What is the right way to load the Baskervaldx font? With LaTeX, default install ...
3
votes
0answers
271 views

Tikz Externalize with LualateX - Fontspec?

There are several questions already posted about issues externalizing tikz with the Lualatex engine. However, most of these are dead ends with no correct answer. The reasons for externalizing are ...
3
votes
1answer
66 views

\XeTeXglyph for Math Mode (alternative?)

Is there an alternative for \XeTeXglyph that works in math mode? Or is there a way \XeTeXglyph itself can work in math mode? I want to access a specific glyph as a math symbol (UF091F specifically) ...
3
votes
0answers
91 views

prevent combining characters if single characters are available

I am working a lot with characters such as: ā ū ī š ṣ ḫ ḥ ǧ ġ ṯ ṭ ẓ ḍ ḏ. There are (at least) two ways to typeset such characters either as a single character or as a combined character. ...
2
votes
1answer
259 views

Bug with XeLaTeX \setmainfont{CMU Serif} command displaying Bold/Italic/BoldItalic fonts

Bold/Italic/BoldItalic fonts with \XeLaTeX's \setmainfont does not work correctly. For example (below), the \textbf{English} and \textit{English} looks like normalfont. With \LuaLaTex it is works ...
2
votes
1answer
72 views

fontspec has no effect on changing English font after using \setTransitionsForLatin

I want to write a paragraph with two languages, Khmer and English. And I want to change font sometimes. Here is the code: \documentclass{article} \usepackage[no-math]{fontspec} ...
4
votes
1answer
41 views

unwanted double width space before inline listings when using luatexja-fontspec

I am seeing an extra big space (which looks like double width space) in my document before inline listings bits: MWE: \documentclass[]{article} \usepackage{fontspec} \usepackage{listings} ...
3
votes
2answers
176 views

fontspec in book title

I have the following code: \documentclass{book} \usepackage{fontspec} \begin{document} \part{title} \chapter{\fontspec{Latin Modern Roman} chapter title} \part{title} \chapter{title} ...
2
votes
1answer
63 views

Control glossaries fontsize

What is the most convenient way to control the fontsize of the text printed by \printglossary from glossaries ? For example, \documentclass[12pt]{article} \usepackage{fontspec} ...
8
votes
1answer
126 views

Incompatibility between fontspec and graphicx (bug of XeTeX)

I got a weird problem with the fontspec package and the graphicx package. Let's see the MWE first. %!TEX program = xelatex \documentclass{article} \usepackage{graphicx} \usepackage{fontspec} ...