diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/bidicode.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/bidicode.sty | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/bidicode.sty b/Master/texmf-dist/tex/latex/bidi/bidicode.sty index 44f98eddbff..2a81ecec73d 100644 --- a/Master/texmf-dist/tex/latex/bidi/bidicode.sty +++ b/Master/texmf-dist/tex/latex/bidi/bidicode.sty @@ -48,6 +48,7 @@ backgroundcolor=\color{mybackground}, breakautoindent=true, rframe={}, + escapeinside=??, explpreset={numbers=left,numberstyle=\tiny,numbersep=12pt, xleftmargin=1em,columns=flexible,language=[LaTeX]TEX}, morekeywords={setLTR,setLR,setRTL,setRL,LRE,LR,RLE,RL,lr} @@ -58,6 +59,15 @@ frame=single} \lst@UserCommand\lstlistlistingname{List of Examples} % \lstlistoflistings \lst@UserCommand\lstlistingname{Example} +\newcommand\HLON{% + \gdef\lst@alloverstyle##1{% + \fboxrule=0pt + \fboxsep=0pt + \fcolorbox{orange}{orange}{\bfseries\strut##1}% +}} +\newcommand\HLOFF{% + \xdef\lst@alloverstyle##1{##1}% +} \newcommand\Larg [1]{{\normalfont\itshape#1\/}} \newcommand\Larga[1]{$\langle$\Larg{#1}$\rangle$} \newcommand\Largb[1]{\lcb\Larg{#1}\rcb} |