From: Matthijs Kooijman Date: Wed, 30 Sep 2009 11:57:22 +0000 (+0200) Subject: Use \HLine instead of \blackrule in transformations. X-Git-Tag: final-thesis~239 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=commitdiff_plain;h=84b4c4f77937d970cc19c979282a86bb727fd822 Use \HLine instead of \blackrule in transformations. --- diff --git a/pret-trans.lua b/pret-trans.lua index 1d2eb95..212c835 100644 --- a/pret-trans.lua +++ b/pret-trans.lua @@ -13,7 +13,7 @@ local vis = buffers.newvisualizer("trans") local commands = {} -- A command to create a horizontal rule. -commands.rule = "\\blackrule[height=0.5pt,depth=0pt,width=.40\\textwidth]" +commands.rule = "\\HLine[width=.40 * \\the\\textwidth]" -- Pretty printer to use for the stuff before and after the line commands.before_pret = "lam" commands.after_pret = "lam"