emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org to LaTeX export of tables
@ 2015-08-23 23:36 Vikas Rawal
  2015-08-24  3:51 ` Vikas Rawal
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vikas Rawal @ 2015-08-23 23:36 UTC (permalink / raw)
  To: org-mode mailing list

Please see the sample org table below, and the way it is exported in LaTeX.

I do not want \begin{center} and \end{center}. Having those results in some extra space between the table and the notes.

How can I get rid of it?

My org version: Org-mode version 8.3 (release_8.3-3-gb5f5d6)

Vikas



#+NAME: table-name
#+CAPTION: Caption of table
#+begin_table
#+begin_threeparttable
#+attr_latex: :environment tabulary :width \textwidth :align LRR
| Col1 | col2 | col3 |
|      |      |      |
|      |      |      |
|      |      |      |
|      |      |      |
#+begin_tablenotes
\item[] \footnotesize /Notes/:

\item[] \footnotesize Note 1 says something

\item[] \footnotesize Note one says something else

\item[] \footnotesize /Source/: Imagined by somebody
#+end_tablenotes
#+end_threeparttable
#+end_table


The LaTeX export:

\begin{table}
\caption{\label{orgspecialblock1}
Caption of table}
\begin{threeparttable}
\begin{center}
\begin{tabulary}{\textwidth}{LRR}
Col1 & col2 & col3\\
 &  & \\
 &  & \\
 &  & \\
 &  & \\
\end{tabulary}
\end{center}
\begin{tablenotes}
\item[] \footnotesize \emph{Notes}:

\item[] \footnotesize Note 1 says something

\item[] \footnotesize Note one says something else

\item[] \footnotesize \emph{Source}: Imagined by somebody
\end{tablenotes}
\end{threeparttable}
\end{table}

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

end of thread, other threads:[~2015-08-24 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-23 23:36 Org to LaTeX export of tables Vikas Rawal
2015-08-24  3:51 ` Vikas Rawal
2015-08-24  7:37 ` Marcin Borkowski
2015-08-24 20:11   ` Rasmus
2015-08-24 11:19 ` Michael Strey

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