Hot answers tagged

8

You can \usepackage{lmodern} to get a version somewhat in between. In particular, the ring on Å is a circle (though somewhat thicker than the original). The accents are less slanted as well, especially for Ő and Ű. \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} A\'A\AA ...


6

Try TeX Gyre Heros, from its homepage: TeX Gyre Heros is based on the URW Nimbus Sans L kindly released by URW++ Design and Development Inc. under GFL (independently of the GPL release accompanying Ghostscript). The Vietnamese glyphs were added by Han The Thanh. TeX Gyre Heros can be used as a replacement for a popular font Helvetica, also ...


5

\documentclass{article} \usepackage{fontspec} \newfontface\grmusic{Musica.ttf} \begin{document} Greek music symbols: \grmusic \char"1D200 \char"1D201 \char"1D202 \char"1D203 \char"1D204 \char"1D205 \char"1D206 \char"1D207 \end{document} Alternative fonts are: Aegean, Alexander, ALPHABETUM Unicode, Aroania, Avdira, Cardo, EversonMono, and New Athena ...


5

You can use font={\usebeamercolor[fg]{block title}}. The reason for using font here is that \usebeamercolor as I understand it essentially inserts a \color{<color name>}, so you cannot use it as a colour name directly. \documentclass{beamer} \usepackage{tikz} \begin{document} \frame{ \begin{tikzpicture} \draw (0, 5) node (n1) ...


4

Document The font iwona does not contain an alternative for the ampersand. Therefore, a different font is needed for this symbol, when the more common form is preferred. The following example uses the ampersand from the CM Bright fonts (also package cm-super should be installed). Two alternatives are in the comments. \documentclass[a4paper,12pt]{article} ...


3

\bf does not maintain the font family, except being used in an explicit group {...} or an environment. Use the safer \bfseries for this to be sure!!!! This is one reason why the \bf ,\it, \sc, \tt and \rm shouldn't be used any longer -- they are deprecated since 1993. See the differences in the output of the following code: (I did not clean up, ...


3

One can use lmodern, but redefine the functions \', \H, and \", though that may have some danger associated with it. As wipet points out, this approach breaks hyphenation, which in itself is enough to recommend against its use. \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,stackengine,scalerel,graphicx} ...


3

I create a macro, \dblacc{} for adding a double accent to characters. It works even for accenting an ogonek. \documentclass{article} \usepackage{stackengine,tipx,lmodern} \usepackage[T1]{fontenc} \newcommand\dblgr{\setbox0=\hbox{x}% \setbox2=\hbox{\raisebox{-\ht0}{\`{}\kern-2.7pt\`{}}}\dp2=0pt\box2} ...


2

If you need a clone of Helvetica, you might prefer TeX Gyre Heros. For example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{tgheros} \renewcommand*\familydefault{\sfdefault} \usepackage{microtype} \begin{document} \Huge{tial} \textbf{tial} \end{document} Alternatively, you might browse the TeX Font Catalogue listing of sans serifs. As ...


2

What you claim to be Arial, in the first screen shot, isn't Arial at all. Instead, it's Computer Modern Sans Serif (aka CMSS). The following screeshot provides a comparison of Helvetica Neue in the upper line and true Arial in the lower line. Given that Arial is a (not-so-well-thought-out) clone of Helvetica, the differences are unsurprisingly rather ...


2

Your TeX distribution is a little bit outdated and that causes your problem. Please see The following lines: Mine system: Version 3.14159265-2.6-1.40.16 ... (preloaded format=pdflatex 2016.1.29) ... Your system: 3.14159265-2.6-1.40.16 ... (preloaded format=pdflatex 2016.1.10) ... % ...


1

\documentclass{beamer} \usefonttheme{professionalfonts} \usepackage[sfmath]{kpfonts} \begin{document} $g$ in math mode g in text mode \end{document}


1

I don't have a bib file available, so I called \chapter*{\bibname} directly. \documentclass{book} \usepackage{showframe} \begin{document} \bgroup% make changes termporary \makeatletter \def\@makeschapterhead#1{% %\vspace*{50\p@}% \vspace*{25\p@}% {\parindent \z@ \raggedright \normalfont \interlinepenalty\@M %\Huge \bfseries ...


1

The difference between the begin and end is that \{ picks up the current font which is typically roman at the start but monospace by the end. Clearly that's not intended, here I change both begin and end lines to move the braces inside the scope of the font change. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} ...



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