# Tag Info

3

At great effort, you can emulate them. Here's a start. For the roundrule package, see Is there such a thing as a \mathrule? (rounded endcaps) \documentclass{article} \usepackage{stackengine,roundrule} \setstackEOL{\\} \setstackgap{S}{0pt} \def\barThk{1pt}% rule thickness \def\barLen{5pt}% rule length \def\barGap{.4pt}% rule gap \def\barsb{1pt}% ...

1

The fonts in your second link are not part of TexLive. They are, however, in ctan. All you need to do is download them to your computer and then run as described. For instance: go to capbas in ctan, download d7seg.mf and and d7seg.tmf to your working directory, then simply use the fonts as in this MWE \documentclass{article} \usepackage{addfont} \addfont{...

0

\usepackage{mathptmx} solves this problem, for as long as the font size has been set as 12 in \documentclass[a4paper,12pt]{report}

2

I’m not sure I understand your question properly. If you need to use two different calligraphic alphabets in the same document, the easiest way to accomplish this is to load one as \mathcal and the other as \mathscr in mathalpha. (On older installations, you might need to use its older name, mathalfa.) \documentclass{article} \usepackage[T1]{fontenc} \...

0

If the fonts aren’t showing up in %WINDIR%\fonts\, but are available in other applications, it’s likely that you installed them only for yourself, not for all users. I believe the Microsoft Store does this by default. If so, they might be in %USERPROFILE%\appdata\local\microsoft\windows\fonts\ instead. As of July 2019, neither XeTeX nor LuaTeX (luaotfload)...

1

I’m using the Monotype Library Subscription via SkyFonts on macOS (10.14.5). fontspec is able to access the fonts provided by SkyFonts if you address them by their PostScript name. For instance, I have the “FF Meta Pro” family installed and can use it with XeLaTeX as follows: \documentclass{article} \usepackage{fontspec} \setsansfont{MetaPro-Norm}[ ...

15

Seeing your template, in my humble opinion, it seems to use the fourier package. Here you can find several fonts with LaTeX math support: https://tug.dk/FontCatalogue/mathfonts.html \documentclass[a4paper,12pt]{book} \usepackage{fourier} \usepackage[T1]{fontenc} \usepackage{amsmath,amssymb} \usepackage{blindtext} \begin{document} \chapter{My version} \...

6

From the context I think it is clear that it means (what we would now call) a stripped down distribution of tex rather than an implementation of tex. Note that your statement Considering the fact that plain.tex cannot be changed isn't accurate: plain.tex says you can change this bit of the file % (And those that were \preloaded above can be ...

0

Alternatively, we can use Symbola font. After apt-get install fonts-symbola, the following file produces what is desired: \documentclass{article} \usepackage{fontspec} \setmainfont{Symbola} \begin{document} 😺 👅 \end{document} We can also use Segoe UI Emoji font bundled with MS Windows.

1

This is not exactly with ucharclasses, but babel supports the Sinhala language with font families. It requires some tagging, but you appear to be using a \sinhala command anyway. Keep using XeLaTeX (it might also work in HarfTeX.) \documentclass{article} % To fit within a TeX.SX MWE: \usepackage[paperwidth=10cm]{geometry} \usepackage[english]{babel} \...

4

Here's a babel implementation showing English (australian) as main language, simplified and traditional Chinese, and Pinyin. It will compile with XeLaTeX and LuaLaTeX. Though be aware that the Chinese fonts are huge and it takes the LuaTeX font loader a long time and a lot of RAM to build the cache. So long, that I can't actually compile this on my computer ...

3

With pdflatex: \documentclass{article} \usepackage{CJKutf8} \newcommand{\chinese}[1]{\begin{CJK}{UTF8}{bsmi}#1\end{CJK}} \begin{document} This is an English text about apples (Chinese simplified/traditional: \chinese{苹}/\chinese{蘋}, Pinyin: píng guǒ) \end{document} With xelatex: \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{Songti SC} % ...

1

You are scaling the text font but don't adjust the math font, and as superscript uses math mode, it is too small. Better use a large fontsize instead: \documentclass[fontsize=15pt]{scrbook} \usepackage{unicode-math} \usepackage{polyglossia} \makeatletter \setdefaultlanguage{sanskrit} \setmainfont[Script=Devanagari,Ligatures=TeX,AutoFakeBold=3.5,...

3

In fdsymbol.sty there are no slot numbers and one has to count manually. One finds \fdsy@setslot{0} \fdsy@DeclareSymbol{\rightarrow}{arrows}{\mathrel} which means \rightarrow is at slot 0 of the arrows symbol font. Looking for your desired symbol and counting yields that \leftrightarrow is at slot 16 \updownarrow is at slot 17 \neswarrow is at slot 18 \...

5

I downloaded the pitabek.ttf font and tried the example also with other fonts having the glyphs for Canadian Aboriginal Syllabic. \documentclass{article} \usepackage{fontspec} \setmainfont{Euphemia UCAS} \newfontfamily{\djs}{DejaVu Sans} \newfontfamily{\pita}{pitabek.ttf}[Path=./] \begin{document} My name is Jayse Cardinal-Tahkiné.\\ ᒉᐦᔅ ᑳᕐᑏᓈᓪ ᓐᑎᔑᓂᐦᑳᔅ᙮ \\ ...

3

The font does not support the U+1E17 character. HarfBuzz (in XeTeX and HarfTeX), helpfully decompose it into e + combining macron + combining + combining acute (U+0304 and u+0301), which luckily is rendered acceptably by the font (at least the version included in TeX Live 2019). You can achieve the same effect on other engines (well, LuaTeX with luaotfload)...

12

The font is the caligraphic font from the Euler Virtual Fonts (eulervm). If you load the eulervm package the text looks quite similar to the screenshot: However the subscript n from the linked PDF doesn't look like Euler's, but Computer Modern. You can load Euler for the \mathcal alphabet only with \usepackage[cal=euler]{mathalpha} (notice the ...

4

I can not reproduce your output with texlive 2019, I tried your test file with xelatex, lualatex and with minor changes the experimental harflatex with the following results. xetex harftex luatex

1

Not all Unicode font families feature U+1E17; and, as you've discovered, even some fonts that do say they feature this glyph don't get it quite right. If you can make do with EB Garamond -- another Garalde -- you should get the correctly rendered glyph in both upright and italic. \documentclass{article} \usepackage{fontspec} \setmainfont{EB Garamond}%{TeX ...

4

You can define a very tiny font, but you need a freely scalable font. For the standard fonts, fix-cm is needed. \RequirePackage{fix-cm} \documentclass{standalone} \usepackage{tikz, xcolor} \usetikzlibrary{arrows, arrows.meta} \newcommand{\veryverytiny}{\fontsize{3}{3}\selectfont} \begin{document} %%% Tikz Preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...

2

The problem is that there are hooks missing at the begin of cells, so it is difficult with the standard columns types. With new columntypes it can be done e.g. like this: \documentclass{memoir} \usepackage[table]{xcolor} \usepackage{xparse} \usepackage{array} \ExplSyntaxOn \tl_new:N\g__bob_tabcellhook \newcolumntype{\bobl}{>{\g__bob_tabcellhook}l} \...

0

Some times you have to write only some sections or words in Greek in this case I found very useful the solution in this Overleaf tutorial: %\title{Example: Greek and English text} % based on % http://tex.stackexchange.com/questions/110573/writing-greek-text \documentclass[a4paper]{article} \usepackage[english,greek]{babel} \usepackage[utf8x]{inputenc} \...

1

Here's a possible solution, but if you really need small caps, use a font that has them. \documentclass{article} \usepackage{graphicx} \usepackage{plex-serif} \usepackage{roboto} \let\textsc\relax \DeclareRobustCommand{\textsc}[1]{% \sbox0{x\xdef\testA{\the\font}}% \sbox0{\scshape x\xdef\testB{\the\font}}% \ifx\testA\testB\fauxsc{#1}\else{\scshape #1}...

6

In the olden days, typesetting a big book could literally take hours. Most of the time was and is spent in breaking paragraphs into lines, breaking paragraphs into pages and in I/O operations. The overhead is small with modern machines, in the 80's it used to be huge. Appendix D of the TeXbook has a section about “doing only syntax check” without ...

10

The official logo is available as svg here https://uit.no/ressurs/uit/webmain/img/Navnetrekk_norsk.svg If you take the first three paths from that file they draw UiT <path fill="#231F20" d="M13,27.6c-1.4,1.4-3.3,2.1-5.4,2.1c-2.2,0-4.1-0.7-5.5-2.1c-1.3-1.3-2-3.2-2-5.4V0h4.6v22.4 c0,2.1,1.3,3.1,2.9,3.1c1.6,0,2.8-1,2.8-3.1V0H15v22.1C15,24.4,14.2,26.3,...

0

The unicode-math package is partly backward-compatible, but the rules are slightly different. The \mathbf command still works, but is meant for words in math mode. The recommended way to get individual math symbols is \symbfup or \symbfit. The amsmath command \bold will therefore still work. IF you load an OpenType math font that has a bold version (as ...

1

With the help of @Davislor and @egreg I fix my code. The correct version of code: \documentclass[a4paper,14pt,russian,oneside,final]{extreport} \usepackage{newtxmath} \usepackage{polyglossia} \defaultfontfeatures{Ligatures = TeX, Mapping = tex-text} \setmainlanguage[babelshorthands = true]{russian} \setotherlanguage{english} \setmainfont{Times New Roman}...

1

I have used this approach: the use of the scalerel package with the option \scaleobj{.5}{\sim} to decrease the size of \sim. I have searched a good compromise between the dimension of \sim and \to. After I have edited a little your code. Here there is the output and the MWE. \documentclass{article} \usepackage{unicode-math} \usepackage{scalerel} \...

1

You could use mode = text without any any detect-* options giving you the same output even when the unit is used in math mode: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[defaultfam,light,scale=0.85]{montserrat} \usepackage{siunitx} \sisetup{ mode = text } \begin{document} This is the weight and family of text ...

4

Provide a definition for the missing command: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[defaultfam,light,scale=0.85]{montserrat} \usepackage{siunitx} \sisetup{% mode = math, % Same error if mode = text is used detect-all, % When, uncommented, the error described below occurs %detect-weight, % When, ...

3

You need to load siunitx with the option detect-mode. (Please see the bottom of p. 17 and the top of p. 18 of the user guide of the siunitx package for the differences between detect-mode, detect-weight, etc.) \documentclass{article} \usepackage{geometry} % optional \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[defaultfam,light,scale=0.85]...

4

Copy lines 70 to 96 of eulervm.sty in your document preamble 70 \DeclareMathSymbol{\alpha} {\mathalpha}{letters}{"0B} 71 \DeclareMathSymbol{\beta} {\mathalpha}{letters}{"0C} 72 \DeclareMathSymbol{\gamma} {\mathalpha}{letters}{"0D} 73 \DeclareMathSymbol{\delta} {\mathalpha}{letters}{"0E} 74 \DeclareMathSymbol{\epsilon}{\...

5

You can use \addfontfeature to change the font color: \documentclass{article} \usepackage[usenames,dvipsnames]{xcolor} \definecolor{primary}{HTML}{2b2b2b} \usepackage{fontspec} \setmainfont[Color=primary]{Latin Modern Roman} \begin{document} This sentance is in primary color. {\addfontfeature{Color=blue} This sentence is blue} This sentance is in ...

1

Here a solution for the label font and the options clash: \documentclass[a4paper, 12pt ,italian]{article} \usepackage{babel,newtxtext} \PassOptionsToPackage{svgnames, dvipsnames, table, x11names}{xcolor} \usepackage{mathtools, amssymb, isotope, tikz} \definecolor{mgreen}{RGB}{150,196,95} \definecolor{nteal}{RGB}{60,172,147} \...

3

The first error message is l.5 \definecolor {mgreen}{RGB}{150,196,95} ? h The package xcolor has already been loaded with options: [] There has now been an attempt to load it with options [svgnames,dvipsnames,table,x11names] Adding the global options: ,svgnames,dvipsnames,table,x11names to your \documentclass declaration may fix this. ...

6

Yes, \mbf is defined only by mtpro2 AFAIK. Again, \mathbf does not generate “math bold face”. Instead, \mathbf generates “text bold face while in math mode”. If you say $\mathbf{fi}$ versus $\mbf{fi}$, the former will have the usual ligature while the latter behaves as “f times i”. This is more apparent if you set your text font to, say, Latin Modern, while ...

6

XeLaTeX and LuaLaTeX use a completely different paradigm for fonts, because everything is available in a single output encoding, namely TU. Thus substitutefont does nothing sensible here. You could use \babelfont as suggested in the other answer, but you will get several spurious warnings: support for fonts in babel is still in development. With ...

4

If you are using XeTeX or LuaTex you should use other ways of switching fonts. One nice way is offered by babel with its \babelfont command: \documentclass{article} \usepackage[russian,main=english]{babel} \usepackage{amsmath} % load here to avoid \dddot clash \babelfont{rm}[Ligatures=TeX]{TeX Gyre Pagella} \babelfont[russian]{rm}[Ligatures=TeX]{PT Serif} \...

3

If you just want to prefer fonts in the texmf directory to system fonts, you can set the "location_precedence" of luaotfload: \documentclass{article} \usepackage{fontspec} \directlua{ fonts.names.set_location_precedence{ "local", "texmf", "system" % The default is "local", "system", "texmf" } } \setmainfont [ ItalicFont = LinLibertine_RI.otf, ...

2

Using T1-encoding with xelatex is not a good idea. See e.g. https://tex.stackexchange.com/a/470987/2388. Changing the order works for me: \documentclass{article} \usepackage{amsmath} \usepackage[libertine]{newtxmath} \usepackage{libertine} \DeclareMathOperator*{\argmin}{arg\,min} \begin{document} This is some text. arg min \begin{equation*} x = y + \...

1

Edit Ulrike Fischer posted a simpler and workaround than I came up with, but I’ll leave this up here in order to discuss some of the alternatives and problems you ran into. The reason this happens when you compile with XeLaTeX but not PDFLaTeX is that the libertine package loads the OpenType version of the font on XeTeX. There are clashes between how the ...

0

The Literal Answer As of 2019, fontspec should find the bold and italic fonts, and load \mathrm, \mathbf and \mathit when you \setmathrm. If you need additional set-up for \mathit, the ItalicFont and ItalicFeatures options of \setmathrm set up \mathit, just as the Boldfont and BoldFeatures options set up \mathbf. \documentclass{article} \usepackage[...

5

You can set italic correction to always: \setupitaliccorrection [global,always]

1

In this case it is a lot easier to install webomints via the getnonfreefonts feature, see https://www.tug.org/fonts/getnonfreefonts/ Remember that once installed (super easy), getnonfreefonts has a help function to list the various options, which include listing the available fonts that can be installed via this tool. (assuming texlive) As for installing ...

7

This is a problem specific to mathtime. Normally a new math version is "initialised with the defaults for all symbol fonts and math alphabets declared so far". But mathtime doesn't use \DeclareSymbolFont to declare its fonts, but \SetSymbolFont and so the new math version gets the original defaults. You will have to reset the math fonts for the new version: ...

4

You used \fontsize without selecting a font with \selectfont so it only takes effect at the next font change \documentclass{article} \begin{document} \fontsize{1.5mm}{1.5mm} aaa bbbb ccc aaa bbbb ccc aaa bbbb ccc aaa bbbb ccc aaa bbbb ccc \itshape aaa bbbb ccc aaa bbbb ccc aaa bbbb ccc aaa bbbb ccc aaa bbbb ccc \end{document}

2

The result you are seeing using a long s as well as st- and he-ligatures is correct according to the traditional typographic rules for blackletter fonts. However, there is clear precedence that these rules are not strictly followed for newspaper titles in UK and USA, and this is not a new phenomena: First issue of The Washington Post from 1877: No long s, ...

3

Well, the issue here is that the command \maketitle uses the fractur font directly (not very good programming btw ...): \renewcommand{\maketitle}{\thispagestyle{empty} \vspace*{-40pt} \begin{center} {\setlength\fboxsep{3mm}\raisebox{12pt}{\framebox[1.2\width]{\parbox[c]{1.15in}{\begin{center}\small \@paperslogan\end{center}}}}}\hfill% {\textgoth{\huge\...

0

Overleaf Tech Support was able to provide a workable solution. The solution was similar to the solution described here but sourceserifpro requires slightly different handling. Adding the following to latexmkrc enables the T1 encoded fonts. $ENV{'TEXINPUTS'}='./sourceserifpro/tex/:' .$ENV{'TEXINPUTS'}; $ENV{'TFMFONTS'}='./sourceserifpro/fonts/:' .$...

Top 50 recent answers are included