emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scot Becker <scot.becker@gmail.com>
To: Emmanuel Di Pretoro <edipretoro@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: LaTeX habits and org-mode
Date: Fri, 20 Nov 2009 14:37:55 +0000	[thread overview]
Message-ID: <e0e1fe620911200637r793127a0te96abdcc5107f5@mail.gmail.com> (raw)
In-Reply-To: <2df5ce20911200559v2228f051jcf562430e4dc0fe8@mail.gmail.com>


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

Emmanuel,

If the introduction LOOKs just like a normal chapter, then you just do:

* Introduction

In this paper I indend to once and for all solve the problem of [blaaa].

* Chapter One: The Problem
* Chapter Two: Lame Previous Attempts at a Solution
* Chapter Three:  Appproach it Like This
* Chapter Four: The Goods

In other words, if this section is a chapter unto itself, just give it its
own top level heading.  What you then have to pay attention to is the way
the org exports the LaTeX, which you do by adding a configuration to the
org-export-latex-classes list, something like this:

(setq org-export-latex-classes '(("book"
"\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{hyperref}"
  ("\\chapter{%s}" . "\\chapter*{%s}")
  ("\\section{%s}" . "\\section*{%s}")
  ("\\subsection{%s}" . "\\subsection*{%s}")
  ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))

I'm not sure if this one is useful as it is, so you might want to look at
other (better formatted) examples as well.  But the trick is just to tell
org to assign first level headings to 'chapters'.

Now if you don't want your introduction chapter numbered, that's a slightly
different problem, which I'm not sure I know how to solve.

Hope that gets you started.

Scot



On Fri, Nov 20, 2009 at 1:59 PM, Emmanuel Di Pretoro
<edipretoro@gmail.com>wrote:

> Hi,
>
> I'm currently writing a document with org-mode instead of LaTeX. Usually,
> with LaTeX, the first section of such a document is a
> \chapter*{Introduction} where I explain the context of the document. How can
> I do that with org-mode ?
>
> Thanks in advance,
>
> Emmanuel Di Pretoro
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

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

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

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

  reply	other threads:[~2009-11-20 14:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 13:59 LaTeX habits and org-mode Emmanuel Di Pretoro
2009-11-20 14:37 ` Scot Becker [this message]
2009-11-20 14:57   ` Emmanuel Di Pretoro
2009-11-20 15:06 ` Carsten Dominik
2009-11-28  7:33   ` Emmanuel Di Pretoro

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=e0e1fe620911200637r793127a0te96abdcc5107f5@mail.gmail.com \
    --to=scot.becker@gmail.com \
    --cc=edipretoro@gmail.com \
    --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).