Tag Info

New answers tagged

0

... so after installing Source Sans Pro,modify friggeri-cv.cls as follows: \newfontfamily\bodyfont[]{SourceSansPro} \newfontfamily\thinfont[]{SourceSansPro ExtraLight} \newfontfamily\headingfont[]{SourceSansPro Black} \defaultfontfeatures{Mapping=tex-text} \setmainfont[Mapping=tex-text, Color=textcolor]{SourceSansPro Light}


4

The first thing to diagnose for "XeTeX running slowly" problems is to compile the document with xelatex -no-pdf, and then run xdvipdfmx manually on the resulting .xdv file. Timing each one separately will indicate whether it's XeTeX running slowly or xdvipdfmx. The next step is to figure out if it's XeTeX or fontspec at fault. I would be surprised if it ...


2

You have to declare a math font: \documentclass{memoir} \usepackage{amsmath,amssymb,amsthm} \usepackage{unicode-math} \setmainfont{Zapfino} \setmathfont{Latin Modern Math} \setmathfont[range=\mathup/{latin,Latin}]{TeX Gyre Heros} \begin{document} This is a proof $\sin x^2$ $\sum$ $\delta$ \end{document}


0

First of all please consider getting in touch through GitHub in the future in case you have any problems with the theme. Right now it is under heavy development so if you have problems we would like to hear about it. On Stackexchange it is likely that we miss it. As suggested by @egreg please update all your packages first. I can't really help you with that ...


5

My feeling is that luaotfload makes LuaTeX ignore the choice of stylistic sets when the font is used in math mode. In order to prove my claim, I did \mathcode``=\numexpr"7000+\mathcode``\relax and tried $\mathtt{`}$, which resulted in the curly backquote no matter what stylistic set in used in the definition of the mono font. Note that url typesets the ...


3

Don't use \fontspec in the middle of a document and just use the standard font size changing commands: \documentclass{book} \usepackage{fontspec} \newfontfamily{\titlefont}{TeX Gyre Heros} % I don't have Verdana \begin{document} \begin{minipage}{8cm} \centering\Huge\titlefont Introdução ao Desenvolvimento em Android \end{minipage} \end{document} If you ...


2

Use the setspace package and stretch the interline skip to 2.6 too. I took the opportunity to add \raggedright switch, to have a correct horizontal spacing: \documentclass{book} \usepackage{fontspec} \usepackage{setspace} \begin{document} \begin{minipage}{8cm}\setstretch{2.6} \fontspec[Scale=2.6]{Verdana}\raggedright \noindent Introdução ao ...


0

After the hints and good guesses from @ikrabbe I inserted a line into the function read_fonts_conf_indeed in kpsewhich luaotfload-parsers.lua to logreport what path it is just looking at. The Output showed a cycle of 11 paths, some of them *.conf files, some directories. Looking at the *.conf-files I found that ~/.config/font-manager/local.conf was ...


4

Your conjecture is true: \documentclass{memoir} \usepackage{minted} \usepackage{fontspec} % disable the default 'Ligatures=TeX' option \defaultfontfeatures{} \setmonofont{Courier} \begin{document} \begin{minted}{bash} 0-1--2---3 \end{minted} \end{document} If you want to have ligatures in running text also for the monospaced font, but not in ...


2

EDIT -- located the source of the problem: kpsewhich luaotfload-database.lua contains a verbatim path local fonts_conves = { --- plural, much? "/usr/local/etc/fonts/fonts.conf", "/etc/fonts/fonts.conf", } But that should not hurt. I assume the stack overflow messages disturb the tool much more. As the stack overflow happens after ...


5

On the german list a similar (not the same) message was reported and there a workaround was to load the font by file name and to explicitly tell fontspec the extension: \setmonofont{AnonymousPro-Regular}[Extension = .ttf]


12

You can trap the error and make it a warning, just setting a flag, then test for that and load something else, see the code below. Note this is poking into internal interfaces so if it breaks at a fontspec update, don't complain:-) \documentclass{article} \usepackage{fontspec} \newif\ifgoodfont \makeatletter \ExplSyntaxOn \cs_set:Nn \__fontspec_load_font: ...


7

It seems that it is very tightly spaced to following lowercase letters (1). You can prevent the kerning with \mbox (2). I assume a word space is too much (3) or you could use the xetex inter-character token class to add an extra kern, here I set up a class for ' and a class for lower case ascii letters and inject a small kern if ' is followed immediately ...


5

As long as you have a font with the characters, why not? The above being the output from \documentclass{article} \usepackage{fontspec} \setmainfont{Arial} \begin{document} fə′nɛtɪks \end{document}


4

Hmm not really the user interface you want, but perhaps a pointer to a solution, the document runs without error (and I hope makes the right thing, although I can't read it:( if you force the font to be loaded before fontspec triggers (I assume) luaotfload which changes the font loading \documentclass{article} %\usepackage[utf8]{inputenc} \usepackage{dad} ...


2

I'll let others take on the specific question about the clash between tipa and fontspec. But I wanted to provide an answer that would be helpful to other users who are facing the broader question of how to do Sanskrit transliteration (or phonetic transcription more generally) in XeLaTeX. This would especially apply to those who don't already have a lot of ...


3

The clash on \sups is because poth packages are defining this command to do something related to TIPA, the tipa package isn't expecting that, the error message goes if you load it before fontspec Then really you probably want to not overload too much of fontspec as the latin modern IPA characters are in unicode rather than T3 positions, which just leaves ...


6

I've installed URWGrotest.ttf in my local directory -- using xelatex works out of the box for this. (Source of the font: http://font-db.com/font/URWGroteskT/57578, it's a .zip file, where the font file is called font.ttf, so I renamed it) \documentclass{article} \usepackage{fontspec} \usepackage{blindtext} \setmainfont{URWGrotesk.ttf} \begin{document} ...


1

The trick is to use SizeFeatures together with the OpticalSize option. For example: \setmainfont[Numbers = {OldStyle, Proportional}, SizeFeatures = { {Size = {-16}, OpticalSize = 8}, {Size = {16-}, OpticalSize = 12} }]{Minion Pro} Will use the caption optical size for regular text (with the 14pt ...



Top 50 recent answers are included