diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-01-06 19:17:53 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-01-06 19:17:53 +0100 |
commit | 04887cf09994c775c4cb20fa8366e889c94ed178 (patch) | |
tree | fa31eff2eeecc803596370544ec4aaae29e5c83b | |
parent | 021140b47d38e6f8079ee50940e257deb05ca5b8 (diff) | |
download | arabluatex-04887cf09994c775c4cb20fa8366e889c94ed178.tar.gz |
tcblisting: line numbers and vertical rules overlapped
-rw-r--r-- | arabluatex.dtx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index d0c218d..6217ca0 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -192,12 +192,13 @@ | |||
192 | \usepackage{tikz} | 192 | \usepackage{tikz} |
193 | \usepackage[breakable, skins, listings, xparse]{tcolorbox} | 193 | \usepackage[breakable, skins, listings, xparse]{tcolorbox} |
194 | \DeclareTCBListing{arabluacode}{s O{}}{colback=white, boxrule=.15mm, | 194 | \DeclareTCBListing{arabluacode}{s O{}}{colback=white, boxrule=.15mm, |
195 | colframe=red!50!white, breakable, listing options={style=tcblatex, | 195 | colframe=red!50!white, left=6mm, breakable, listing |
196 | numbers=left, numberstyle=\tiny}, IfBooleanTF={#1}{listing side | 196 | options={style=tcblatex, numbers=left, numberstyle=\tiny}, |
197 | text}{#2}} | 197 | IfBooleanTF={#1}{listing side text}{#2}} |
198 | \DeclareTCBListing{arabluaverbatim}{}{colback=white, boxrule=.15mm, | 198 | \DeclareTCBListing{arabluaverbatim}{}{colback=white, boxrule=.15mm, |
199 | colframe=red!50!white, breakable, listing options={style=tcblatex, | 199 | colframe=red!50!white, left=6mm, breakable, listing |
200 | numbers=left, numberstyle=\tiny}, listing only} | 200 | options={style=tcblatex, numbers=left, numberstyle=\tiny}, listing |
201 | only} | ||
201 | \DeclareTotalTCBox{\arabluaverb}{v}{verbatim, colback=white, | 202 | \DeclareTotalTCBox{\arabluaverb}{v}{verbatim, colback=white, |
202 | boxrule=.15mm, colframe=red!50!white}{#1} | 203 | boxrule=.15mm, colframe=red!50!white}{#1} |
203 | \DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm, | 204 | \DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm, |