[PATCH -perfbook 3/3] Use Biolinum font family for epigraph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Italic shape of the TeX Gyre Termes (Times Roman clone) family doesn't
look nice in epigraphs, especially viewed on low resolution displays.

Instead, use the Biolinum font family [1] from the libertine
package [2] which is widely available as a TeX Live package.

Biolinum is actually sans-serif, still it resembles serif fonts.

It reasonably suits both the default serif font and the sans-serif
font (Helvetica clone).

Load of textcomp in front with the "full" option is a workaround
needed for earlier TeX Live distro packages, for example that of
Ubuntu Focal and Bionic.

Links: [1] https://tug.org/FontCatalogue/biolinum/
Links: [2] https://www.ctan.org/pkg/libertine
Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 perfbook-lt.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/perfbook-lt.tex b/perfbook-lt.tex
index 97cdd0d24af9..13dd88b32d94 100644
--- a/perfbook-lt.tex
+++ b/perfbook-lt.tex
@@ -12,10 +12,11 @@
 % standard packages
 
 % A more pleasant font
+\usepackage[full]{textcomp} % use symbols in TS1 encoding
+\usepackage{biolinum}
 \usepackage{lmodern}
 \usepackage[T1]{fontenc} % use postscript type 1 fonts
 \usepackage[defaultsups,helvratio=0.9]{newtxtext} % use nice, standard fonts for roman
-\usepackage{textcomp} % use symbols in TS1 encoding
 
 % Improves the text layout
 \usepackage{microtype}
@@ -568,7 +569,7 @@
 \newcommand{\rt}{\mbox{-rt}} % to prevent line break behind "-"
 
 \let\epigraphorig\epigraph
-\renewcommand{\epigraph}[2]{\epigraphorig{\emph{#1}}{\scshape\footnotesize #2}}
+\renewcommand{\epigraph}[2]{\epigraphorig{\biolinum\emph{#1}}{\biolinum\scshape\footnotesize #2}}
 \IfEbookSize{
   \newcommand{\Epigraph}[2]{\epigraph{#1}{#2}}
 }{
-- 
2.25.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux