emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "\"Clément B.\"" <clement@inventati.org>
To: emacs-orgmode@gnu.org
Subject: Re: exporting α/β to latex/pdf
Date: Mon, 05 May 2014 18:52:24 +0200	[thread overview]
Message-ID: <5367C1C8.2000306@inventati.org> (raw)
In-Reply-To: <87oazdmbsl.fsf@gmail.com>

> The *easiest* solution is to just say \alpha and \beta in the org file
> instead of α and β. But biting the bullet and adopting XeTeX or LuaTeX is
> probably the *best* way to go (he says without ever having used either...)

For those who stick with pdflatex, you can also use "α" directly in the 
org document, and define

#+latex_header: \usepackage[utf8]{inputenc}
#+latex_header: \declareunicodecharacter{03b1}{α}

Provided your file is indeed encoded in utf-8 (but why would you use any 
other encoding?)

This simply tells the compiler to bind "α" to the unicode character 
"greek small letter alpha" (U+03B1). If there is a lot of unicode in the 
document, XeTeX/LuaTeX are definitely better choices.


Clément

  parent reply	other threads:[~2014-05-05 16:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-04 15:13 exporting α/β to latex/pdf Sharon Kimble
2014-05-04 16:03 ` Scott Randby
2014-05-04 19:26 ` Joost Helberg
2014-05-04 21:42 ` Suvayu Ali
2014-05-04 22:14   ` Nick Dokos
2014-05-05 15:06     ` Suvayu Ali
2014-05-05 18:38       ` Grant Rettke
2014-05-05 16:52     ` "Clément B." [this message]
2014-05-06 22:33       ` Nick Dokos
2014-05-07 23:30         ` "Clément B."
2014-05-05  0:08   ` Sharon Kimble
2014-05-06  2:51   ` Rustom Mody
2014-05-06 12:48     ` Suvayu Ali

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=5367C1C8.2000306@inventati.org \
    --to=clement@inventati.org \
    --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).