Hi Eric,

Eric S Fraga wrote:
> it might be nice to have a worg page on snippets for org-mode?

Sure. Or having them somewhere in the git directories...


> I'm happy to contribute a few.
>
> figure:
> #name : figure
> # --
> #+attr_latex: width=$1\textwidth
> [[file:$2.pdf]]
> $0

Better use \linewidth instead of \textwidth. You will avoid bad surprises.

They are generally equivalent, but \linewidth is more often the real width to
consider: it is correctly adapted in column environments, itemized lists and
quotes, to cite a few.

Seb

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to