diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-07-06 14:48:12 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-07-06 14:48:12 -0400 |
commit | 69cb98f9bae6701e398b2479c298808af6a61159 (patch) | |
tree | a2774cf6cb195cb20dbd9e941d69a934a469a821 /lib/sisu/v2/texpdf.rb | |
parent | odf, monospace font (codeblock & monospace tag) (diff) |
texpdf, monospace font (codeblock & monospace tag)
Diffstat (limited to 'lib/sisu/v2/texpdf.rb')
-rw-r--r-- | lib/sisu/v2/texpdf.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sisu/v2/texpdf.rb b/lib/sisu/v2/texpdf.rb index b9d9e2c0..8d3b338a 100644 --- a/lib/sisu/v2/texpdf.rb +++ b/lib/sisu/v2/texpdf.rb @@ -443,10 +443,10 @@ module SiSU_TeX dob.tmp = ocn \ + @tex_ml.paraskip_small \ + "\n" \ - + ' \\begin{scriptsize}' \ + + ' \\begin{Codeblock}' \ + "\n" \ + dob.tmp \ - + '\\end{scriptsize}' \ + + ' \\end{Codeblock}' \ + "\n" \ + @tex_ml.paraskip_normal dob @@ -566,6 +566,8 @@ module SiSU_TeX \\makeatother \\chardef\\txtbullet="2022 \\chardef\\tilde="7E +\\definecolor{Light}{gray}{.92} +\\newcommand{\\Codeblock}[1]{\\normaltext\\raggedright\\tiny\\ttfamily\\texbackslash#1} % \\sloppy \\begin{document} WOK |