# Tag Info

0

This worked for me: sudo apt-get install lmodern See XeTeX not working on Ubuntu 10.04?

4

No, realscripts is only useful if all the glyphs you need to superscript or subscript are drawn specifically in the font. There's no way within XeTeX of detecting whether a given font feature will affect a particular glyph (or run of glyphs), so you can't even know until you typeset the document and inspect the output. Well, in some cases you could make a ...

2

It is not really a direct answer to your question, but you can access the icons of FontAwesome directly with the package fontawesome you are loading. Just the macro names are partly different. %%%%%%%%%%%%%%%%%%%%%%% FOR ICONS %%%%%%%%%%%%%%%%%%%%%%%%% Linux icon: \faLinux \\ StackExchange icon: \faStackExchange \\ GitHub icon: \faGithub \\ Skype icon: ...

2

fontspec v2.5a (2016/02/01) "bugs fixed" solves the issue. I am not sure which release note specifically addresses the problem (although I would like to know). Version 2.5 did not include fontspec.cfg where Ligatures=TeX was specified as default feature. Ligatures=TeX is a default option for fonts loaded by fontspec normally. I therefore did not specify ...

7

OpenType support in TeX as of when I first wrote xfrac in early 2004 was basically non-existent - XeTeX hadn't even been released back then. Therefore, the package was never designed with that in mind. Besides, the fundamental purpose was to provide a way to write nice fractions for fonts that didn't include them. The package could very likely be made ...

3

Here I create \altfrac{}{}. It does not require fontspec, it obeys math mode, its font is larger than that of \sfrac, the denominator lies on the baseline, while the top of the numerator I tries to lay at the top of the normal text font. The numbers are presented in \footnotesize. The slash is a horizontally stretched / to give it more of the fractional ...

5

In the new version, the code for the option is (from fontspec-keyval.dtx) % \paragraph{Inter-word space} % These options set the relevant \cmd\fontdimen s for the % font being loaded. % \begin{macrocode} \@@_keys_define_code:nnn {fontspec} {WordSpace} { \bool_if:NF \l_@@_firsttime_bool { \_fontspec_parse_wordspace:w #1,,,\q_stop } } ...

2

You need to use the professionalfonts theme if using your own configuration to avoid unexpected weirdnesses cropping up at inconvenient moments. You do not need fontenc as far as I can tell. You do need lmodern because otherwise the default maths will still use Computer Modern, even though fontspec switches text to Latin Modern. I am not sure exactly what ...

0

This solves the problem. \usepackage[htt]{hyphenat}

1

By default, LaTeX doesn't hyphenate typewriter type text. With fontspec you can revert this decision quite easily, but you have to newly define a monospaced font. \documentclass{scrartcl} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage[spelling=new]{german} \setmonofont{Latin Modern Mono}[HyphenChar={-}] \usepackage{tabu} ...

1

Inspecting the Vollkorn typeface site, there is no Vollkorn Math nor Vollkorn Greek support. So you will have to choose some fitting Math Font, maybe Euler Math (alternatively, you can try to approach the Greek Capital Gamma as a Cyrillic Capital G).

6

This works for roughly the reasons explained in the comments: \documentclass{beamer} \usefonttheme{professionalfonts} \usefonttheme{serif} \usepackage{fontspec} \setmainfont{Latin Modern Sans}%TeX Gyre Schola} % \setsansfont{Latin Modern Sans} \usepackage{unicode-math} \setmathfont{TeX Gyre Pagella Math} \usepackage{siunitx} \sisetup{% detect-all,% } ...

7

Alternatively, you can ask fontspec to scale the fonts according to your main font instead of using a trial-and-error number. This is done by using either MatchLowercase or MatchUppercase as an argument to the Scale option. In your case, you can declare your font as: \newfontfamily{\ezra}{Ezra SIL}[Scale=MatchLowercase] If you are using other fonts in ...

5

You can scale the font when you create your new font family with an additional font feature: \documentclass[twocolumn,10pt]{article} \usepackage{polyglossia} \setmainlanguage{dutch} \usepackage{fontspec} \newfontfamily{\ezra}{Ezra SIL}[Scale=0.8] \DeclareTextFontCommand{\textezra}{\ezra} \begin{document} Nadruk op het in acht nemen van de geboden. ...

1

What you are looking for is called "NFSS family name" (where "NFSS" stands for New Font Selection Scheme). Section 5.2 of the fontspec manual: In fontspec, the family names are auto-generated based on the fontname of the font; for example, writing \fontspec{Times New Roman} for the first time would generate an internal font family name of ...

Top 50 recent answers are included