emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Lines above header
Date: Tue, 21 Jan 2014 09:14:35 +0100	[thread overview]
Message-ID: <874n4x3g5w.fsf@med.uni-goettingen.de> (raw)

Hi all,

There are situation where some lines that belong to a header are *above*
this header.

A simple example is the following, where the \cleardoublepage belongs to
the 'Figures' header:

--8<---------------cut here---------------start------------->8---
* Introduction
  Bla

* Methods
  Blup

#+LaTeX: \cleardoublepage
* Figures
--8<---------------cut here---------------end--------------->8---


Is there any support for anchoring that text to the header?


In the example, it is just inconvenient, that the \cleardoublepage
'belongs' to 'Methods'.  If, for instance, I add another section
'Conclusions' between 'Methods' and 'Figures' using C-RET, I will get
this:


--8<---------------cut here---------------start------------->8---
* Introduction
  Bla
* Methods
  Blup

#+LaTeX: \cleardoublepage

* Conclusions

* Figures
--8<---------------cut here---------------end--------------->8---

Which is undesired and which I will have to correct. (And I will fail to
correct that most times...)

So, is there any 'pre-header' facility, that I am unaware of?

Regards,
Andreas

                 reply	other threads:[~2014-01-21  8:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874n4x3g5w.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).