>From 025355ead8a24d953771fc44066f20efa91e9897 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Tue, 12 Feb 2019 21:04:37 +0900 Subject: [PATCH 2/4] Set default fontfamily for snippets of 'fancyvrb' Defaults of environments derived from "Verbatim" as well as \VerbatimInput{} can be set globally by a "\fvset{}" macro. \VerbatimImput{} was not covered by the old code. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- perfbook.tex | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/perfbook.tex b/perfbook.tex index 9caeee8..edf18d5 100644 --- a/perfbook.tex +++ b/perfbook.tex @@ -131,10 +131,7 @@ \AtBeginEnvironment{tabularx}{\renewcommand{\ttdefault}{lmtt}} \AtBeginEnvironment{minipage}{\renewcommand{\ttdefault}{lmtt}} \AtBeginEnvironment{listing}{\renewcommand{\ttdefault}{lmtt}} -\AtBeginEnvironment{Verbatim}{\renewcommand{\ttdefault}{lmtt}} -\AtBeginEnvironment{VerbatimL}{\renewcommand{\ttdefault}{lmtt}} -\AtBeginEnvironment{VerbatimN}{\renewcommand{\ttdefault}{lmtt}} -\AtBeginEnvironment{VerbatimU}{\renewcommand{\ttdefault}{lmtt}} +\fvset{fontfamily=lmtt} }{} \IfTblCpTop{ -- 2.7.4