\usepackage{kinote-color} \usepackage{mdframed} \mdfdefinestyle{kinotemdframe}{ backgroundcolor=lightgraycolor, linecolor=rulecolor, linewidth=1.5pt, leftline=true, rightline=false, topline=false, bottomline=false, innertopmargin=5pt, innerbottommargin=3pt, innerrightmargin=3pt, innerleftmargin=5pt, skipabove=1em, skipbelow=1em } \@ifpackageloaded{minted}{ %\usemintedstyle{arduino} %\usemintedstyle{algol_nu} %\usemintedstyle{trac} \setminted{ baselinestretch=0.9, breaklines=true, %linenos=true } \surroundwithmdframed[style=kinotemdframe]{minted} \usepackage{scrbase} \newcaptionname{spanish}{\listingscaption}{Listado} }{ \surroundwithmdframed[style=kinotemdframe]{Shaded} \surroundwithmdframed[style=kinotemdframe]{verbatim} } \colorlet{darknoteshade}{kinoteRed!60} \colorlet{noteshade}{darknoteshade!10} \mdfdefinestyle{quoteframe}{ style=kinotemdframe, backgroundcolor=quoteshade, linecolor=darkquoteshade, } \renewenvironment{quote}{% \begin{mdframed}[style=quoteframe]% } {% \end{mdframed}% } \mdfdefinestyle{noteframe}{ style=quoteframe, backgroundcolor=noteshade, linecolor=darknoteshade } \newenvironment{note}{% \begin{mdframed}[style=noteframe]% } {% \end{mdframed}% } \newcommand{\DUadmonitionnote}[1]{% \def\FrameCommand{% %\hspace{1pt}% {\color{darknoteshade}\vrule width 2pt}% {\color{noteshade}\vrule width 10pt}% \colorbox{noteshade}% }% \MakeFramed{\advance\hsize-\width\FrameRestore}% \noindent\hspace{-4.55pt}% disable indenting first paragraph \begin{adjustwidth}{}{7pt}% %\vspace{2pt}\vspace{2pt}% #1% \vspace{2pt}\vspace{2pt}% \end{adjustwidth}\endMakeFramed% }