emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "vendo.libri@libero.it" <vendo.libri@libero.it>
To: emacs-orgmode@gnu.org, ndokos@gmail.com
Subject: Re: tabularx from org to latex not recognized
Date: Tue, 3 May 2016 16:04:53 +0200 (CEST)	[thread overview]
Message-ID: <757902927.12411381462284293847.JavaMail.httpd@webmail-17.iol.local> (raw)

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

Hello Nick, 
Thank you for fixing the <10> character-width problem with the 2nd column of the table in Org-mode problem, your solution worked. Now the table is much more legible, within Emacs' reduced window.
Unfortunately the ultimate pdf if still giving problems. The table is too wide and the text overflows well beyond the right page limit. Something's not working in the preamble. Let me post the whole thing here:
#+TITLE: MS#+AUTHOR:  Me#+DATE: April 2016#+STARTUP: nolatexpreview align#+OPTIONS: toc:nil#+LATEX_CLASS: article#+LATEX_CLASS_OPTIONS: [a4paper,10pt]
#+ATTR_LATEX: :environment tabularx :width \textwidth :align lXl
#+LATEX_HEADER: \usepackage{esdiff}#+LATEX_HEADER: \usepackage[version=4]{mhchem}#+LATEX_HEADER: \usepackage{amssymb}#+LATEX_HEADER: \usepackage{siunitx}#+LATEX_HEADER: \usepackage{tabularx,booktabs}#+LATEX_HEADER: \setcounter{secnumdepth}{0}#+LATEX_HEADER: \usepackage[margin=1in]{geometry}#+LATEX_HEADER: \frenchspacing \allowdisplaybreaks#+LATEX_HEADER: \usepackage{fancyhdr}#+LATEX_HEADER: \pagestyle{fancy} % choose page-style#+LATEX_HEADER: \fancyhf{}  % erase and clean up#+LATEX_HEADER: \fancyhf[HLE,HRO]{\thepage} % H or F=Header or Footer, LCR=Left, Centre, Right#+LATEX_HEADER: \fancyhf[HC]{Materials Science: 10 Things\dots}
PS: Say I want to see what's "hidden" in the table due to the <10> (or <20>) character self-imposed limit, how can I do that via keyboard shortcut? Can it be done?
--------------------------------------------------------From: Nick Dokos <ndokos <at> gmail.com>Subject: Re: tabularx from org to latex not recognizedNewsgroups: gmane.emacs.orgmode

The <width> specification is on a row of its own, in the same columnthat it is supposed to control. Try the following:
--8<---------------cut here---------------start------------->8---#+ATTR_LATEX: :environment tabularx :width \textwidth :align lXl| NAME   | CHARACTERISTICS      | EXAMPLES    ||--------+----------------------+-------------||        | <20>                 |             || Metals | metallic bonding: adjacent atoms share electrons in a non-directional way; opaque, shiny,electrically conductive, they reflect photons, light rays from the Qenvironment | a metal pan |
--8<---------------cut here---------------end--------------->8---
--Nick

[-- Attachment #2: Type: text/html, Size: 3107 bytes --]

             reply	other threads:[~2016-05-03 14:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 14:04 vendo.libri [this message]
     [not found] <353cd935a9364ccc82fa15105e65d4a5@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-03 15:07 ` tabularx from org to latex not recognized Eric S Fraga
2016-05-03 15:47   ` Nick Dokos
2016-05-03 20:35     ` Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2016-05-01 22:21 vendo.libri
2016-05-02  0:39 ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=757902927.12411381462284293847.JavaMail.httpd@webmail-17.iol.local \
    --to=vendo.libri@libero.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).