Skip to content

Commit

Permalink
Indent verbatim code the same as the displayed results
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsalomon committed Aug 13, 2012
1 parent 0a8c45a commit 23be2f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xpeek.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ Joel C. Salomon ‹joelcsalomon@gmail.com›.

^^A Define indented verbatim environment
\DefineVerbatimEnvironment{IVerbatim}{Verbatim}%
{xleftmargin=2em, gobble=4}
{xleftmargin=2.5\rmemwidth, gobble=4}
\newlength\rmemwidth
\AtBeginDocument{
\setlength\rmemwidth{\fontdimen6\font}
}

^^A Enable line continuations in `syntax` environments
\NewDocumentCommand \fixsyntaxlines {}
Expand Down

0 comments on commit 23be2f9

Please sign in to comment.