Re: Codice colorato

#75788
Liverpool
Partecipante
    Up
    0
    Down
    ::


    `\usepackage{xcolor}
    \usepackage{listings}
    \lstset{language=sql,
    basicstyle=\footnotesize\ttfamily,
    keywordstyle=\color{blue},
    breaklines=true,
    numbers=left,
    numberstyle=\scriptsize\sffamily\color{red},
    stepnumber=3,
    numbersep=10pt,
    captionpos=b,
    commentstyle=\footnotesize\ttfamily}
    \renewcommand{\lstlistlistingname}{Lista dei Sorgenti}
    \renewcommand{\lstlistingname}{Listato}`
    Non so se ho capito bene di che numeri parli, visto che numeri non ce ne sono. Era tutto scritto a pag. 5 e 6 del manuale, che ovviamente ho consultato perché non ricordo a memoria le parole chiave.

    Ciao

    Go to top