# Tag Info

13

There exists a handwritten font which realizes the exactly connecting letters without compromises. This is the font slabikar generated by Metafont, see the article about it. This font is called slabikar because this is handwritten font used for pupils in the first class when they are learning to read and write in Czech republic. The slabikar is typical ...

8

The problem is that fontspec-patches.sty redefines \@fnsymbol as a protected function, while it should be fully expandable: \listfiles \documentclass{article} \usepackage{fontspec} \ExplSyntaxOn \cs_set:cpn {@fnsymbol} #1 % NOT \cs_set_protected:cpn !!! { \int_case:nnF {#1} { {0} {} {1} { \mode_if_math:TF *\textasteriskcentered } {2} { ...

5

I don't know whether there is a suitable font for your needs, but if you don't want to use small caps at all, you can add these lines in your preamble: \usepackage{letltxmacro} \LetLtxMacro{\scshape}{\upshape} MWE \documentclass[a4paper,article]{memoir} \usepackage[demo]{graphicx} \usepackage{polyglossia} \setdefaultlanguage{french} \setmainfont{Open ...

5

Use \setmainfont{Fontin Regular}[SmallCapsFont = Fontin SmallCaps] (newer syntax), or \setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin Regular} (older syntax).

4

A good starting point is, as already stated, the google font catalog. One nice site to download commercial free fonts is fontsquirrel.com. Font quality is here in general good. The open font library provides a small amount of commercial free and open source fonts. Another site is dafont.com. Fonts are not always commercial free, though. Quality ...

3

Don't load the fonts with the relative path. Load them by their font names and specify the ExternalLocation key to point to your folder: \documentclass{article} \usepackage{fontspec} \setmainfont[ExternalLocation=Fonts/]{AGaramondPro-Regular.otf}% [Ligatures=TeX, BoldFont=AGaramondPro-Bold.otf, ItalicFont=AGaramondPro-Italic.otf, ...

3

You could set Latin Modern as the main font if you like it for the Latin range, and then use CMU Serif as a fallback font for higher Unicode ranges. Depends on how much higher Unicode you need. I still hope someone can devise a mechanism for an automatic font-fallback system like in CSS. (Define fallback font for specific Unicode characters in LuaLaTeX) ...

3

There seems to be a bug in fontspec version 2.4a, when defining the Renderer key. The following works; code is like in fontspec-xetex.sty and 3 has been changed into 4, as Graphite is choice number 4. \documentclass{article} \usepackage{fontspec} \ExplSyntaxOn \keys_define:nn {fontspec-renderer} { Renderer .choice_code:n = { \int_compare:nTF ...

2

The Latin Modern font family is available in OpenType format as well; see The Latin Modern (LM) Family of Fonts site. Even better, it's distributed with both TeXLive and MikTeX. (Am I maybe missing something about capabilities of CMU that are not available in LM?) Thus, you could write % !TEX TS-program = lualatex \documentclass{scrartcl} ...

2

Standard pdflatex fonts have some glyphs not there where lualatex expects thems. This doesn't show when the text uses only ascii. But try out this document with lualatex to see the problems with fouriernc: \documentclass{article} \usepackage{fouriernc} \begin{document} Euro: € Sharp s: ß \end{document} Compare it with the fontspec output: ...

2

You should never use \fontspec inside the document; it's a generic command used by the user level commands \setmainfont, \newfontfamily and similar. Also \setmainfont should only be used in the preamble. I removed the \setmainfont declaration just to show how the font is chosen independently of the main font. The key is to use the short key in \newacronym. ...

2

It seems like a bug in fontspec; you can cure it by specifying FakeSlant=0 for the small caps font. \setmainfont{Latin Modern Roman}[ SmallCapsFont={Linux Libertine O}, SmallCapsFeatures={Scale=0.5,FakeSlant=0}, SlantedFont={Linux Libertine O}, SlantedFeatures={FakeSlant=0.5}, ] Note that I used the most recent version of fontspec, where the ...

1

You have two possibilities. 1 – Use fouriernc with TeX Gyre Schola as text font \documentclass{article} \usepackage{amsmath} \usepackage{fouriernc} \usepackage[no-math]{fontspec} \usepackage{lipsum} \setmainfont[Scale=0.93]{TeX Gyre Schola} \begin{document} \lipsum*[2] \begin{equation*} \widehat{bcd} \ \widetilde{efg} \ \dot A \ \dot R \ {\ddot A ...

1

See two marked bits (otherwise the tic labels are set in math mode by default) \documentclass[12pt]{standalone} \usepackage{tikz} \usepackage{pgfplots} \usepackage{fontspec} \usepackage{ebgaramond}%<=== think you needed this - you presumably have the font locally otherwise \begin{document} \pgfplotsset{every axis/.append style={ line width=.5 pt, tick ...

1

I found a solution: instead of defining a new font family, I can change the main font: \newcommand\Smbd[1]{\setmainfont{Source Sans Pro Semibold}#1\setmainfont{Source Sans Pro}} This is a rather ugly trick, but it does the job.

1

The culprit here is the file gloss-french.ldf which has \def\figurename{\textsc{Fig.}} so you can override this using, for example, \addto\captionsfrench{\def\figurename{Fig.}} A complete example: \documentclass[a4paper,article]{memoir} \usepackage[demo]{graphicx} \usepackage{polyglossia} \setdefaultlanguage{french} \setmainfont{Open Sans} ...

Only top voted, non community-wiki answers of a minimum length are eligible