public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "Eugéne Roux" <eugene.roux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Align tables to left, as opposed to centered, using markdown to pdf via xelatex
Date: Sat, 17 Jan 2015 07:12:03 -0800 (PST)	[thread overview]
Message-ID: <89cc306f-9b66-4d13-857a-b124af417dc9@googlegroups.com> (raw)
In-Reply-To: <CAE4-1rWuKgOaoSfsupmKpA++keahDkMS_xEZPCRvXzFNrpQk6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2417 bytes --]

Is there any docs on how to go about doing this?

Most of the time I'm very happy with the center-aligned tables, but when 
one needs left-aligned tables, one REALLY needs them.

On Thursday, 8 January 2015 17:28:28 UTC+2, Mark Szepieniec wrote:
>
> I don't think there's a straightforward way to do that.
>
> You _could_ write a filter which catches tables, and uses a slightly 
> modified version of pandoc's latex table writer function to make it output 
> \begin{longtable}[l].....
>
> On Thu, Jan 8, 2015 at 3:08 PM, Larry Hynes <la...-kWvUfStYLBx0ubjbjo6WXg@public.gmane.org 
> <javascript:>> wrote:
>
>> Currently the only way that I've found to do this is to first
>> get Pandoc to output .tex from the markdown source, then change
>> the [c] in
>>
>>     \begin{longtable}[c]{@{}llr@{}}
>>
>> to an [l], copy and paste that table into the original markdown
>> document and then convert to .pdf using the -R flag.
>>
>> I've tried everything I can think of in my xelatex template to
>> get the table to align left but Pandoc seems to override all and
>> stick doggedly to [c].
>>
>> Can anyone offer any suggestions please, as to how I might be
>> able to convert directly from markdown to pdf, via xelatex, and
>> have tables align to the left?
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/m8m31g%241td%241%40ger.gmane.org
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/89cc306f-9b66-4d13-857a-b124af417dc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 4407 bytes --]

  parent reply	other threads:[~2015-01-17 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08 14:08 Larry Hynes
2015-01-08 15:28 ` Mark Szepieniec
2015-01-08 19:46   ` Larry Hynes
     [not found]   ` <CAE4-1rWuKgOaoSfsupmKpA++keahDkMS_xEZPCRvXzFNrpQk6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-17 15:12     ` Eugéne Roux [this message]
2015-01-17 15:21       ` Larry Hynes
     [not found]         ` <m8bqob-8p1.ln1-hFr9yDdQiE6PX3baIHBI6tBPR1lH4CV8@public.gmane.org>
2015-12-02 19:14           ` Gang Liang

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

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

  git send-email \
    --in-reply-to=89cc306f-9b66-4d13-857a-b124af417dc9@googlegroups.com \
    --to=eugene.roux-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /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.
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 NNTP newsgroup(s).