Prevent line-break of '__' within \co{} macro
PATCH 1/1 Prevent line-break of '__' within \co{} macro
From d52949f8937a736d7eaa1db4914bccf88fbe2697 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Fri, 23 Dec 2016 09:20:53 +0900
Subject: [PATCH] Prevent line-break of '__' within \co{} macro
We don't want "__" to be broken in between. Such line-breaks can be prevented by specifying "__" after "_" in \lstset{}.
Signed-off-by Akira Yokosawa <[email protected]>
--- perfbook.tex | 1 + 1 file changed, 1 insertion(+)
perfbook.tex +1 -0
@@ -73,6 +73,7 @@ %%HTMLSKIP \lstset{ literate={\_}{}{0\discretionary{\_}{}{\_}}% + {\_\_}{}{0\discretionary{\_\_}{}{\_\_}}% {->}{}{0\discretionary{->}{}{->}}% } %%HTMLNOSKIP
Signature · 1 line
2.7.4