Fonts & Character SetsHow to use condensed fonts

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

How to use condensed fonts

Post by jaybz »

How can I use the boldface condensed version of Gyre Heros "tgheros" ?
I can get the standard but not condensed.

Code: Select all

\documentclass[a4paper,10pt]{article}
\usepackage[top=24mm, bottom=30mm, left=26mm, right=26mm]{geometry} 
\usepackage{amsmath}
\usepackage{tgheros}
\renewcommand*\familydefault{\sfdefault} 
\begin{document}
\begin{Large}
\noindent \textbf{Some Text}
\end{Large}
\end{document}
Last edited by jaybz on Mon Dec 13, 2010 11:24 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

How to use condensed fonts

Post by frabjous »

If you want to use the condensed version always, regardless of the weight and location, then you can use the condensed option to the package:

Code: Select all

\usepackage[condensed]{tgheros}
If you just want it for part of a document, then I think you need to rely on lower level commands like this:

Code: Select all

{\bfseries\fontfamily{qhvc}\selectfont Some Text}
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Re: How to use condensed fonts

Post by jaybz »

Thank you very much.
Post Reply