projects
/
matthijs
/
master-project
/
report.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e1c7f4
)
Use \HLine instead of \blackrule in transformations.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 30 Sep 2009 11:57:22 +0000
(13:57 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 30 Sep 2009 11:57:22 +0000
(13:57 +0200)
pret-trans.lua
patch
|
blob
|
history
diff --git
a/pret-trans.lua
b/pret-trans.lua
index 1d2eb95c8da8dac2960a5a6e7a24ffa33da23857..212c835ace52d0c7b026fc606dca6d336cba5ba1 100644
(file)
--- 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"