emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Longtable in orgmode latex export is breaking table header
@ 2012-10-05 12:48 Sanjib Sikder
  2012-10-05 16:17 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Sanjib Sikder @ 2012-10-05 12:48 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

The longtable attribute is breaking the table header in two rows.

For example, take the following table

> #+CAPTION:Table name \citep{myref}
> #+LABEL: tbl:mylabel
> #+ATTR_LaTeX: longtable
>
> | header1    |     header2 |      header3 |    header4 |    header5 |
> header6 |    header7 |
>
> |---------+----------+----------+----------+----------+----------+----------|
> | Col1     | 1 | 1 |  4 |  6 | 7 | 8 |
> | Col2      |  6 | 7 |   2 |  1 |  3 |  2 |
>

In pdf it is showing like

>
> header1
> header2      header3   header4    header5    header6     header7
>

Any solution ?

Thanks

-----------------------------
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*

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

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

* Re: Longtable in orgmode latex export is breaking table header
  2012-10-05 12:48 Longtable in orgmode latex export is breaking table header Sanjib Sikder
@ 2012-10-05 16:17 ` Thomas S. Dye
  2012-10-05 16:27   ` Sanjib Sikder
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2012-10-05 16:17 UTC (permalink / raw)
  To: Sanjib Sikder; +Cc: emacs-orgmode

Hi Sanjib Sikder,

Hmmm, I don't think I've seen this one before. Can you post a complete
minimal example (ECM) with the intermediate LaTeX output?

All the best,
Tom

Sanjib Sikder <sanjibju2002@gmail.com> writes:

> Hi,
>
> The longtable attribute is breaking the table header in two rows.
>
> For example, take the following table
>
>> #+CAPTION:Table name \citep{myref}
>> #+LABEL: tbl:mylabel
>> #+ATTR_LaTeX: longtable
>>
>> | header1    |     header2 |      header3 |    header4 |    header5 |
>> header6 |    header7 |
>>
>> |---------+----------+----------+----------+----------+----------+----------|
>> | Col1     | 1 | 1 |  4 |  6 | 7 | 8 |
>> | Col2      |  6 | 7 |   2 |  1 |  3 |  2 |
>>
>
> In pdf it is showing like
>
>>
>> header1
>> header2      header3   header4    header5    header6     header7
>>
>
> Any solution ?
>
> Thanks
>
> -----------------------------
> *Sanjib Sikder
> *Ph.D. Fellow
> Chemical Engineering
> IIT Bombay*
>
> *
> Hi,
>
> The longtable attribute is breaking the table header in two rows.
>
> For example, take the following table
>
>     #+CAPTION:Table name \citep{myref}
>     #+LABEL: tbl:mylabel
>     #+ATTR_LaTeX: longtable 
>     
>     | header1    |     header2 |      header3 |    header4 |   
>     header5 |    header6 |    header7 |
>     |---------+----------+----------+----------+----------+----------+-
>     ---------|
>     | Col1     | 1 | 1 |  4 |  6 | 7 | 8 |
>     | Col2      |  6 | 7 |   2 |  1 |  3 |  2 |
>     
>
> In pdf it is showing like
>
>                                                                                    
>     header1
>     header2      header3   header4    header5    header6     header7 
>     
>
> Any solution ?
>
> Thanks
>
> -----------------------------
> Sanjib Sikder
> Ph.D. Fellow
> Chemical Engineering
> IIT Bombay
>
>
>

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: Longtable in orgmode latex export is breaking table header
  2012-10-05 16:17 ` Thomas S. Dye
@ 2012-10-05 16:27   ` Sanjib Sikder
  0 siblings, 0 replies; 3+ messages in thread
From: Sanjib Sikder @ 2012-10-05 16:27 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode

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

Hi,

Thanks for your reply. It is working now.

#+CAPTION:Table name \citep{myref}

here after #+CAPTION:

One space is needed before starting the actual table caption.

The space was not there initially and it was giving error.

-----------------------------
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Fri, Oct 5, 2012 at 9:47 PM, Thomas S. Dye <tsd@tsdye.com> wrote:

> Hi Sanjib Sikder,
>
> Hmmm, I don't think I've seen this one before. Can you post a complete
> minimal example (ECM) with the intermediate LaTeX output?
>
> All the best,
> Tom
>
> Sanjib Sikder <sanjibju2002@gmail.com> writes:
>
> > Hi,
> >
> > The longtable attribute is breaking the table header in two rows.
> >
> > For example, take the following table
> >
> >> #+CAPTION:Table name \citep{myref}
> >> #+LABEL: tbl:mylabel
> >> #+ATTR_LaTeX: longtable
> >>
> >> | header1    |     header2 |      header3 |    header4 |    header5 |
> >> header6 |    header7 |
> >>
> >>
> |---------+----------+----------+----------+----------+----------+----------|
> >> | Col1     | 1 | 1 |  4 |  6 | 7 | 8 |
> >> | Col2      |  6 | 7 |   2 |  1 |  3 |  2 |
> >>
> >
> > In pdf it is showing like
> >
> >>
> >> header1
> >> header2      header3   header4    header5    header6     header7
> >>
> >
> > Any solution ?
> >
> > Thanks
> >
> > -----------------------------
> > *Sanjib Sikder
> > *Ph.D. Fellow
> > Chemical Engineering
> > IIT Bombay*
> >
> > *
> > Hi,
> >
> > The longtable attribute is breaking the table header in two rows.
> >
> > For example, take the following table
> >
> >     #+CAPTION:Table name \citep{myref}
> >     #+LABEL: tbl:mylabel
> >     #+ATTR_LaTeX: longtable
> >
> >     | header1    |     header2 |      header3 |    header4 |
> >     header5 |    header6 |    header7 |
> >     |---------+----------+----------+----------+----------+----------+-
> >     ---------|
> >     | Col1     | 1 | 1 |  4 |  6 | 7 | 8 |
> >     | Col2      |  6 | 7 |   2 |  1 |  3 |  2 |
> >
> >
> > In pdf it is showing like
> >
> >
>
> >     header1
> >     header2      header3   header4    header5    header6     header7
> >
> >
> > Any solution ?
> >
> > Thanks
> >
> > -----------------------------
> > Sanjib Sikder
> > Ph.D. Fellow
> > Chemical Engineering
> > IIT Bombay
> >
> >
> >
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>

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

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

end of thread, other threads:[~2012-10-05 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05 12:48 Longtable in orgmode latex export is breaking table header Sanjib Sikder
2012-10-05 16:17 ` Thomas S. Dye
2012-10-05 16:27   ` Sanjib Sikder

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