{fontspec} is a package for loading {opentype} fonts in XeLaTeX and LuaLaTeX.
3
votes
2answers
128 views
Why does using Greek break em-dashes?
I know the conversion of --- to an em-dash is an on-going problem with lualatex. But I don't understand why using Greek in one font should (afterwards) break conversion of 3 hyphens to an em-dash in ...
5
votes
3answers
327 views
Using OTF/TTF fonts that are installed with TeXLive
I've noticed that there are plenty of OTF and TTF fonts packaged with my new TexLive 2012. For example, the Asana-Math OTF font is in
$TEXMFDIST/fonts/opentype/public/Asana-Math
And there is a TTF ...
1
vote
1answer
154 views
How do I use freeserif font in latex [duplicate]
Possible Duplicate:
Install OpenType fonts in Texlive
I am looking to create some documents in LibreOffice and LaTeX. To maintain consistency I want to use the same font FreeSerif in both ...
3
votes
1answer
164 views
Does lualatex embed fonts for compatibility?
I am using fonts installed on my computer in LaTeX document as
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\fontx{Ubuntu}
\begin{document}
The default font
{\fontx New font}
The ...
2
votes
2answers
410 views
Font features selection in Xe(La)TeX
I am using the XeTeX engine in order to compile a document based on a class of my own, and the package fontspec to select the face families and features. Though this is not relevant for my question, ...
2
votes
1answer
716 views
How to compile properly a document using “fontspec” package?
How to compile properly a document using fontspec package?
Example code (15.1. XeTeX @ LaTeX-wikibooks.pdf)
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Arial}
\begin{document}
Lorem ...
1
vote
1answer
100 views
Lining numbers in bibitem label
I'm using luatex with fontspec and Minion Pro font. I want to typeset the labels in thebibliography environment in lining numerals instead of text numbers (as it is when you simply invoke Minion Pro), ...
4
votes
1answer
227 views
XeLaTeX, Modern Latin and cyrilic
\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setsansfont{Latin Modern Sans}
\setmonofont{Latin Modern Mono}
...
1
vote
0answers
198 views
Beamerposter and fonts with xelatex/fontspec [closed]
Has anyone had success with using beamerposter and xelatex/fontspec?
I am able to use fontspec for normal documents, but when I try with beamerposter I keep getting warnings such as
LaTeX Font ...
2
votes
2answers
208 views
Switching fonts in section titles while maintaining a serif/sans-serif distinction for ToC vs. title itself
The solution to this problem is probably something absurdly simple, but I'm too stupid to see it …
Consider a document written in blackletter. German blackletter typography rules require latin words ...
11
votes
1answer
473 views
Getting started with Greek and Hebrew in LuaLaTeX
I am typesetting a 17th century English theological document that uses a smattering of Greek and Hebrew. I am using LuaLaTeX with TeXShop on the Mac.
Is LuaLaTeX up to the task? If so what are the ...
12
votes
1answer
432 views
Using TIPA with fontspec
I'm trying to write a document that will contain characters in many different scripts (for which I am using fontspec and rendering with xelatex) and IPA symbols (for which I am using TIPA). ...
4
votes
1answer
266 views
Faking small caps in XeLaTeX
In the post Fake small caps with XeTeX/fontspec? I have found the following definitions to fake small caps
\def\mycommand{\bgroup\obeyspaces\mycommandaux}
\def\mycommandaux#1{\mycommandauxii ...
12
votes
3answers
106 views
Executing a command after a package has been loaded
In my previous question I ended up with
\DeclareMathSymbol{:}{\mathpunct}{operators}{"3A}
But now I'm using the fontspec package which redefines : with \AtBeginDocument itself. So as my own ...
2
votes
2answers
345 views
Use font in XeTeX not installed on my system
Using XeLaTeX, how can I use a font that I have downloaded in a folder, but have not installed on my system? I have tried to specify the path in setmainfont{Path = C:/MyFolder/MyFonts/, but I receive ...
4
votes
1answer
302 views
Modifying EB Garamond font
Is possible modifying this font to have only the "normal" s and u also in the doubles ?
\documentclass[pagesize=auto, version=last]{scrartcl}
\usepackage{fontspec}
\usepackage{microtype}
...
14
votes
2answers
613 views
Parentheses differ (XeLaTeX, fontspec, newtxmath, libertine)
After Internal error: bad native font flag I stumbled upon another weird problem with the combination XeLaTeX/fontspec/Libertine/newtxmath:
\documentclass{scrartcl}
\usepackage[no-math]{fontspec}
...
7
votes
2answers
296 views
Internal error: bad native font flag (XeLaTeX, fontspec, newtxmath, libertine, \dot)
I'm trying to use \dot{P} in a math environment.
MWE:
\documentclass{scrartcl}
\usepackage[no-math]{fontspec}
\usepackage{libertineotf}
\usepackage[libertine]{newtxmath}
\begin{document}
...
2
votes
2answers
315 views
Specifying an oldstyle number font with fontspec
I have some trouble setting oldstyle numbers in my document. I load the font (in this case an early palatino) and define the smallcaps font via fontspec. But the oldstyle numbers are in the smallcaps ...
3
votes
1answer
266 views
fontspec for small caps and nocommon ligatures (actually, rawfeatures works, but not ligatures=NoCommon)
(This is a bit of a mess, so apologies. The final solution ended up being in a different place than I first expected. Ultimately, what was happening is a combination of a bug in Linux Libertine O, and ...
11
votes
1answer
584 views
How to choose a specific weight from a font family using fontspec and XeLaTeX
I have installed an open-type font on my OS and would like to use in a LaTeX document using XeLaTeX.
It works fine, but when I define my font family like this:
\ifxetex
...
6
votes
1answer
172 views
How to set a small linespace even with a very big letter in the text
I use a font (Aquiline), that has only a few characters, most notably the letter "A", which are quite huge in height.
I use LuaLaTex with the fontspec package.
So if I use this font and a capital A ...
6
votes
1answer
147 views
Siunitx + Junicode font: Overfull hboxes
The following MWE, using Junicode, creates 4 overfull hboxes. But any other font I tried (e.g. Linux Libertine O) creates no warnings. Any ideas?
\documentclass{article}
\usepackage{fontspec}
...
2
votes
1answer
728 views
XeLaTeX Fontspec: restore original fonts
I'm trying to use a TTF font for my code excerpts, but want to use the standard latex fonts for the rest of the document. I'm using the following code, as recommended by this question.
...
13
votes
0answers
363 views
LuaLaTeX + fontspec: cannot compare documents with Acrobat
I use the option "compare documents" in Adobe Acrobat Pro a lot to highlight changes between revisions. What I just noticed is, if I compile a simple document such as the one below with LuaLaTeX + ...
10
votes
2answers
405 views
Substitute italic ampersand with alternative ampersand in Linux Libertine O
Based in this answer I want to create a command \amper that uses the alternative ampersand of Linux Libertine O and leaves the regular \& alone. The problem with the MWE below is that hyperref ...
7
votes
1answer
448 views
Cyrillic monospaced font in XeLaTeX
I've installed full TexLive 2011 using "install-tl" script in Ubuntu 12.04. When I was using TexLive 2009 from repositories the following file was compiled without any errors.
...
3
votes
1answer
337 views
How to install and use the key fonts for a TI-Calculator in pdflatex or xelatex
This answer http://tex.stackexchange.com/a/37550/4011 suggested that it should be possible to install a font which enables one to typeset the keys of a TI-calculator.
Now my question is, how to ...
1
vote
3answers
264 views
Avoiding increase of number of fonts (families) with fontspec/xelatex?
(I actually came to a solution with this, which I've posted separately, but I thought it'd be good to document anyways - and of course, any comments to this are welcome)
This is the problem - I need ...
2
votes
2answers
2k views
Use of \scshape or \textsc with fontspec/xelatex
I've already tried Use of \scshape or \textsc in beamer \institute fix with \rmfamily in the MWE below, but it doesn't work - I've seen A problem with \textsc as well, but I don't think I should load ...
0
votes
0answers
473 views
BoldItalicFont - XeLaTeX font selection [closed]
I have run into problems at my first attempt to use XeLaTeX and OpenType fonts. Even though I followed the instructions from the manual of the fontspec package, it seems that the bold+italic fonts ...
3
votes
1answer
226 views
What does this warning “** WARNING ** TrueType post table name index 32768 > 32767” mean?
I'm new to TeX and trying to compile this code:
\documentclass{article}
\usepackage{xeCJK}
\setCJKmainfont{WenQuanYi Zen Hei Mono}
\begin{document}
你好,\TeX!
\end{document}
I get the pdf fine, but ...
10
votes
4answers
969 views
Fake small caps with XeTeX/fontspec?
Using XeTeX and fontspec, I use the Liberation font family in of my documents. Unfortunately those fonts (esp. Liberation Serif) do not natively support small caps.
Is there a way to enable fake ...
4
votes
1answer
515 views
Strange latex font warnings with fontsize, tikz, fontspec
This is mostly the same code as in:
Problem with itemize indentation in minipage in tikz node
... but with a few changes - notably, it uses fontspec with Junicode font, and so needs to be compiled ...
7
votes
1answer
238 views
Abstract with amsart class and fontspec (with XeLaTeX)
There is an error message which I do not understand when I use amsart in conjunction with fontspec. The math text in the abstract seems to be deemed too small?
The error is
\textfont 6 is ...
5
votes
1answer
555 views
unicode-math and amsmath incompatible
When I compile the following mwe with xelatex, I am told:
ERROR: LaTeX Error: Command \dddot already defined.
--- TeX said ---
Or name \end... illegal, see p.192 of the manual.
l.571 ...
1
vote
0answers
112 views
How to remove font information at the head of page 1? [closed]
I set TeXLive 2011 on my MacBookPro. In my preamble I have:
\usepackage{fontspec}
\setmainfont{Hoefler Text}
\newfontfamily{\sbl}[Script=Hebrew]{SBL Hebrew}
When I compile with xelatex I get at the ...
2
votes
2answers
1k views
Linux Libertine O and Linux Biolinum O not found
I have TeX Live 2011. I set
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\setsansfont{Linux Biolinum O}
but I get a warning that these fonts are not found! If I try ...
0
votes
0answers
165 views
Problem with xelatex [closed]
I get the error
! Argument of \tl_to_str_aux:w has an extra }.
<inserted text>
\par
l.61 \tl_set:Nx \c_colon_str { \tl_to_str:N : }
when I try to format
...
6
votes
3answers
551 views
Proper way to change a font temporarily with fontspec
I have been using fontspec in a lualatex document where as instructed by the manual I set my main/sans/mono font in my preamble with some default features.
However at some point I wish to temporarily ...
3
votes
1answer
394 views
Font mixup with Neo Euler and Fontspec
For my document I would like to use Linux Libertine as main font and Neo Euler as maths font. However, there seems to be some conflict with the code I am using. Here is a MWE and its output:
...
3
votes
2answers
502 views
Set section and subsection header to ttf font in KOMA-script
I'd like to set a custom font I acquired for all section and subsection headers in a scratcl paper I'm writing. It's a ttf and installed correctly on my Mac.
I know about \setkomafont and ...
7
votes
2answers
519 views
Linux Biolinum O messes up moderncv Package
Take the template.tex example file from http://www.ctan.org/tex-archive/macros/latex/contrib/moderncv/examples and add these two lines:
\usepackage{fontspec}
\setsansfont{Linux Biolinum O}
Then run ...
4
votes
2answers
1k views
Angle brackets in non-math-mode text
Is there a way to directly input angle brackets into text without resorting to math-mode symbols?
I'd like to correctly indicate orthography in a linguistics paper, and have been resorting to single ...
7
votes
5answers
2k views
Hand written fonts in LaTeX/XeTeX/LuaTeX
Recently my struggle to find out some handwritten fonts for some document led me to this question.
What are the various packages that give nice looking handwritten and / or calligraphic fonts?
I ...
1
vote
1answer
136 views
Meaning of fontspec related error
I've edited a document. The edited document works well on my system, but apparently reports this error on another system:
Undefined control sequence.
<argument> ...ontspec_tmp_int\endcsname ...
1
vote
1answer
256 views
Trying to create a trifold leaflet on A3 paper using xelatex
I'm trying to make the program for my wedding. Basically what I want is for each program to be a single sheet of A3 printed front and back in landscape orientation and folded into three panels. This ...
1
vote
1answer
149 views
Fontspec transparency problems
I'm using this minimal document to test transparency:
\documentclass[11pt]{article}
\usepackage{xunicode, xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{fontspec}
...
0
votes
1answer
261 views
Specifying eulervm as mathfont in fontspec
Is it possible at all to set the Euler Virtual Math fonts (or other post script math fonts) in fontspec using \setmathrm. I want to this, rather than just loading the package, because I would like to ...
1
vote
1answer
216 views
Biblatex bibliography quotes break when using fontspec
As soon as I use fontspec in my biblatex xelatex document, my quotes stop appearing as proper quotes ", and start appearing as a pair of `` and ''.
My minimal working example, first:
...