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

learn more… | top users | synonyms

1
vote
0answers
11 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
56 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
18 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
55 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
16 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
117 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
46 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
28 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 ...
8
votes
2answers
126 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 ...
1
vote
1answer
69 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 ...
6
votes
1answer
38 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
788 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
38 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
125 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
83 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
146 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
71 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
102 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
23 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
53 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 ...
1
vote
1answer
82 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 ...
3
votes
2answers
73 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 ...
1
vote
1answer
79 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 ...
8
votes
2answers
706 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
115 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
57 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
30 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
34 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
30 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
32 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
53 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
24 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
61 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
517 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 ...
1
vote
1answer
57 views

fontspec doesn't find Stylistic Variants in Gentium Basic

According to SIL, the font Gentium Basic --- which is a subset of Gentium Plus --- supports "literacy alternates". Consulting the font documentation (for Gentium plus, anyway), the literacy ...
2
votes
1answer
35 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 ...
1
vote
1answer
75 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
46 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, ...
3
votes
1answer
36 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 ...
6
votes
2answers
140 views

XeLaTeX can't turn off small caps

I found a weird issue when using the free typeface Fontin. \documentclass{article} % Default font size and paper size \usepackage{fontspec} % For loading fonts \setmainfont{Fontin} \begin{document}...
2
votes
2answers
2k views

Changing ToC subsection entry font in scrartcl

I have changed the default serif font of my document to use old-style numerals (I think they look quite nice). However, in the serif entries of the subsections (section entries are in a sans-serif ...
4
votes
0answers
58 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
96 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
44 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 ...
18
votes
2answers
704 views

Scrartcl 13.999 point 14.4 point but not 14 point?

Can the scrartcl class make a true 14 point type? It will produce 13.999pt, 13.9999pt and 13.99998pt, but 14pt produces 14.4 point type only. Thanks :) \documentclass[fontsize=13.999pt]{scrartcl}...
0
votes
0answers
88 views

Fix encoding for ligatures of fonts in XeTeX / LuaLaTeX (specifically for Minion Pro)

Ligatures in the MWE below are not encoded properly when compiling with LuaLaTeX or XeLaTeX using TeXShop on the Mac. Copying "The difference" from the pdf to a text editor renders "e di erence". I ...
1
vote
1answer
29 views

XeLaTeX ligatures clash with package xesearch

I am using XeLaTeX to compile a document in French, using the fontspec package (with the Ligatures=TeX} option) and babel package (with the french option on). The problem: the endash and emdash ...
16
votes
4answers
20k 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 ...