* ox-latex does not recognize :align setting
@ 2015-05-02 14:39 Vicente
2015-05-02 19:11 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Vicente @ 2015-05-02 14:39 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]
I can't get ox-beamer to recognize the settings from the :align, while exporting a table to latex. In the tex file it shows as: \begin{tabular}{lllll}
Using Emacs 24.4.1 (Org mode 8.2.10) on Fedora 21
my script follows, including headers
#+TITLE: export latex embedded table
#+AUTHOR: VE
#+EMAIL: desdefuera@yahoo.com
#+OPTIONS: H:1 toc:nil
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [presentation smaller]
#+BEAMER_THEME: Madrid
#+COLUMNS: %45ITEM %10BEAMER_ENV(Env) %10BEAMER_ACT(Act) %4BEAMER_COL(Col) %8BEAMER_OPT(Opt)
* table test
#+ATTR_LATEX: :mode table :align |p{3cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|
#+LATEX: {\tiny
|-----------------+-------+-------+-------+-------|
| <15> | <5> | <5> | <5> | <5> |
| | Nunca lo hizo | Lo hizo una vez o algunas veces | Lo ha hecho frecuentemente | NS/NR |
|-----------------+-------+-------+-------+-------|
| a. ¿Ha trabajado en un proyecto comunitario? | | | | |
|-----------------+-------+-------+-------+-------|
| b. ¿Ha participado en actividades de voluntariado? | | | | |
|-----------------+-------+-------+-------+-------|
| c. ¿Ha llevado botellas, cajas, papel o material para reciclar a lugares designados? | | | | |
|-----------------+-------+-------+-------+-------|
#+LATEX: }
[-- Attachment #2: Type: text/html, Size: 3063 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ox-latex does not recognize :align setting
2015-05-02 14:39 ox-latex does not recognize :align setting Vicente
@ 2015-05-02 19:11 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-05-02 19:11 UTC (permalink / raw)
To: Vicente; +Cc: emacs-orgmode@gnu.org
Hello,
Vicente <desdefuera@yahoo.com> writes:
> #+ATTR_LATEX: :mode table :align |p{3cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|
This line has to appear just before the table. Therefore, the line
below prevents the attributes from being associated to the table.
> #+LATEX: {\tiny
Note that there is a :font parameter:
#+ATTR_LATEX: :font \footnotesize
> |-----------------+-------+-------+-------+-------|
> | <15> | <5> | <5> | <5> | <5> |
> | | Nunca lo hizo | Lo hizo una vez o algunas veces | Lo ha hecho frecuentemente | NS/NR |
> |-----------------+-------+-------+-------+-------|
> | a. ¿Ha trabajado en un proyecto comunitario? | | | | |
> |-----------------+-------+-------+-------+-------|
> | b. ¿Ha participado en actividades de voluntariado? | | | | |
> |-----------------+-------+-------+-------+-------|
> | c. ¿Ha llevado botellas, cajas, papel o material para reciclar a lugares designados? | | | | |
> |-----------------+-------+-------+-------+-------|
> #+LATEX: }
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-02 19:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-02 14:39 ox-latex does not recognize :align setting Vicente
2015-05-02 19:11 ` Nicolas Goaziou
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).