Hi there, 

Could I ask for some advice on using the latex float 
package in org mode? I’d like to have some control on 
the positions of the figures, tables, code blocks etc. 
Currently I am doing it using latex entirely, just for 
my code blocks, as below 

     #+BEGIN_LaTeX
     \floatstyle{ruled}
     \newfloat{Program}{tbp}{lop}[section]
     \begin{Program}
     \begin{verbatim}
        ./somescripts.sh —someargs
     \end{verbatim}
     \caption{my caption}
     \label{mylabel}
     \end{Program}
     #+END_LaTeX

 There must be better ways of doing this?

Thanks very much!

Zhihao

Reply via email to