docs/master
diff style @ 82:ff4537327162
Mayor rework: Replaced .DS with .VS, a better verbatim environment.
VS is no Keep.
By translating characters in the typewriter fonts, we don't need to
escape the minus, backtick and single quote characters.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 06 Jun 2012 17:58:09 +0200 |
parents | 5fb821ed6f3c |
children | 99ab58dc891f |
line diff
1.1 --- a/style Wed Jun 06 14:53:16 2012 +0200 1.2 +++ b/style Wed Jun 06 17:58:09 2012 +0200 1.3 @@ -17,10 +17,10 @@ 1.4 .fp 0 CI TerminusMediumItalic-4.36 ttf 1.5 .fp 0 CB TerminusBold-4.36 ttf 1.6 .fp 0 L TerminusMedium-4.36 ttf 1.7 -.ftr CW -\- 1.8 -.ftr CI -\- 1.9 -.ftr CB -\- 1.10 -.ftr L -\- 1.11 +.ftr CW -\-`\`'\' 1.12 +.ftr CI -\-`\`'\' 1.13 +.ftr CB -\-`\`'\' 1.14 +.ftr L -\-`\`'\' 1.15 .fp 0 SC LinLibertine_R otf 1.16 .feature SC +onum +smcp 1.17 .fp 0 IC LinLibertine_RI otf 1.18 @@ -280,6 +280,39 @@ 1.19 .ta T 8n 1.20 .. 1.21 1.22 +. \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B) 1.23 +.de VS 1.24 +.br 1.25 +.ne 4 1.26 +.sp \n(DDu 1.27 +.if t .in +.5i 1.28 +.if n .in +8n 1.29 +.nf 1.30 +.ft CW 1.31 +.\" ps -1 1.32 +.ta T 8n 1.33 +.\" set up verbatim environment 1.34 +\.blm 1.35 +\.ec 1.36 +\.c2 "" 1.37 +\.cc 1.38 +.. 1.39 + 1.40 +. \" VE - verbatim text end (NOTE: Needs to be called as ^BVE !) 1.41 +.de VE 1.42 +\" restore the special characters 1.43 +cc 1.44 +.c2 1.45 +.ec 1.46 +.blm __ 1.47 +.if t .in -.5i 1.48 +.if n .in -8n 1.49 +.sp \n(DDu 1.50 +.ft P 1.51 +.fi 1.52 +.TA 1.53 +.. 1.54 + 1.55 . \" FA - XXX somehow related to footnotes? 1.56 .am FA 1.57 .ps 8