>From 6dcdd57af3b2afa72635dc544064c789ddd1d391 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Mon, 2 Dec 2019 21:17:35 +0900 Subject: [PATCH 6/6] styleguide: Treat current snippet scheme as 'the scheme' Now that conversion of code snippets to the current scheme has completed, we can call it "the scheme". Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- appendix/styleguide/styleguide.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appendix/styleguide/styleguide.tex b/appendix/styleguide/styleguide.tex index 8967c315..12273309 100644 --- a/appendix/styleguide/styleguide.tex +++ b/appendix/styleguide/styleguide.tex @@ -333,10 +333,10 @@ This section explains the use cases of such macros and environments. \label{sec:app:styleguide:Code Snippet} Because the \qco{verbatim} environment is a primitive way to include -listings, we are transitioning to a new scheme which uses +listings, we have transitioned to a scheme which uses the \qco{fancyvrb} package for code snippets. -The goal of the new scheme is to extract \LaTeX\ sources of +The goal of the scheme is to extract \LaTeX\ sources of code snippets directly from code samples under \path{CodeSamples} directory. It also makes it possible to embed line labels in the code samples, @@ -355,7 +355,7 @@ by the \qco{verbatimbox} package. \co{verbbox} can automatically generate line numbers, but those line numbers cannot be referenced within the \LaTeX\ sources. -Let's start by looking at how code snippets are coded in the new scheme. +Let's start by looking at how code snippets are coded in the current scheme. There are three customized environments of \qco{Verbatim}. \qco{VerbatimL} is for floating snippets within the \qco{listing} environment. \qco{VerbatimN} is for inline snippets with line count -- 2.17.1