emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ox-tufte-latex
@ 2016-02-02  0:26 Thomas S. Dye
  2016-02-02  1:10 ` ox-tufte-latex Titus von der Malsburg
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Thomas S. Dye @ 2016-02-02  0:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2477 bytes --]

Aloha all,

I've cobbled together an exporter for the Tufte LaTeX classes, which I'd
like to contribute to Org mode contrib/.  A brief description of the
derived backend can be found below, and I've attached the
ox-tufte-latex.el file for the review described on
http://orgmode.org/worg/org-contribute.html.

I've been using the derived backend for a while now and am happy with
how it is working.  The Tufte LaTeX classes (especially the book class)
require quite a bit of set up to work optimally, and I'll be sharing
what I've learned along these lines in the next couple of weeks.  Org
mode is a great tool for authoring Tufte LaTeX documents!

All the best,
Tom

                            ━━━━━━━━━━━━━━━━
                             OX-TUFTE-LATEX

                             Thomas S. Dye
                            ━━━━━━━━━━━━━━━━


The file `ox-tufte-latex.el' implements an Org mode export backend for
the Tufte LaTeX classes, which are designed to produce books and
handouts in the style developed by Edward Tufte.  The backend is derived
from `ox-latex.el'.

A characteristic of Tufte's style is a page layout with a wide margin on
one side (typically the right side) in which notes, references, small
tables, and small figures are placed.

The Tufte LaTeX classes implement several non-standard LaTeX commands to
achieve this page layout, including `marginfigure', `margintable', and
`sidenote'.  `Ox-tufte-latex.el' implements these commands.

The `marginfigure' command is controlled by a new LaTeX attribute
`:float margin'.  In addition, there are attributes to: set the offset,
e.g., `:offset 1in', which adjusts the position of the figure up or down
in the margin; the vertical alignment of figure captions, e.g.,
`:vertical-alignment t|b', so they align with either the top or bottom
of the float; and `:horizontal-alignment l|r' in case a figure and its
caption end up on different pages.

The `margintable' command is controlled by the LaTeX attribute `:float
margin' associated with a table.

The Org mode footnote mechanism has been hijacked to produce `sidenote'
commands, instead of `footnote' commands.  The `sidenote' command takes
an optional parameter for the offset, and this is implemented as a LaTeX
attribute associated with the Org mode footnote definition, e.g.,
┌────
│ #+attr_latex: :offset 36pt
│ [fn:1] Cook referred to Koa`a as Koah.
└────


[-- Attachment #2: Ox-tufte-latex.el --]
[-- Type: application/emacs-lisp, Size: 28018 bytes --]

[-- Attachment #3: Type: text/plain, Size: 41 bytes --]



-- 
Thomas S. Dye
http://www.tsdye.com

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

end of thread, other threads:[~2016-02-23  0:00 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-02  0:26 ox-tufte-latex Thomas S. Dye
2016-02-02  1:10 ` ox-tufte-latex Titus von der Malsburg
2016-02-02  1:49   ` ox-tufte-latex Thomas S. Dye
2016-02-03 21:57     ` ox-tufte-latex Spencer Boucher
2016-02-02  8:52 ` ox-tufte-latex Eric S Fraga
2016-02-03  0:28 ` ox-tufte-latex Rasmus
2016-02-03  1:35   ` ox-tufte-latex Thomas S. Dye
2016-02-03  2:29     ` ox-tufte-latex Lawrence Bottorff
2016-02-03 11:05     ` ox-tufte-latex Rasmus
2016-02-03 11:26       ` ox-tufte-latex Marcin Borkowski
2016-02-03 11:41         ` ox-tufte-latex Rasmus
2016-02-03 13:33           ` ox-tufte-latex Marcin Borkowski
2016-02-03 16:07             ` ox-tufte-latex Thomas S. Dye
2016-02-03 15:41       ` ox-tufte-latex Thomas S. Dye
2016-02-03 16:42         ` ox-tufte-latex Rasmus
2016-02-03 17:15           ` ox-tufte-latex Thomas S. Dye
2016-02-12 18:28 ` ox-tufte-latex Eduardo Mercovich
2016-02-12 19:02   ` ox-tufte-latex Thomas S. Dye
2016-02-18 18:43     ` ox-tufte-latex Eduardo Mercovich
2016-02-19  3:03       ` ox-tufte-latex Thomas S. Dye
2016-02-19  3:54       ` ox-tufte-latex Thomas S. Dye
2016-02-22 17:59         ` ox-tufte-latex Eduardo Mercovich
2016-02-22 18:52           ` ox-tufte-latex Thomas S. Dye
2016-02-22 19:35 ` ox-tufte-latex John Hendy
2016-02-23  0:00   ` ox-tufte-latex Thomas S. Dye

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).