Hi. I want to print from emacs an org-table like this one: --8<---------------cut here---------------start------------->8--- |-------------+-----------+----------+-----------+----------+---------| | DURATION | MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY | |-------------+-----------+----------+-----------+----------+---------| | 08:30-09:30 | CyT | RELIGION | GERMAN | ENGLISH | ENGLISH | |-------------+-----------+----------+-----------+----------+---------| | 09:50-10:50 | COMUNICAT | DPCC | COMUNICAT | COMUNIC | CyT | |-------------+-----------+----------+-----------+----------+---------| | 11:10-12:10 | COMPUTERS | CyT | E.FISICA | ART | GERMAN | |-------------+-----------+----------+-----------+----------+---------| | 12:30-13:30 | TUTORIA | MATH | MATH | CC.SS | MATH | --8<---------------cut here---------------end--------------->8--- on landscape on the content should enlarge to cover the full-page. Any ideas? Andrés Ramírez
Hi,
You can use:
#+ATTR_LaTeX: :float sideways
which is exported to LaTeX with the sidewaystable environment (rotating
package).
And for the table to fit vertically on the page:
#+LaTeX_Header: \usepackage{tabularx}
#+ATTR_LaTeX: :float sideways :environment tabularx :width \textheigtht
Regards,
Juan Manuel
Andrés Ramírez <rrandresf@gmail.com> writes:
> Hi.
>
> I want to print from emacs an org-table like this one:
>
> |-------------+-----------+----------+-----------+----------+---------|
> | DURATION | MONDAY | TUESDAY | WEDNESDAY | THURSDAY | FRIDAY |
> |-------------+-----------+----------+-----------+----------+---------|
> | 08:30-09:30 | CyT | RELIGION | GERMAN | ENGLISH | ENGLISH |
> |-------------+-----------+----------+-----------+----------+---------|
> | 09:50-10:50 | COMUNICAT | DPCC | COMUNICAT | COMUNIC | CyT |
> |-------------+-----------+----------+-----------+----------+---------|
> | 11:10-12:10 | COMPUTERS | CyT | E.FISICA | ART | GERMAN |
> |-------------+-----------+----------+-----------+----------+---------|
> | 12:30-13:30 | TUTORIA | MATH | MATH | CC.SS | MATH |
>
> on landscape on the content should enlarge to cover the full-page.
>
> Any ideas?
>
> Andrés Ramírez
>
Hi (Como estas). Juan. >>>>> "Juan" == Juan Manuel Macías <maciaschain@posteo.net> writes: [...] Juan> #+ATTR_LaTeX: :float sideways :environment tabularx :width \textheigtht I have tried it (with M-x org-export-dispatch). This is the result: ,---- [ ] | http://0x0.st/-Kgb.pdf `---- It is centered. Also I got a second option: with this snippet and (M-x ps-print-buffer): --8<---------------cut here---------------start------------->8--- (setq ps-left-margin 0 ps-paper-type 'a4 ps-font-size 16.0 ps-print-header nil ps-landscape-mode t ps-number-of-columns 1 ps-printer-name "pdf") --8<---------------cut here---------------end--------------->8--- This is the result: ,---- [ ] | http://0x0.st/-KgA.pdf `---- The second option is going to be very useful when pdflatex is not available. But it is NOT so well centered as the first option. Thanks for your help. Best Regards
[-- Attachment #1: Type: text/plain, Size: 413 bytes --] Andrés Ramírez <rrandresf@gmail.com> writes: > I want to print from emacs an org-table like this one: … > on landscape on the content should enlarge to cover the full-page. > > Any ideas? You can use a sidewaystable. See https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/ews.org?rev=53c7c0e46c10#L3535 Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 1125 bytes --]