s*****c 发帖数: 550 | 1 I need to put some program output console as Appendix in LaTex, but
everything is squeezed together. |
N**D 发帖数: 10322 | 2 verbitam
【在 s*****c 的大作中提到】 : I need to put some program output console as Appendix in LaTex, but : everything is squeezed together.
|
c*****t 发帖数: 1879 | 3 \usepackage{listings}
然后
\lstset{language=SQL}
\begin{lstlisting}
select * from employee;
\end{lstlisting}
【在 s*****c 的大作中提到】 : I need to put some program output console as Appendix in LaTex, but : everything is squeezed together.
|
s*****c 发帖数: 550 | 4 Thank you very much! It really works the way I type in. |
s*****c 发帖数: 550 | 5 Thanks guys. Right now I just hope to control the size of the text, kinda
going out of page boundary. |
s*****c 发帖数: 550 | 6 Just used:
\begin{tiny}
\verbatiminput{simulation_console.txt}
\end{tiny}
A bit small but works out. |