Fonts & Character SetsLooking for a font similar to computer modern but tighter

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Leo__
Posts: 28
Joined: Thu Oct 28, 2010 4:33 pm

Looking for a font similar to computer modern but tighter

Post by Leo__ »

I am looking for a font similar to computer (or latin) modern, but slightly tighter.

Here is a MWE which hopefully indicates why I am looking for a tighter font than latin modern. The font lss (latin sans serif) would do the trick, but I actually need it in bold type -- precisely because I happen to have several long titles and I want each of them to fit in one single line.
Another condition is that the tighter font should be similar enough to latin modern (I need to keep this font for another purpose).

Code: Select all

\documentclass[11pt,b5paper]{book}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\begin{document}
\begin{center}
{\fontfamily{lmr}\selectfont \textbf{LES GRANDES JOIES DU SAVOIR-VIVRE DANS LA CIVILISATION}}

{\fontfamily{lss}\selectfont \textbf{LES GRANDES JOIES DU SAVOIR-VIVRE DANS LA CIVILISATION}}
\end{center}
\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.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Looking for a font similar to computer modern but tighter

Post by Johannes_B »

Latim modern sans is a completely different font than latin mordern roman and doesn't look anything alike it. There are several possibiblities to fit the this on a sinlge line. You could make the margins narrower (and thus making the textwidth wider), choosing a smaller font size or scaling the font (imho the worst).

If this just happens on the title page, nobody will notice if the textwidth is 2 pt wider.

On the other hand, there are thousands of fonts, some look nearly alike and seem to be similar to a non-expert. But if your readers are familiar with fonts and their look, they will most likely notice it.

Code: Select all

\documentclass[11pt,b5paper]{book}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}%JB: Loading the font
\usepackage{showframe}
\usepackage{blindtext}
\newcommand{\letitre}{LES GRANDES JOIES DU SAVOIR-VIVRE DANS LA CIVILISATION}
\begin{document}
\begin{center}
	{\textbf{\letitre}}
\par
	{\sffamily\bfseries \letitre}
\end{center}

\blindtext
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Looking for a font similar to computer modern but tighter

Post by cgnieder »

Please consider not to use an all-uppercase title. But if you insist then at least consider applying a modest letterspacing. (I realize that this might make the title even longer but it will look a lot better!)

Best regards
site moderator & package author
Post Reply