I need to put a output of a program in a quote stile but i need to put a \caption
tag like an image or a table.
I need to do something like:
text
other text
…
Output X: something
What i can do this?
Edit 1:
I have a multiline quote like this:
\begin{quote}
{\bf Percorso del dataset:} Utile in caso di approccio \ac{MC} per individuare il dataset con le epoche random che ha portato allo score migliore;\\
{\bf Numero totale di epoche:} Utile nel caso 3 per specificare qual'è il numero di epoche che portato allo score migliore; \\
{\bf Istanti di transizione da un epoca all'altra:} Utile in caso di approccio \ac{MC} per caratterizzare la sequenza di epoche appresa che ha portato allo score migliore; \\
{\bf Score globale:} Score dell'intera sequenza di strutture; \\
{\bf Lista dei NaN:} Eventuale lista degli score con valore \ac{NaN};
\end{quote}
I need to put a label "Quote X: blablabla" at the bottom of the quote. I don't like the figure tag, because it isn't a figure.
Best Answer
One can create a new float type that I call
floatquote
with thefloat
package. It's not used in the document body, as I can't imagine why one would make a quotation float. Instead, you have thecaptionof
command from thecaption
package. In addition, I included a demonstration of thecleveref
package (cross-references that detect the type of structure you're referencing, so you don't have to type its name). I also added theenumitem
package to use a compact description environment which I find better suited to your case andbabel
to have correct hyphenation in italian. Not knowing what the\ac
command is supposed to do, I decided quite arbitrarily it was "\relax".