>From ea338159985ecf9d28a91607111a76e593b4fed6 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Tue, 7 Mar 2017 21:04:50 +0900 Subject: [PATCH 1/3] perfbook.tex: Disable 'microtype' for typewriter font In commit 2c2645db78f0 ("Disable 'microtype' in code snippets"), microtype was disabled in verbatim and verbbox environments. Instead of patching those environments, this commit use \UseMicrotypeSet{} command to exclude tt font from protrusion. This change prevents protrusion of "-" within \co{} after line break as was observed in Section 12.1.2. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- perfbook.tex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perfbook.tex b/perfbook.tex index 324c708..d532e65 100644 --- a/perfbook.tex +++ b/perfbook.tex @@ -13,9 +13,7 @@ % Improves the text layout \usepackage{microtype} -\usepackage{etoolbox} -\AtBeginEnvironment{verbatim}{\microtypesetup{activate=false}} -\AtBeginEnvironment{verbbox}{\microtypesetup{activate=false}} +\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts \usepackage{lscape} \usepackage{epsfig} -- 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