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

learn more… | top users | synonyms

2
votes
1answer
27 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
34 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
29 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
57 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 ...
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 ...
1
vote
1answer
77 views

Why 'xelatex' fails to find the font?

I'm using xelatex the create a PDF from a tex file. Normally I use the command: \setmainfont{DejaVu Sans} \newfontfamily{\hebrewfont}{DejaVu Sans} Which successfully loads the font. Though when I ...
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
26 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
23 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
92 views

How to use an alternate font in acm-small

I am writing a paper in English and I am using standards of acm-small latex version to generate files. I have used the acmsmall-sample.tex which has been provided by default and edited it to generate ...
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 ...
2
votes
1answer
91 views

Can't load system font by name with XeLaTeX but with LuaLaTeX

I installed a TrueType font in windows 10. Now I want to use it with XeLaTeX. The font can't be loaded. The first message is Sorry, but miktex-makemf did not succeed for the following rea son: The ...
1
vote
1answer
226 views

TexPad and fontspec package

I am compiling a .tex file with XeTeX from the cloud on an Ipad with TexPad. Whenever I try to load the fontspec package, it fails. Does anyone have any experience with this problem? Can TexPad simply ...
8
votes
1answer
3k views

XeLaTeX: Space between letters

I use XeLaTeX. I need that words look stretched in some places in the document. How I can configure the space between letters in a word?
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,...
4
votes
1answer
62 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}. ...
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 ...
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{...
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 ...
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 ...
4
votes
2answers
59 views

how to set Latin Modern Mono Proportional in Xelatex

I am using xelatex and fontspec: I tried something like: \setmonofont[Mapping=tex-text, CharacterWidth=Proportional]{Latin Modern Mono} but this does not exist (?). How can I set the mono font to ...
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 ...
5
votes
2answers
136 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 ...
2
votes
1answer
52 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....
8
votes
2answers
146 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 ...
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 ...
7
votes
1answer
875 views

fontawesome and pdflatex [closed]

When using pdflatex and the fontawesome package the below error shows up. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Fatal fontspec error: "cannot-use-pdftex" ! ! The fontspec package ...
2
votes
0answers
39 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. \...
5
votes
2answers
145 views

XeLaTeX French guillemets non-breaking space best practice

What is the best approach to get a non-breaking space just before the closing French guillemet » ? I wish to be able to type in the natural style, which in French is « bonjour » with non-breaking ...
3
votes
1answer
94 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 ...
7
votes
2answers
159 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/...
4
votes
2answers
120 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. ...
1
vote
1answer
28 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 ...
3
votes
2answers
76 views

Still want to use “ptm” in XeLaTeX

I'm using XeLaTeX typesetting Chinese fonts in my document. (So XeLaTeX is the only suitable way for me to do my stuff.) I want to use the LaTex original ptm font to typeset all English text. I know ...
8
votes
2answers
719 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} \...
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
78 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
35 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 ...
1
vote
2answers
35 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 [...
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
1answer
25 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
74 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 ...
6
votes
2answers
535 views

Which font extension is better to work with XeLaTeX

I am curious to know which font extensions works better when using XeLaTeX to compile a TeX document. I have just downloaded the font Alegreya from CPAN, and it comes with a fonts folder that includes ...