When using lstlisting, my displayed code is sent back on the top of my page. I would like to have the same kind of option as:
\begin{figure}[h]
...
\end{figure}
ie having displayed my code exactly where I put it in my latex code.
My current code for lstlisting is as follow:
\begin{lstlisting}[float,style=Bash,caption={toto.bash},label=lst:logging]
...
\end{lstlisting}
Thanks!
Second question: How to display lstlisting on 2 followed pages, when the code is too long?