{fontspec} is a package for loading {opentype} fonts in XeLaTeX and LuaLaTeX.
19
votes
2answers
625 views
How to get Wikipedia W from Linux Libertine?
How can I get the Wikipedia-looking crossing-w from Linux Libertine font?
They talk about it on their homepage and in the wikipedia article, but I can't find an example of how to actually produce it.
...
6
votes
3answers
1k views
Change the font of the block quote?
Sorry if this is a duplicate, but I can't find the right way of doing this.
I want to redefine my quote and quotation commands to use a different font. My main font is Linux Libertine O (I am using ...
12
votes
1answer
209 views
Why use \DeclareTextFontCommand vs. just \newcommand?
Why should I use \DeclareTextFontCommand vs. just \newcommand?
In the answer to my previous question, @egreg said:
With \DeclareTextFontCommand you get a robust command that will remain
...
3
votes
1answer
527 views
Open Type Fonts have different scale in XeLaTeX
I am trying to create a template that allows easy switching of the main font using fontspec. I have noticed that the size of different fonts varies greatly, as the picture below illustrates. If we ...
1
vote
1answer
226 views
fontspec FakeBold affects text in graphics
In the minimal example below (compiled with XeLaTeX in MacTex), the FakeBold option in package fontspec works as intended for the main text, using Times to represent the non-default font I am using in ...
25
votes
1answer
502 views
In lualatex, hyphenation doesn't seem to work for words that contain certain ligatures
It would seem that hyphenation does not work properly under LuaLaTeX if the hyphenation points occur at places where TeX inserts ligatures. Consider the following MWE, which (i) provides hyphenation ...
13
votes
1answer
1k views
XeTeX warning: Redefining document command \oldstylenums with arg. spec. 'm'
I updated my MiKTeX to the newest version a few days ago, and after this when I compile documents with the fontspec package included, there's a warning. For example:
\documentclass{article}
...
10
votes
1answer
353 views
ledpar: Get rid of any space between paragraphs while retaining the synchronization of the pagecontents
My question: Is there a way to simply get rid of any space between the paragraphs of ledpar- while retaining the pagesynch? (I understand that synchronizing paragraphs is a feature of ledpar, put I ...
2
votes
0answers
87 views
Randomizing font selection in XeLaTeX, per character [duplicate]
Possible Duplicate:
The effect of the anonymous letter
I have a bit of a programming question, and I think it's in line with what LaTeX (XeLaTeX in my case) is suited to do.
I would like ...
10
votes
2answers
1k views
How do I change the font size in LuaLaTeX?
\documentclass{minimal}
\usepackage[paperheight = 140mm,% comprimento
paperwidth = 200mm,% altura
margin = 10mm % tamanho da margem
]{geometry}
...
1
vote
1answer
967 views
hyperref error when using XeLaTeX and fontspec with LaTeXmk
I have defined a compilation tool for TeXWorks as follows:
Program: latexmk
Arguments: -e
$xelatex=q/xelatex $synctexoption %0 %S/
-pdf
$fullname
It works fine in ...
2
votes
1answer
290 views
How do we install additional fonts for xepersian on MiKTeX 2.9 Win XP/Win 7 [closed]
I want to install several fonts such as
IranNastaliq
Niloofar
and several others.
How is this done?
10
votes
2answers
587 views
Kerning issue with Adobe Garamond Pro: XeTeX or font file to blame ?
I have run into a strange kerning issue, limited to the German letter pair Wä, when using the Adobe Garamond Pro font with XeTeX. The document looks great except for that particular pair. But see for ...
3
votes
1answer
217 views
MiKTeX portable fontconfig file location configuration
I moved MiKTeX portable to another directory, and after that there are issues with loading fontconfig. Specifically, when compiling with xelatex, fontconfig cannot be loaded. Its location is ...
3
votes
2answers
520 views
LyX and mathspec gives fontspec error, unicode-math no better
I get the following error message whenever using mathspec in LyX
...Package[\eu@zf@math]{fontspec}[2008/08/09]
The package fontspec has already been loaded with options: [] There has now been
an ...
9
votes
1answer
767 views
Basic kerning with XeTeX
Trying to use custom fonts with LyX, so I started using XeTeX.
Unfortunately, It seems kerning only works with certain OpenType fonts (Linux Libertine) but not for others (Doulos SIL or Charis SIL).
...
12
votes
2answers
1k views
What math fonts are available that work in xelatex?
For LaTeX, we have the Font Catalogue which is a good resource for fonts available through LaTeX.
There doesn't appear to be a similar resource for Xe(La)TeX. So let's say I'm bored of computer ...
6
votes
3answers
381 views
What does 'font name' in the fontspec package refer to on a Mac
On a Mac using XeLaTeX and the fontspec package, what is meant by font name?
The Font Book application lists several possibilities:
PostScript name
Full name
Family
I.e. which name should I type ...
6
votes
2answers
1k views
What fonts should I specify to render Tufte documents using XeLaTex?
What font specification commands should I have in my Tufte-based document if I'm rendering it using XeLaTex?
My document renders as expected using pdfLaTeX, but when I switch to XeLaTeX, though ...
2
votes
1answer
582 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 ...
2
votes
1answer
127 views
antt is not compatible with fontspec
The code
\documentclass{article}
%\usepackage{fontspec}
\usepackage[condensed,math]{anttor}
\usepackage[T1]{fontenc}
\begin{document}
0123$0123$
\end{document}
run well when I compiled with ...
2
votes
1answer
965 views
kpathsea/fontspec does not recognize a font whose name has a space in it
Using XeLaTeX and the fontspec package, I am experiencing problems using fonts whose name includes the space character. Here is a simple example:
\documentclass{article}
\usepackage{fontspec}
...
1
vote
1answer
621 views
MacTeX 2011, Xetex and Tex Live Utility
I tried several times to play with XeLaTeX (being used to "classical" LaTeX) but since I installed MacTeX 2011 and updated it with TeX Live Utility, I got that kind message :
...
10
votes
1answer
309 views
text figures (old style numbers) and mhchem
How do I achieve lining figures with mhchem while maintaining text figures in the text (lualatex).
My MWE is:
\documentclass{minimal}
\RequirePackage[paperwidth=70mm, paperheight=20mm, left=10pt, ...
3
votes
1answer
460 views
Automatic switching of math font based on current text font
I'm writing a document using xelatex and have set up my document fonts using fontspec as follows:
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O}
...
1
vote
2answers
497 views
Weird behavior when using small caps and slanted fonts with fontspec in XeLaTeX
I use XeLaTeX and the fontspec package.
Now, I like to use Linux Libertine as standard font. The slanted (not italics) characters are stored in a different font. Now, to use them with \slshape, I ...
4
votes
1answer
338 views
Zhuyin fuhao tone marks ignoring \setCJKmainfont
My documents usually contain an equal amount of Chinese and English. Here is my preamble, which I found in a manual somewhere:
\documentclass{ctexbook}
\setmainfont{Minion Pro}
...
15
votes
1answer
711 views
fontspec with Helvetica breaks quotes
The usual quoting with `` and '' doesn't work anymore after including this (which also changes the engine to XeTeX):
\usepackage{fontspec}
\setmainfont{Helvetica}
They are just printed verbatim in ...
7
votes
1answer
408 views
Using a fancy font for mathmode, falling back to XITS for missing symbols
I'm using a silly font inside an environment, so that the text inside looks quite different than the surrounding text. However, I am having trouble getting mathmode to look silly, but legible.
...
2
votes
1answer
305 views
Follow up question: TeX accents do not seem to work with fontspec and xe/lua/latex
This is a follow up to this question.
How would the same look for the dot above? That is, what's the standard definition for \. ?
Or does somebody in the meantime know a better solution to the whole ...
4
votes
0answers
170 views
Is this a fontspec bug or a font bug [duplicate]
Possible Duplicate:
Lining numbers not working in certain fonts
I want to use the OpenType features of the Calibri font, but things are getting weird here! I am using LuaLaTeX from the ...
6
votes
2answers
245 views
Is there a way to control scope of fontspec font change?
I would like to limit the scope of \fontspec to just one or a couple of words in my paragraph, for example:
Vivamus gravida lacus a sapien \fontspec{The Font Name}{interdum} eget
interdum mi ...
11
votes
2answers
1k views
Selecting main math font in LuaTeX?
I’d to set some fairly simple maths in Minion Pro (and potentially other system fonts), using LuaTeX. I’d hoped that something like the following should work:
\documentclass{minimal}
...
4
votes
1answer
472 views
How to use \texttt with CMU Typewriter Text in XeTeX?
The following example won't compile
\documentclass[xetex,sans,mathserif]{beamer}
\usepackage{fontspec}
\setmainfont{CMU Serif}
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}
...
4
votes
1answer
207 views
fakebold error in fontspec or lualatex
I have been trying to fake small caps which are not available in Myriad Pro. So I used the Scale and FakeBold options. Scaling is allright, but as you all know the glyphs slim out. To work against ...
10
votes
1answer
374 views
Reduce compilation time for opentype fonts (otf)
I have some opentype fonts (otf) which I use with fontspec. Everything works fine.
During the compilation LuaLaTeX load the otf-files in a temporary file.
For example:
(load: ...
1
vote
3answers
641 views
LuaTeX: tex-text at 10 pt not loadable [closed]
I am trying to use LuaTeX with Linux Biolinum. It works fine with XeLaTeX, but when I'm running LuaLaTex, it gives me the following error:
! Font ...
7
votes
1answer
460 views
Can one set a specific font variant in xelatex for uppercase letters only?
I would like to typeset a short, letter-like document using the Zapfino font, with the following twist: I'm OK using Zapfino's "standard" (i.e., Variant 0) glyphs for lowercase letters, but I'd like ...
9
votes
1answer
284 views
Why does fontspec change the maths accents (and only with lualatex)?
In the minimal example that follows luatex doesn't place the accent correctly (it's too far left):
\documentclass{minimal}
\usepackage{fontspec}
\setromanfont{Linux Libertine O}
\begin{document}
...
6
votes
3answers
1k views
XeLaTeX fontspec Century Gothic not using ligatures
I'm trying to use my Century Gothic TrueType font in a document, but it's failing to use the fl and fi ligatures. The input's below:
\documentclass{article}
\usepackage{xltxtra}
...
5
votes
2answers
488 views
Asana-math + LuaTeX : missing greeks/arrows
After recent update of Asana-Math (packaged for MiKTeX on 2011-10-11) I noted that Greek letters and various arrows disappear from PDF file after it was saved from within Adobe Acrobat 10 (via the ...
3
votes
1answer
208 views
New fontspec key/value pairs syntax?
I updated the packages in my TexLive distribution earlier today and noticed that one line of code in my project no longer worked properly, namely the one I used to set the fake options for my ...
3
votes
3answers
243 views
Tweaking numeral height (and baseline)
I am using the Computer Modern Unicode Bright font, in the OpenType version (see http://cm-unicode.sourceforge.net or http://www.ctan.org/tex-archive/fonts/cm-unicode) in a XeLaTeX-compiled document. ...
3
votes
2answers
265 views
How can I use ucharclasses to change the font for a special script and then restore to what it was before?
I would like to change the font in XeLaTeX when I enter a new Unicode block with a certain Script (e.g. Devanagari for Hindi languages). The ucharclasses package seems to do exactly that.
However, ...
9
votes
1answer
803 views
What is the difference between Latin Modern and Linux Libertine?
There is good discussion of what is the difference between Latin Modern and cm-super?
Can someone summarise what is the differences and similarities between Latin Modern, Linux Libertine and Computer ...
8
votes
2answers
1k views
Specify different fonts for bold and italic with fontspec
The main font I use for my LuaLaTeX document lacks bold and italic variants. I'd like to specify a different font for those variants using the fontspec package.
Initially what I had in my preamble ...
6
votes
1answer
87 views
\cf@encoding vs. \UTFencname: which of them has priority?
There are two macros that bear the name of current font encoding. First is \cf@encoding which seems to be set by core of LaTeX 2e and NFSS and changed by the fontenc package. Second macro is ...
4
votes
1answer
1k views
Can't use fontspec with xelatex after tlmgr update
I updated my MacTeX 2011 installation yesterday. Now, compiling the following with xelatex fails:
\documentclass[xetex]{article}
\usepackage{fontspec}
\begin{document}
hello
\end{document}
The ...
9
votes
1answer
237 views
What is the implication of the warning in the fontspec manual with respect to babel and LuaTeX?
In the fontspec manual, there is a section on LuaTeX that states:
babel The babel package is not really supported! Especially Vietnamese, Greek, and Hebrew at least might not work ...
9
votes
1answer
405 views
How to create a good document structure in advance for a book to be typeset using sanskrit fonts
I am taking up a task for typing an old text which is over 1200 pages. I am attaching a sample page. I am new to TeX, I still did not get the hang to create a good structure so that it will give me ...
