[PATCH 10/13] Add \nf{} command to go back to normal font

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

 



>From aac92885e4b76e4229fedc388e8539bc0f656153 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Sat, 31 Dec 2016 19:00:00 +0900
Subject: [PATCH 10/13] Add \nf{} command to go back to normal font

This command will be used in tables whose base font is typewriter
font. We should avoid \rm{} command in case sans serif font be
selected as default.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 perfbook.tex | 1 +
 1 file changed, 1 insertion(+)

diff --git a/perfbook.tex b/perfbook.tex
index 4eaace8..bb1e47e 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -97,6 +97,7 @@
 \newcommand{\nbco}[1]{\hbox{\texttt{\detokenize{#1}}}} % no break lines for short snippet
 \newcommand{\tco}[1]{\texttt{\detokenize{#1}}} % for code in tabular environment
 % \tco{} will break at spaces but not at underscores
+\newcommand{\nf}[1]{\textnormal{#1}} % to return to normal font
 
 \newcommand{\Epigraph}[2]{\epigraphhead[65]{\rmfamily\epigraph{#1}{#2}}}
 
-- 
2.7.4


--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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