On 2013-07-03 11:01, Rasmus wrote: > Søren Mikkelsen <s...@iha.dk> writes: > >> I usually have some #+LaTeX_HEADER: entries in my org-mode files where >> some of them are macros. These lines can be rather long so I have to >> type in #+LaTeX_HEADER: multiple times for breaking the line to a decent >> level. >> >> Is there a way of breaking a line when it is export options (or a >> regular comment in org-mode)? > > No. But maybe you could do > > #+LATEX_HEADER: \input{pre} > #+BEGIN_SRC LATEX :tangle pre.tex > \usepackage{mypackage} > #+END_SRC > > Or you could make a new Org-Latex, see the variable org-latex-classes > if you have the same problem often. > > Some people entertained the idea of writing sty and/or cls files > recently on this list. If you use the same macros all over perhaps > you should pack them as a sty or the very least as an external tex > file, I guess. > > Alternatively, use the function string-rectangle. In the following > example, place your mark at the first `|', click C-Space, move to the > second `|' click C-x r t LATEX_HEADER RET. > > |\usepackage{pac1} > \usepackage{pac1} > |\usepackage{pac1}. > > Hope it helps. > > –Rasmus >
Okay, just thought that there might be a symbol for that. That could have been nice. But thanks for the suggestions. -- Søren