diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bmstu-iu8/20-IU8-listing.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bmstu-iu8/20-IU8-listing.sty | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/bmstu-iu8/20-IU8-listing.sty b/Master/texmf-dist/tex/latex/bmstu-iu8/20-IU8-listing.sty index a2d817a0fb9..e0e7f962511 100644 --- a/Master/texmf-dist/tex/latex/bmstu-iu8/20-IU8-listing.sty +++ b/Master/texmf-dist/tex/latex/bmstu-iu8/20-IU8-listing.sty @@ -1,32 +1,27 @@ % Author: CatInCosmicSpace \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{20-IU8-listing}[2021/03/21 v1.0 Листинги] +\ProvidesPackage{20-IU8-listing}[2021/03/21 v1.1 Листинги] \RequirePackage{listings} \RequirePackage{xcolor} -\definecolor{codegreen}{rgb}{0,0.6,0} -\definecolor{codegray}{rgb}{0.5,0.5,0.5} -\definecolor{codepurple}{rgb}{0.58,0,0.82} -\definecolor{backcolour}{rgb}{0.95,0.95,0.92} +% http://latexcolor.com/ +\definecolor{seashell}{rgb}{1.0, 0.96, 0.93} \lstdefinestyle{IU8}{ - % backgroundcolor=\color{backcolour}, - % commentstyle=\color{codegreen}, - % keywordstyle=\color{magenta}, - numberstyle=\tiny\color{black}, - % stringstyle=\color{codepurple}, + frame=single, + backgroundcolor=\color{seashell}, + commentstyle=\color{blue}, + keywordstyle=\color{magenta}, basicstyle=\ttfamily\footnotesize, breakatwhitespace=false, breaklines=true, - captionpos=tl, - xleftmargin=0.5\parindent, - keepspaces=true, - numbers=left, - numbersep=5pt, + captionpos=tl, + keepspaces=false, showspaces=false, showstringspaces=false, - showtabs=false, + showtabs=false, + extendedchars=\true, tabsize=2, } \lstset{style=IU8} |