# Tag Info

1

If you want to use csquotes you should make the quotes active, and input them (also the colon) without spaces as spaces can insert unwanted break points: \documentclass[12pt]{article} \usepackage[paperwidth=14cm,paperheight=20.5cm]{geometry} \usepackage{libertine}% use this font and geometry width to reproduce bad break \usepackage{ifxetex} \ifxetex ...

4

For babel, you have to use \frenchbsetup{og=«, fg=»}. For polyglossia, you have nothing to do, except the package inserts a breakable space (bug?), so in case the space does break, you have to insert an unbreakable thin space by hand (\,`). % !TeX TXS-program:compile = txs:///xelatex/[--shell-escape] \documentclass[12pt]{article} ...

1

There's no way xesearch can work with babel-french. Both want to put - in a particular character class for exploiting the \XeTeXinterchartoks feature. However, you can directly input the en-dash and em-dash and the result is as expected, at least in your example. But malfunctions of xesearch might arise, because the character class of - will be 0 with ...

1

Just for completeness: It is also possible to use the simplified version of the Friggeri CV from my github account. I modified the template so that it works with a regular Texlive installation and pdflatex, without the need for luatex and biber.

3

Just call the font by its name: \documentclass{article} \usepackage{fontspec} \setmonofont{Latin Modern Mono Prop} \newfontfamily{\monott}{Latin Modern Mono} % for testing \begin{document} abcim \texttt{abcim} abcim abcim {\monott abcim} abcim \end{document} As you see, the \texttt line prints proportional typewriter type.

11

KOMA-Script supports several ways to set the font size. First of all, if you want fontsize=<value> it tries to load a font size definition file \@fontsizefilebase<value>.clo. If this is not found, it tries \@fontsizefilebase<value>pt.clo. If this is not found, it tries size<adapted value>.clo. <adapted value> is the font size in pt but with ...

12

KOMA has two different systems to setup the font sizes: A (small) number of fontsize options (8pt, 9pt, 10pt, 11pt, 12pt, 14pt 17pt, 20pt) load a scrsizeXX.clo (from KOMA) or (if found) sizeXX.clo (from the extsize package) where designated fontsizes are declared. You can add more options to this list by writing a suitable sizeXX.clo or scrsizeXX.clo. In ...

2

If you don't already have them, then install Tex Gyre Pagella and TeX Gyre Pagella Math from the TeX Gyre project and then you can do this: \documentclass{article} \usepackage{unicode-math} \setmainfont{TeX Gyre Pagella} \setmathfont{TeX Gyre Pagella Math} \begin{document} Some Unicode maths: $x ∈ ℕ$ in a Palatino-like font. \end{document} Run with ...

0

You can just write the name of your ttf (instead of font family name) \usepackage{fontspec} \setmainfont[ %Path = C:/Users/font/, %address of your fonts Extension = .ttf, BoldFont = *-Bold, ItalicFont = *-Oblique, BoldItalicFont = *-BoldOblique, ]{DejaVuSans} %\newfontfamily{\myfont}[ %ame as in main font %]{myfont} If it still ...

1


6

You can access the internal and the external names of the current font respectively with \the\font and \fontname\font. The former must be stringified in order to print it. Further massaging of the external font name can be added. \documentclass{article} \usepackage{fontspec} \setmainfont{Libertinus Serif} \setsansfont{TeX Gyre ...

0

Define an own fontface. If you are using one of the KOMA-Script classes you can define the headers in an easy way to use Times. \documentclass{article} \usepackage{amsmath} \usepackage{unicode-math} %\setmainfont{what ever you want} \newfontface\Times{Times New Roman MT Std}% I have only this otf version \begin{document} Latin Modern {\Times \$a=0 \text{ if ...

0

I opened the font with FontForge and generated a new TTF. Now everything works as it should. So something is wrong with some of the font names or with the file structure that LuaLaTeX can handle but XeLaTeX can't. I tried other fonts from the source (ufonts.com) and DIN 6776 was the only font with this problem.

2

Please consider this a ›temporary‹ answer (maybe Will Robertson can provide more info). I'm still in the process of investigating that problem myself (I'm testing SkyFonts + Monotype Library Subscription + LuaLaTeX). But all the data I have so far points in the same direction: fontspec is not able to load a font installed via SkyFonts unless the font ...

1

Why the underscores ? Try this: \documentclass[a4paper]{article} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} \section{This stuff becomes times} This will be Times New Roman. As wanted. \textbf{\textit{And this too is ok}}. \end{document} % Local Variables: % TeX-engine: xetex % End:

6

The following Python script for FontForge creates #!/usr/bin/env python2 import fontforge import os.path font_files = [ 'Vollkorn-Bold.otf', 'Vollkorn-BoldItalic.otf', 'Vollkorn-Italic.otf', 'Vollkorn-Regular.otf', ] def main(): for font_file_name in font_files: make_new_font(font_file_name) def ...

Top 50 recent answers are included