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

learn more… | top users | synonyms

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 ...
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 ...
5
votes
2answers
115 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
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 ...
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. \...
8
votes
2answers
125 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
138 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/...
1
vote
1answer
22 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 ...
3
votes
2answers
90 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
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 ...
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
53 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 ...
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
2answers
31 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
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
18
votes
2answers
703 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}...
1
vote
0answers
31 views

XeLaTex / fontspec error : “script-not-exist” e

I'm attempting to typeset Devanagari in XeLaTeX. I'm using the font chandas.ttf and the RomDev mapping (for roman --> devanagari script; found here: RomDev from somadeva). This worked for me once upon ...
0
votes
1answer
62 views

Palatino package and fontspec

I want to use the palatino package in XeLaTeX but I often use accented letters so I also load the package fontspec. However, after loading the fontspec package I get the error: LaTeX Font Warning: ...
0
votes
0answers
132 views

XeLaTeX with fontspec gives “Undefined control sequence” error after MiKTeX update - volume 2

I have the very same problem as in XeLaTeX with fontspec gives "Undefined control sequence" error after MiKTeX update. But in my case, repeatedly running the two MiKTeX updaters does not ...
1
vote
0answers
20 views

“Debugging” installed fonts. Which font is mapped to which serie/shape?

I installed some new fonts using autoinst. Now I have a problem finding back the font family/shape/serie which belongs to my bold font which I believe I installed it. After I did: \usefont{T1}{&...
0
votes
0answers
53 views

Use Fandol fonts to create PDF with Chinese

I am using xeLaTeX to create PDF with Chinese characters. This is my code: \documentclass[openany,a4paper,11pt]{book} \usepackage{ctex} \setCJKfamilyfont{song}{FandolSong-Regular.otf} \...
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 ...
2
votes
0answers
49 views

LuaLatex removes ligatures with LetterSpace

If I compile the following (M)WE with LuaLatex, all the possible ligatures are removed. This does not happen with the standard font or if I remove the \defaultfontfeatures{LetterSpace=1} or if I set ...
2
votes
0answers
60 views

Adding default font features to \sffamily

It seems I can't add any extra default font features with fontspec after the font is set e.g. with \setsansfont. Code: \documentclass[10pt,a4paper]{article} \usepackage{lipsum,fontspec,xcolor} %% &...
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
44 views

How to use 'BoldFeatures' to colorize bold texts, but override that color for individual text strings?

In my document preamble I use the following code to set my desired font and at the same time to set as default text colors different gray values for italic, bold and bold-italic text: \usepackage{...
2
votes
0answers
81 views

Tex document not building in new computer (fontspec)

I have a resume written in Tex that was working just fine. I had to change my HD drive due to a problem. I installed Miktex 2.9 and TexMaker again and configured the packages to download and install ...
7
votes
1answer
112 views

XeLaTeX, fontspec and printing the name of the current font

Is it possible, using XeLaTeX and fontspec.sty, to write a macro, say, \printcurrentfont, such that it would print the name of the font currently in use? I have looked through the fontspec ...
3
votes
2answers
72 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 ...