X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=pret-trans.lua;h=212c835ace52d0c7b026fc606dca6d336cba5ba1;hp=1d2eb95c8da8dac2960a5a6e7a24ffa33da23857;hb=5ea42c0c142beefa7f520b4303782b79ca2c796b;hpb=4f0ad92ab36aa4f87bc4a16cb5f7733bbef41428 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"