Fonts & Character SetsTahoma Font and bold Font Series

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
arobase
Posts: 33
Joined: Sat Apr 14, 2012 7:46 pm

Tahoma Font and bold Font Series

Post by arobase »

\fontseries{b} is ignored by both »article« and »memoir« class. \textbf is ignored by »memoir«. What is wrong?

Code: Select all

\documentclass{memoir}
%\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\begin{document}
\thispagestyle{empty}
\LaTeX standard font.

%\documentclass{memoir}
{
\fontfamily{tahoma}  
\fontsize{30pt}{30pt}
\fontseries{b} %ignored
\selectfont 
\textbf{TAHOMA} %ignored
}

%\documentclass{article}
{
\fontsize{30pt}{30pt}\fontfamily{georgia}
\fontseries{b} %ignored
\selectfont  
%\bf %Works fine
Georgia
}

Here, the \LaTeX standard is used again.
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

Tahoma Font and bold Font Series

Post by justdeath »

For true type fonts you must use "xelatex" or "lualatex" compilers:

Code: Select all

\documentclass{memoir}
\usepackage{fontspec}

\begin{document}
\thispagestyle{empty}
\LaTeX standard font.

\setmainfont{Tahoma}
Here, you have \textbf{Tahoma} font.

\setmainfont{Georgia}
Here, you have \textbf{Georgia} font.
\end{document}
Check for the font names in C:\Windows\Fonts, or /usr/share/fonts/TTF.

The LaTeX compiler does not recognize true type fonts.
Post Reply