Re: modificare thebibliography di scrreprt.cls

#44362
lorenzo.pantieri
Partecipante
    Up
    0
    Down
    ::

    Non riesco a capire il senso.

    Ecco un esempio complilabile:
    `\documentclass[10pt,a4paper,twoside,openright,titlepage,%fleqn,%
    headinclude,,footinclude,BCOR5mm,%
    numbers=noenddot,cleardoublepage=empty,%
    tablecaptionabove,abstracton]{scrreprt}

    \usepackage[applemac]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage{indentfirst}
    \usepackage[writefile]{listings}
    \usepackage{classicthesis-ldpkg}
    \usepackage[eulerchapternumbers,subfig,beramono,%
    eulermath,pdfspacing,manychapters]{classicthesis}
    \usepackage[italian]{babel}
    \usepackage[italian]{arsclassica}
    \usepackage{guit}

    \definecolor{lightergray}{gray}{0.99}

    \lstset{language=[LaTeX]Tex,
    keywordstyle=\color{RoyalBlue},
    basicstyle=\normalfont\ttfamily,
    commentstyle=\color{Emerald}\ttfamily,
    stringstyle=\rmfamily,
    numbers=none,
    numberstyle=\scriptsize,
    stepnumber=5,
    numbersep=8pt,
    showstringspaces=false,
    breaklines=true,
    frameround=ftff,
    frame=lines,
    backgroundcolor=\color{lightergray}
    }

    \lstset{ %
    commentstyle=\color{Emerald}\ttfamily,%
    frame=lines,
    backgroundcolor=\color{lightergray}%
    }

    \lstset{ morekeywords={Ars}}

    \lstset{basicstyle=\normalfont\ttfamily}
    \lstset{flexiblecolumns=true}
    \lstset{moredelim={[is][\color{RoyalBlue}]{/*}{*/}}}
    \lstset{moredelim={[is][\ttfamily]{!?}{?!}}}
    \lstset{escapeinside={£*}{*£}}

    \lstset{extendedchars}
    \makeatletter
    \lstnewenvironment{sidebyside}{%
    \global\let\lst@intname\@empty
    \setbox\z@=\hbox\bgroup
    \setkeys{lst}{columns=fullflexible,%
    linewidth=0.45\linewidth,keepspaces=true,%
    breaklines=false,%
    breakindent=0pt,%
    boxpos=t,%
    basicstyle=\small\ttfamily
    }%
    \lst@BeginAlsoWriteFile{\jobname.tmp}%
    }{%
    \lst@EndWriteFile\egroup
    \begin{center}%
    \begin{minipage}{0.45\linewidth}%
    \hbox to\linewidth{\box\z@\hss}
    \end{minipage}%
    \qquad
    \begin{minipage}{0.45\linewidth}%
    \setkeys{lst}{frame=none}%
    \leavevmode \catcode`\^^M=5\relax
    \small\input{\jobname.tmp}%
    \end{minipage}%
    \end{center}%
    }
    \makeatother

    \hypersetup{citecolor=webgreen}

    \begin{document}

    \begin{sidebyside}
    \begin{!?thebibliography?!}{9}
    \bibitem{eco:tesi}
    Eco, Umberto (1977),
    \emph{Come si fa una tesi di
    laurea}, Bompiani, Milano.

    \bibitem{mori:tesi}
    Mori, Lapo Filippo (2007),
    «Scrivere la tesi di laurea
    con \/*LaTeXe*/», \Ars~(3).
    \end{!?thebibliography?!}
    \end{sidebyside}

    \end{document}`
    Grazie mille,
    L.

    Go to top