emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Giving latex attributes to sections in export
@ 2010-05-22 21:50 John Hendy
  2010-05-28 15:13 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: John Hendy @ 2010-05-22 21:50 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1360 bytes --]

Hi,


I just emailed a similar question about tables... but how can one pass latex
options inside of sections/subsections? I'd like something like this in my
report:

* History of experiments
introduction text goes here... blah blah blah. A history of experiments and
corresponding data tables will follow.

\begin{landscape}

** Date of experiment 1
*** Conditions
*** Data
|table|of|data

** Date of experiment 1
*** Conditions
*** Data
|table|of|data

\end{landscape}

* Conclusion

So... I'd like the report in portrait mode, but my tables are long enough
that it makes sense to switch entirely to landscape for that portion of the
report and then switch back for portrait for discussion. At present if I do
either:

\begin{landscape}

#+BEGIN_LaTeX
\begin{landscape}
#+END_LaTeX

then org-mode ignores the following section. It DOES actually rotate the
orientation, but the tables are all in ASCII format and in the matching .tex
file, instead of \subsection{name}, I just get a literal export of the
subsection asterisks ("*** subsection name') exactly how it looks in
org-mode. Something triggers org-mode to stop translating from org-mode
structure into LaTeX. I've checked possible uses for property drawers and
#+ATTR_LATEX seems only to apply to images... just not sure how to slip in
various latex commands as they are needed.


Best regards,
John

[-- Attachment #1.2: Type: text/html, Size: 1508 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Giving latex attributes to sections in export
  2010-05-22 21:50 Giving latex attributes to sections in export John Hendy
@ 2010-05-28 15:13 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-05-28 15:13 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

Hi John,

please check out this thread:

http://thread.gmane.org/gmane.emacs.orgmode/12977/focus=13057

and then use org-special-blocks.el

HTH

- Carsten


On May 22, 2010, at 11:50 PM, John Hendy wrote:

> Hi,
>
>
> I just emailed a similar question about tables... but how can one  
> pass latex options inside of sections/subsections? I'd like  
> something like this in my report:
>
> * History of experiments
> introduction text goes here... blah blah blah. A history of  
> experiments and corresponding data tables will follow.
>
> \begin{landscape}
>
> ** Date of experiment 1
> *** Conditions
> *** Data
> |table|of|data
>
> ** Date of experiment 1
> *** Conditions
> *** Data
> |table|of|data
>
> \end{landscape}
>
> * Conclusion
>
> So... I'd like the report in portrait mode, but my tables are long  
> enough that it makes sense to switch entirely to landscape for that  
> portion of the report and then switch back for portrait for  
> discussion. At present if I do either:
>
> \begin{landscape}
>
> #+BEGIN_LaTeX
> \begin{landscape}
> #+END_LaTeX
>
> then org-mode ignores the following section. It DOES actually rotate  
> the orientation, but the tables are all in ASCII format and in the  
> matching .tex file, instead of \subsection{name}, I just get a  
> literal export of the subsection asterisks ("*** subsection name')  
> exactly how it looks in org-mode. Something triggers org-mode to  
> stop translating from org-mode structure into LaTeX. I've checked  
> possible uses for property drawers and #+ATTR_LATEX seems only to  
> apply to images... just not sure how to slip in various latex  
> commands as they are needed.
>
>
> Best regards,
> John
> _______________________________________________
> 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

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-28 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-22 21:50 Giving latex attributes to sections in export John Hendy
2010-05-28 15:13 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).