# Tag Info

2

Download the font: http://www.fontsquirrel.com/fonts/roboto Install it into your system. Typeset the following using xelatex or lualatex: \documentclass{article} \usepackage{fontspec} \setsansfont{Roboto Condensed} \begin{document} \textsf{Domo arigato, Mr. Roboto.} \end{document}

5

You can load only the \mathbb alphabet from fourier: \DeclareFontFamily{U}{futm}{} \DeclareFontShape{U}{futm}{m}{n}{ <-> fourier-bb % changed from .92 to 1 }{} \DeclareMathAlphabet{\mathbb}{U}{futm}{m}{n} Note that I've also changed the magnification from .92 to 1 to match iwona sizes. MWE: \documentclass{article} \usepackage[math]{iwona} ...

6

Just to mention all possibilities, there is also the bm package with its \bm command: \documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{bm} \begin{document} \textbf{\textit{Les caractéristiques $\bm{f_i}$}} \end{document}

1

There is also \boldsymbol but it does not work so well as the above answers. See MWE below: \documentclass[letterpaper]{article} \usepackage{amsmath,amssymb} \begin{document} \noindent \textbf{\textit{Les caractéristiques $\boldsymbol f_{\!\boldsymbol i}$}}\\ \textbf{\boldmath\textit{Les caractéristiques $f_i$}} \end{document}

8

Please post complete documents not just fragments (so this isn't tested) but you want \begin{document} \textbf{\boldmath\textit{Les caractéristiques $f_i$}} \end{document}

16

The f isn’t bold because it’s set in math mode and in math f and f can be different things. E.g. f is a vector and f the length of the vector. LaTeX has it’s own treatment for math fonts which can be affected by the user with commands like \mathbf. But the math fonts don’t depend on the surrounding text font. You may have a look at Make mathfont respect the ...

0

Using XeTeX allows me to solve the problem \usepackage[urw-garamond]{mathdesign} \usepackage{hyperref} \usepackage{colortbl} \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5} \definecolor{lightgoldenrodyellow}{cmyk}{0,0,0.16,0.02} \usepackage{framed} \setlength\parindent{24pt} \usepackage{indentfirst} \usepackage{lipsum} \usepackage{fancyhdr} ...

2

It's not necessary "define" a style, though it's the best solution. You also can write \setbeamertemplate{itemize item}{☙} (with braces, not square brackets).

5

The [☙] option is not predefined, so it has no effect; the syntax should be like \setbeamertemplate{itemize item}[circle] where circle has been defined with \defbeamertemplate. Here's a complete example \documentclass[xcolor=dvipsnames]{beamer} \usepackage{fontspec} \setmainfont{EB Garamond} \usefonttheme{serif} \defbeamertemplate{itemize ...

5

It is possible to enable the fancy es ligature for use in regular LaTeX/pdfLaTeX but you would need to construct appropriate supporting files. Basically, you'd need to reinstall the font for use with LaTeX (e.g. using a different name for the font to distinguish it from the existing support provided by the official package). I don't know the font but I ...

2

Thanks to Johannes_B I had a closer look at the beamer documentation and found out that the command \LoadClass[mathserif]{beamer} will make the math-mode look like the one in an article.

10

So if I understood your question correctly, you want to do something like GitHub's markdown style. So I created some commands and environments to supply a GitHub-like style based on Adam Pritchard's Markdown Cheatsheet. I used Source Sans Pro and Source Code Pro fonts, so you'll have to download and install them on your operating system. Here are the direct ...

4

You can load tgschola at a slightly reduced size: \documentclass[fontsize=11.2pt,oneside,DIV=12,a4paper]{scrreprt} \usepackage{fouriernc} \usepackage[scale=0.92]{tgschola} \usepackage{xcolor} \begin{document} % Draw a rule to mark the x-height \makebox[0pt][l]{\color{green!70}\vrule height\dimexpr 1ex+0.2pt depth -1ex width \textwidth}% This is $n_i$ a ...

4

8

All three font types are vector font formats, however OpenType/TrueType are rich formats that can support many more features and languages than Type 1 fonts can do, moreover, this change concerns XeTeX which can utilize these features, not any other part of TeX Live. This change was in response to issues like the following question: \setmainfont{Linux ...

2

This works, provided the file is saved as UTF-8 \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[icelandic]{babel} \begin{document} \begin{verbatim} I want these letters in amsart: þÞæÆöÖáÁíÍéÉúÚóÓýÝðÐ (I know I can get æ with \ae\ but that's useless without the others). \end{verbatim} I want these letters in ...

2

Problem 1 Use mathpazo rather than palatino, with the sc option: \documentclass[12pt]{book} \usepackage[sc]{mathpazo} \def\switchcaps{\fontsize{8pt}{12pt}\selectfont} \begin{document} \fontsize{10pt}{12pt}\selectfont \textsc{a}{\switchcaps{A}}% \textsc{b}{\switchcaps{B}}% \textsc{c}{\switchcaps{C}}% \textsc{n}{\switchcaps{N}}% \textsc{u}{\switchcaps{U}} ...

3

The correct syntax should be \title{$A_{x}B_{1-x}$} with a single formula and no \mathrm, which is the cause for the upright “x”.

0

Some people have likened Noticia Text to Cambria.

0

Recently I came across "Caladea" a Google font made to match Cambria "metrics". https://fedoraproject.org/wiki/Google_Crosextra_Caladea_fonts . EDIT: Apparently it is not a replacement for math, as in \setmathfont{Cambria Math}

2

Use the T1 encoding: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} <<blah blah>> \end{document} If your document is UTF-8 encoded, then also direct input works: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} «blah blah» ...

2

Any TrueType or OpenType font can be used with XeLaTeX or LuaLaTeX just by installing it as a regular system font. Just download the OpenType or TrueType version of the font(s) and install them as a regular system font (i.e., in /Library/Fonts) and they will work with XeTeX or LuaTeX using the fontspec package.

3

Really this should be done with a simple shell script or other Unix tool that generates a simple wrapper document, which loads your text. But here's a more TeX-centric solution. It has the benefit that you can use just one LaTeX document, which is not generated or modified programmatically. A little-used feature of (La)TeX is that its argument can be a ...

1

Hmmm, have a look at the output: Code: %!TEX program = xelatex %!TEX encoding = UTF-8 \documentclass[UTF8, nofonts]{ctexart} \setCJKmainfont[RawFeature={vertical:+vert:+vhal},BoldFont=Adobe Heiti Std,ItalicFont=Adobe Kaiti Std] {Adobe Song Std} \setCJKsansfont[RawFeature={vertical:+vert:+vhal}]{Adobe Heiti Std} ...

7

The character maps of T2A and T1 are identical in the first 128 positions. So english texts should work fine with T2A. But if you want to insert umlauts and other accented chars from the upper part of the char table of T1-encoding you should consider to switch to T1 for such texts instead of relying on LaTeX to fall back to the correct definitions.

3

The documentation for libgreek says: the libertine-legacy (or earlier) package must be installed on your system for libgreek to work for math mode. That package is available from CTAN: /obsolete/fonts/libertine-legacy

3

It works for me; however, an adjustment can be made keeping into account that yswab is available in Type1 format, so it can be arbitrarily scaled: \documentclass[12pt]{article} \usepackage{yfonts} \usepackage[T1]{fontenc} \DeclareFontShape{LY}{yswab}{m}{n}{<->yswab}{} \begin{document} \swabfamily Text \Large Text \fontsize{36}{44}\selectfont Text ...

3

The easiest solution for you, I guess, is to copy the Windows Chinese fonts simsun.ttc simfang.ttf simkai.ttf simhei.ttf simli.ttf (optional) simyou.ttf (optional) to the working directory (if you have bought a Windows copy), and use: % Compile with pdflatex or latex+dvipdfmx \documentclass{article} \usepackage{CJKutf8} \usepackage{CJKspace} % for ...

7

Here is my solution, assuming you have access to a UNIX¹ system with a TeX installation. Inside the working directory of your project Create a main subdirectory holding the files of your document. Edit the preamble of your document, so that it includes a statement input{fontsetup}. For each font package you want to test, create a subdirectory holding a ...

3

You can access a less sloped calligraphic "L" if you load the mathalfa package with the cal=rsfso option: \documentclass{article} \usepackage[cal=rsfso]{mathalfa} \begin{document} $\mathcal{L}$ \end{document}

5

Control sequences and packages about font (plain) TeX level control sequences about font There are several control sequences (or say command) about font in the original TeX (TeX primitive and/or plain TeX level command). \/, can be used to regulate the space after italic characters (see the difference between {\itshape italic} normal and {\itshape ...

9

You're not defining a main math font. \documentclass{article} \usepackage{fontspec} \usepackage[vargreek-shape=unicode]{unicode-math} \setmainfont{Georgia} \setmathfont{Neo Euler} \setmathfont[range=\mathit/{latin,Latin,greek,Greek}]{Georgia-Italic} \begin{document} Answer: $(1+00)^*=\{1, \mathbf{00}, 001, 100, 10000, \ldots \}$\\ and \$b^2= 22 \times ...

1

Even though the OP has indicated a reluctance to switch from pdfLaTeX to LuaLaTeX so close to the submission deadline, I'll offer the following method anyway, as it's really not that difficult to implement: % !TEX TS-program = lualatex \documentclass[11pt]{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{EB Garamond} % Remainder of document same ...

4

You are using minimal document class where font size commands will not be available (Refer this answer). Use some other class and things work: \documentclass[]{standalone} \usepackage{paralist,pst-func, pst-plot, pst-math, pstricks-add,pgfplots} \usetikzlibrary{patterns,matrix,arrows} \pgfplotsset{compat=1.9} \begin{document} \begin{tikzpicture} ...

4

Just confine the font change in the environment. Note that Gentium doesn't provide small caps. \documentclass{article} \usepackage{fontspec} \newfontfamily\Gentium[Ligatures=TeX]{Gentium} \begin{document} This is in the normal font \begin{center} \Gentium\huge This is in the Gentium font \end{center} and back in the normal font. \end{document}

1

A (probably) general LaTeX solution: \newcommand{\BGMfont}{% \fontencoding{EncodingOfYourFont}% \fontfamily{NameOfYourFont}% \fontsize{22}{25}% % about \huge \selectfont} {\BGMfont My Words Here} Without an illustration of the result, of course, because it is an answer for the first version of your question, when the name of the font was not ...

7

Well, none of the two most common LaTeX distributions use Latin Modern by default, they still keep Computer Modern (as of November 2013). So yes, calling \usepackage{lmodern} is still advised, unless you find cm-super (which is another fork of Computer Modern fonts) more convenient.

16

there are so many cm-alikes now, a faq answer might be valuable (will see about that). pending that, your answers might be yes, type 1 (or otf) access to a moderate set of cm-like glyphs, without going into the brobdingnag-ian cm-super set. fwiw, i use lmodern for most of my docs. one day i'll graduate to something more exotic...

2

Add the labelfont=normal option to the subfig package declaration as follows: \usepackage[font={rm,md,up},labelfont=normal,margin=10pt,singlelinecheck=false]{subfig}

4

Polyglossia loads fontspec, but the default font is Latin Modern, which has no support for Cyrillic. You can load the Computer Modern Unicode fonts instead: \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{CMU Serif} \usepackage{polyglossia} \setdefaultlanguage{english} \setotherlanguage{russian} ...

9

I have posted several versions of a couple of book chapters at the following website: http://www.princeton.edu/~gkv/aofd/fonts There you will find the same 100-plus page document typeset with Lucida, Minion-Math, MathTime, Cambria, Tex-Gyre and others. Comments, and other examples, would be welcome.

0

Removing the entire tex distribution and starting from scratch again fixed the problem. I believe something may have interrupted the makeall script provided by FontPro, so if you're installing MinionPro via the scripts provided in FontPro, make sure nothing interrupts them while being run. Aside from that, installation of Minion Pro works as suggested by the ...

3

Here is yet another solution, which requires luatex, using OpenType font feature files which, amazingly, also work with Type1 fonts. Save the following as kerkis.fea: languagesystem DFLT dflt; languagesystem latn dflt; lookup SHIFT_N { # shift the apostrophe down and add some space on the right pos quoteright <0 -600 60 0> ; } SHIFT_N ; lookup ...

1

Here is a poor solution via microtype (the last line of a paragraph is problematic): \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[selected=true]{microtype} \usepackage{lipsum} \SetExpansion [ context = poorcondensed, stretch = -100, shrink = 100, step = 1 ] { encoding ...

2

You may go with Tobjørns hint and search the LaTeX font catalouge for some math fonts. You can then take Micos great answer to quickly render your formula with different fonts. This could look like this: % !TeX program = lualatex % arara: lualatex \documentclass{article} \usepackage[vmargin=1in]{geometry} \usepackage{fontspec,unicode-math} ...

1

According to this post Are itemize and EBGaramond compatible? there is a bug in EBGaramond. Using the code @egreg posted in his answer, you can fix your example like this: \documentclass[11pt]{article} \usepackage{ifluatex,ifxetex} \ifluatex\else\ifxetex\else \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \fi\fi \usepackage{ebgaramond} ...

6

I have not enough reputation for a comment, even though this is meant as one and not an answer. Probably, this question and the answers might be helpful for you: What fonts are installed on my box? Note, that one answer states, that all fonts on this page should be available on a complete LaTeX-Install. But if you want to use some system fonts, this list ...

6

It seems to be a bug with classicthesis; it is triggered by \b in the chapter title, when \mathit is used. This doesn't seem to happen when you use \textit instead of \mathit. \documentclass[% twoside=true, paper=a4, BCOR=5mm, headinclude=true, footinclude=true, fontsize=10pt, titlepage=true, abstract=off, %parskip=half-,% <--- PLEASE, DON'T USE THIS ...

3

Thankfully NSF proposal guidelines are quite minimal. I use article class with geometry to set the margins and titlesec to make all the headings smaller. . I do use XeLaTeX though, to avoid any issue with fonts. Since Fastlane has extensive PDF generation and checking facilities it might actually be able to check for fonts, but I've never tried.

3

Computer Modern comes with every TeX distribution under the sun. That said, would they really reject a proposal because it was formatted in Helvetica (which most people wouldn't be able to tell from Arial anyway) or URW Palladio (A Palatino clone)?

Top 50 recent answers are included