Risposte nei forum create
-
AutoreRisposte
-
::
ho usato questa cosa qui\usepackage{listings}
\usepackage{color}
\usepackage{textcomp}
\definecolor{listinggray}{gray}{0.9}
\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
\lstset{
backgroundcolor=\color{lbcolor},
tabsize=4,
rulecolor=,
language=matlab,
basicstyle=\scriptsize,
upquote=true,
aboveskip={1.5\baselineskip},
columns=fixed,
showstringspaces=false,
extendedchars=true,
breaklines=true,
prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
frame=single,
showtabs=false,
showspaces=false,
showstringspaces=false,
identifierstyle=\ttfamily,
keywordstyle=\color[rgb]{0,0,1},
commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle=\color[rgb]{0.627,0.126,0.941},
}e funziona, mi mette pure i colori alle parole chiave etc.., ho levato lo sfondo gigio perchè non mi piaceva
solo che mi mette una cosa del genere con dentro il listato
___________________________
|
|
|
|
|
|
|
|
|
___________________________etc.. non continuo, cmq come faccio a toglierlo
::
i numeti li ho inseriti così{\scriptsize
\begin{verbatim}
15.1 127.0 74.0 127 129 125 123 121 74
15.25953 74.0 127.0 74 121 123 125 129 12715.41906 127.0 74.0 127 129 125 123 121 74
16.167316 74.0 127.0 74 121 123 125 129 12745.1 127.0 74.0 127 129 126 124 68 39 122 74
45.974508 74.0 127.0 74 122 39 68 124 125 129 12775.1 127.0 74.0 127 129 125 123 121 74
75.848255 74.0 127.0 74 121 123 125 129 127
\end{verbatim}EDIT: risolto con \par
ma come mai dava quel problema??
}
-
AutoreRisposte