emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Subfloats in org - easier way?
@ 2014-11-21 12:13 Rainer M Krug
  2014-11-21 12:33 ` Rasmus
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2014-11-21 12:13 UTC (permalink / raw)
  To: emacs-orgmode

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


Hi

I want to include in a document, exported to LaTeX, a subfigure. and
followed the blog entry [1]. This works, but

1) is cumbersome and extemely LaTex - I can live with this, but is
   there a more org-modeisch solution?
2) I cant use the link (Figure [[fig:ventLEL]]) as they got not replaced
   by the correct LaTeX commands. This is obvious (as I did not
   use #+CAPTION: for the caption), but is there a way, apart from
   using the LaTeX code for these links, to get the links into the
   document?

Thanks,

Rainer

* The example
#+LATEX: \begin{figure}\centering
#+LATEX: \subfloat[matlab]{\label{fig:matlabVentLEL}
#+ATTR_LATEX: :height 0.45\textwidth
[[file:inst/matlab/plots/vent5.pdf]]
#+LATEX: } 
#+LATEX: \subfloat[R]{\label{fig:rVentLEL}

#+begin_src R :exports results :file rVentLEL.pdf :results graphics
plot(runif(10))
#+end_src
#+ATTR_LATEX: :height 0.45\textwidth
#+RESULTS:
[[file:rVentLEL.pdf]]

#+LATEX: }\caption{Plot of the wind profile from the matlab script using the Log-Exp-Log profile}\label{fig:ventLEL}
#+LATEX: \end{figure}



Footnotes: 
[1]  http://draketo.de/light/english/emacs/write-multiple-images-single-page-org-mode

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

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

end of thread, other threads:[~2014-11-21 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-21 12:13 Subfloats in org - easier way? Rainer M Krug
2014-11-21 12:33 ` Rasmus
2014-11-21 13:54   ` Rainer M Krug

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