emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] float control in org


From: Zhihao Ding
Subject: [O] float control in org
Date: Fri, 22 May 2015 09:43:24 +0000

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

[Prev in Thread] Current Thread [Next in Thread]