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

learn more… | top users | synonyms

2
votes
1answer
29 views

How to use fontspec and also have small bold caps with lualtex?

I was told by the Latex gurus that I should use \usepackage{fontspec} when using lualatex. But now my small bold caps do not work: they come out only bold, but not caps, even though I added \...
1
vote
1answer
21 views

Fontspec BoldFeatures font not found

I'm trying to fiddle TeX Gyre Heros' Small caps into Helvetica using fontspec and xelatex; here's an MWE of my code: \documentclass{standalone} \usepackage{fontspec} %v2.5a %\setmainfont{...
1
vote
0answers
88 views

Fatal fontspec error: “cannot-use-pdftex”

Good evening to everyone, I'm facing a problem while attempting to write my CV on TexStudio. I was used to write it following this template: \documentclass[a4paper,10pt]{article} %A Few Useful ...
2
votes
1answer
28 views

CM Concrete with Latin Modern bold in LuaLaTeX/XeLaTeX?

With LuaLaTeX or XeLaTeX, how do I use Concrete (or any other font family that already has a bold) as main font but use Latin Modern bold as bold? This doesn’t work: \usepackage{fontspec} \...
0
votes
0answers
36 views

Problems using the fontspec package compiled with the XeLatex option

I'm new using Latex and I'm trying using the fontspec package: \documentclass{article} \usepackage{fontspec} \begin{document} Hello world! \end{document} I used to compile the XeLaTeXand the ...
0
votes
0answers
31 views

Sharing documents with setmainfont breaks MikTeX's on the fly package installation

When I share a document that uses fontspec's \setmainfont and the other person hasn't got the used font installed, they get an error. If the other person is using MiKTeX they are used to packages ...
2
votes
1answer
37 views

Can't get small caps to work when defining specific font file in fontspec

I am trying to use specific font files using fontspec that are not in my known path. \setmainfont [Path = Fonts/Cormorant_Garamond/, ItalicFont = CormorantGaramond-Italic, BoldFont = ...
2
votes
2answers
64 views

Xelatex Fontspec Cannot Find Fonts

I've been working with a large document in Sharelatex for some time and I kept getting a fontspec error that it could not find the font file. However, despite this error message the document kept ...
2
votes
2answers
65 views

How to replace italic small caps with upright small caps (using fontspec)?

I use XeLaTeX with fontspec and the EBGaramond font, and I would like to get rid of the italic small caps: when writing for example \emph{Lorem \textsc{ipsum} dolor}, I would like to get something ...
2
votes
0answers
27 views

fontspec: Small Caps feature wrong ligatures when using Renderer=Basic

If I use SmallCapsFeatures={Renderer=Basic} as an option when setting the main font of the document, I get an obviously wrong ligature in the small caps shape. In the MWE the letters T and h are not ...
0
votes
0answers
26 views

Using mathpazo with sc but still have small caps for bold titles using tgpagella?

I have found this link to code to get this working but doesn't work for me. I still don't get bold small caps even with switching the font like done in the example. Is there anyway to keep the sc ...
1
vote
1answer
26 views

Set negative leading for a block of text (with a specific font) using lualatex

I'm typesetting a block of text within the quote environment which should represent an handwritten letter. I'm using lualatex and I was given a specific font to work with for this special part of the ...
0
votes
1answer
25 views

Can't apply color inside fancyfoot, setmainfont overwrites it

I'm using fancyhdr package and have this tex file: \documentclass[a4paper]{testcv} \usepackage{fontspec} \usepackage[russian]{babel} \footersection{\today}{Footer text}{} \begin{document} Page text ...
1
vote
1answer
44 views

How to change the fonts of this document?

I would like to modify the fonts used in that document which used \usepackage{mathptmx}. I thought it could possible using Xelatex, but I don't know to do it. This is my MWE : \documentclass[10pt,...
2
votes
0answers
35 views

pst-3d + macos + fontspec

I think this is a FAQ but I'm not finding the right question to look for, I think. If I use xelatex and pst-3d the resulting pdf does not show any 3d transformation. If I use latex and dvips the 3d ...
4
votes
1answer
69 views

after changing to \usepackage{fontspec} now make4ht do not compile my Latex file in lualatex mode

I was told by Latex experts to use \usepackage{fontspec} with Lualatex. It works ok with lualatex, but now my files do not compile with make4ht any more after I changed to \usepackage{fontspec}. ...
1
vote
0answers
29 views

Why does setting \russianfont cause fontspec to find no support for Cyrillic in a font which works with \setmainfont and Russian as the main language?

This example is from ScumCoder's question, based on Grigory M et al.'s answer. If I compile the following code with XeLaTeX, all is well: \documentclass{article} \usepackage{fontspec} \usepackage{...
2
votes
0answers
38 views

LuaLaTeX Error: Missing characters which are in the fonts used

when I let LuaLaTeX process input files which contain certain rather unusual Unicode glyphs, some of them do not show up. Instead, there is a warning message in the log: Missing character: There is ...
5
votes
1answer
71 views

How can I extract font information while isolating the scope of the target font?

(I had to change the title of this question, sorry early viewers.) I knew all along that I had serious scope issues, but the code was "good enough" until now. My code was working fine for me because ...
0
votes
0answers
18 views

Using fontspec \setmainfont with FontExplorer X directory structure

I found a way how to use fontspec with custom font directories, but it does not really work as intended, I suppose: Using LuaLaTex with TeXLive 2016 on MacOS X 10.11.5 – It would be very convenient ...
0
votes
0answers
21 views

XCharter font changes sans serif font as well [duplicate]

I'm trying to use XCharter font for regular text and gillius2 as sans font. Either font works fine when used individually. But when used together, the final document doesn't display sans serif font at ...
2
votes
1answer
56 views

LuaTeX does not find dfont fonts

I am currently working on my master thesis for which I use LuaLaTeX and Helvetica as my main font. I include it like this: \usepackage{fontspec} \setmainfont{Helvetica} This used to work quite well....
0
votes
1answer
43 views

expl3 2016 .dtx files to .sty

I have a very similar problem to this old one, closed for being too specific: File expl3.sty not found when trying to compile a *.tex file with XeLaTeX But I have read a few people having it with no ...
5
votes
2answers
142 views

setting font size in XeLaTeX

Previous questions have sought a straightforward way to specify font size (e.g., in points) of a new font family when using fontspec. One reason for why this might be needed is that some journals ...
6
votes
1answer
39 views

Uppercase Gamma not appearing in mtpro2 package with fontspec, Baskerville, and XeLaTex

Please help with the stated problem. I can't get \Gamma command to render an upper case straight gamma greek letter. I am using TextPad on a MacTex distribution with mtpro2 lite and Baskerville font ...
2
votes
0answers
40 views

Aboriginal fonts cause wrong page size warnings

On texlive on Ubuntu I've installed texlive-xetex and texlive-humanities. I find that on a simple document with only a \maketitle, using \setmainfont{Aboriginal Serif} creates many warnings. \...
8
votes
2answers
147 views

TeXLive2016 lualatex does not use optical sizes for MinionPro opentype font

With current texlive 2016, the file \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX}} \setmainfont{Minion Pro} \begin{document}% \newcommand{\MyText}{No offence ...
7
votes
2answers
163 views

Defining new font family with fontspec

I'm trying to reproduce historical examples of typography and there's something I don't know how to obtain: poems are typed in italic, except the initial capital letters of each verse is upshape, and ...
6
votes
1answer
75 views

Remove ligature in a font using luaotfload (TeXLive 2016)

The luaotfload package in TeXLive 2016 has an interface to add new font features and replace the FeatureFile feature of fontspec in previous versions (see the following patch: https://github.com/wspr/...
1
vote
1answer
29 views

LetterSpace without \usepackage{fontspec}

I need to increase the LetterSpace of a piece of my text. I know that it is possible with this code: \usepackage{fontspec} \NewDocumentCommand{\allcaps}{m}{% {\addfontfeatures{LetterSpace=7.5}#1}% ...
3
votes
1answer
58 views

Problems with LuaLaTeX and Combining Characters

A project I'm working on requires the use of a somewhat unusual character, m̊. Unlike, say, the "a with ring," as in Swedish, a pre-combined form of this letter does not exist in Unicode, it can only ...
4
votes
2answers
123 views

How do I load a texlive font with fontspec?

This is a XeLaTeX question. It seems really silly to ask after many years of using fontspec and XeLaTeX. I suppose I have always found a workaround. This time, I'd like a definitive answer. ...
3
votes
1answer
95 views

fontspec with LuaLaTeX using Arial Narrow, while XeLaTeX is correct

I'm currently working on a document which I edit from multiple machines, both running Windows 10. In both cases I'm using Miktex (x64). There is however an issue on one machine, when I try to compile ...
5
votes
1answer
120 views

How to use Coolvetica font in LaTeX for Ubuntu 14.04?

How can I use the Coolvetica font within my document? I downloaded the fonts as a .zip file and have to install it and call it using XeLaTex.
1
vote
1answer
79 views

latex, xetex - and zapfino

I know how to use LaTeX (not an expert, but still quite some experience - wrote couple of papers and my thesis, can make TikZ pictures etc.), but I don't have the slightest idea, what XeTeX, LuaTeX, ...
3
votes
0answers
40 views

Specify fonts from specific .ttf files

In order to specify the sans serif font in report I am successfully using the following and all of the font shapes are being reproduced in the pdf without warning. \setsansfont[Path = fonts/Lato2OFL/,...
2
votes
1answer
36 views

Accessing glyph using \XeTeXGlyph disrupts content

I wish to use KFGQPC Symbols font in my document. It's not a standard font as it consists of only symbols. It can be downloaded from here named as Symbols1_Ver02.otf. The index of the symbols can be ...
1
vote
0answers
32 views

Telugu Font error in beamer document class

I am trying to include telugu font for only one paragraph text in latex. In 'article' document class, it is producing the required output but when I change the class to 'beamer', it is giving an error ...
3
votes
1answer
61 views

Importing “ß” from a different font

I am using a template for a CV letter which does not include the "sharp S" in its font. Instead it compiles every possible way to encode "ß" into "ss". I would like to import the symbol from a ...
1
vote
2answers
36 views

CV template not compiling

I am attempting to get someone else's CV template to compile but it is not working. I am on Linux using the TeX Live packages. Unfortunately the following line is causing problems: \setromanfont [...
1
vote
1answer
26 views

fontspec and local (relative) directory

I want to install a (ttf) font in a local, relative directory and use it with fontspec / texlive 2015. For example I download TheanoDidot-Regular.ttf from http://www.fonts2u.com/theano-didot-regular....
4
votes
0answers
76 views

Alegreya font kerning problems

I have a question, whether there is some possibility to adjust kerning around some specific symbols without caring what symbols will be written next. Also, could I possibly adjust kerning only for ...
1
vote
1answer
86 views

Change font size with fontspec package

What is the recommended approach to change font size with the fontspec package? I have found several ways that appear to work, but some unexpected behavior along the way. What am I doing wrong? I ...
4
votes
1answer
47 views

Math alphabet ignores fontspec options on LuaLaTeX

I am trying to create a new math alphabet on LuaLaTeX, based on the code of mathspec. I set up a font family with some options via fontspec and declare it as an alphabet. Although it seems to work, ...
2
votes
1answer
38 views

Grouping and undefined control sequence error

I was trying to figure out an answer to another question, which required a change of font and size in the middle of a sentence. So I tried to use a \begingroup and \endgroup to isolate the change of ...
3
votes
1answer
44 views

IPA characters not showing up in XeLaTeX

I'm new to XeLaTeX and trying to figure out how to use IPA characters. Everything I've read says that I just need to use the fontspec package and the characters will show up as intended. Unfortunately,...
0
votes
2answers
48 views

fontspec breaks loading of fonts via renewcommand

I have a custom Latex class from my employer that (besides some other stuff) loads the Fonts Charter and Frontpage (Fonts supplied with the class). It works fine with pdflatex and basically loads the ...
4
votes
0answers
61 views

Problem with lualatex and feature files

I want to use a feature file to change the positioning of a single letter, but it does not seem to work. Here is an example: \documentclass{article} \usepackage{fontspec} \RequirePackage{...
2
votes
1answer
114 views

\chaptermark undefined error in classicthesis.sty when I (attempt to) redefine \spacedlowsmallcaps

My MWE does not compile and the error is: ! LaTeX Error: \chaptermark undefined. I have debugged to the extent that I know the error is the interaction between classicthesis and my \SC command ...
0
votes
1answer
52 views

How to configure TexStudio to compile using XeLatex for Calibri Font? [closed]

I am trying to make the Calibri font work in TexStudio. Following several posts on here I included the command in the preamble: \usepackage{fontspec} \setmainfont[Mapping=text-tex]{Calibri} And ...