summaryrefslogtreecommitdiff
path: root/dev-texlive/texlive-latexextra/files/lstlinebgrd-syntax.patch
blob: 16f9da12d0562a1f251079c7b29a2f3225299fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty	2019-06-21 16:32:09.158990775 +0200
+++ b/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty	2019-06-21 16:31:45.408991817 +0200
@@ -27,10 +27,10 @@
 \lst@Key{numbers}{none}{%
     \def\lst@PlaceNumber{\lst@linebgrd}%
     \lstKV@SwitchCases{#1}%
-    {none&\\%
-     left&\def\lst@PlaceNumber{\llap{\normalfont
+    {none:\\%
+     left:\def\lst@PlaceNumber{\llap{\normalfont
                 \lst@numberstyle{\thelstnumber}\kern\lst@numbersep}\lst@linebgrd}\\%
-     right&\def\lst@PlaceNumber{\rlap{\normalfont
+     right:\def\lst@PlaceNumber{\rlap{\normalfont
                 \kern\linewidth \kern\lst@numbersep
                 \lst@numberstyle{\thelstnumber}}\lst@linebgrd}%
     }{\PackageError{Listings}{Numbers #1 unknown}\@ehc}}