diff options
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r-- | arabluatex.dtx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 6222e5d..eea454d 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -202,15 +202,17 @@ | |||
202 | \usepackage{booktabs} | 202 | \usepackage{booktabs} |
203 | \usepackage[defaultlines=3,all]{nowidow} | 203 | \usepackage[defaultlines=3,all]{nowidow} |
204 | \usepackage{needspace} | 204 | \usepackage{needspace} |
205 | \usepackage{relsize} | ||
205 | \usepackage{tikz} | 206 | \usepackage{tikz} |
206 | \usepackage[breakable, skins, listings, xparse]{tcolorbox} | 207 | \usepackage[breakable, skins, xparse, minted]{tcolorbox} |
207 | \tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, left=6mm, | 208 | \tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, left=6mm, |
208 | breakable} | 209 | breakable} |
209 | \DeclareTCBListing{arabluacode}{s O{}}{listing | 210 | \DeclareTCBListing{arabluacode}{s O{}}{listing engine=minted, minted |
210 | options={style=tcblatex, numbers=left, numberstyle=\tiny}, | 211 | language=latex, minted options={linenos, fontsize=\relsize{-0.5}}, |
211 | IfBooleanTF={#1}{listing side text}{#2}} | 212 | IfBooleanTF={#1}{listing side text}{#2}} |
212 | \DeclareTCBListing{arabluaverbatim}{}{listing options={style=tcblatex, | 213 | \DeclareTCBListing{arabluaverbatim}{}{listing engine=minted, minted |
213 | numbers=left, numberstyle=\tiny}, listing only} | 214 | language=latex, minted options={linenos, fontsize=\relsize{-0.5}}, |
215 | listing only} | ||
214 | \DeclareTotalTCBox{\arabluaverb}{v}{verbatim}{#1} | 216 | \DeclareTotalTCBox{\arabluaverb}{v}{verbatim}{#1} |
215 | \DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm, | 217 | \DeclareTotalTCBox{\arabluabox}{m}{left=0mm, right=0mm, top=0mm, |
216 | bottom=0mm}{#1} | 218 | bottom=0mm}{#1} |