Hello Nicolas,

On 10月 19 2012, Nicolas Goaziou <n.goaz...@gmail.com> wrote:

> Hello,
>
>>
>> #+CAPTION: A wide table with tabulary
>> #+LABEL: tbl:wide
>
> It should be #+NAME: tbl:wide

Thanks, Manual need to be updated then.. (info "(org)Tables in LaTeX export")

>> #+ATTR_LaTeX: table* tabulary width=\textwidth
>> | column 1 | column 2 |
>> |-----------+------------------------------------------------------------------------------------|
>> | first row | a long long long long long long long long long long long long
>> | long long long cell |
>>
>
> I don't see any author in your PDF file, so what is the problem?

Sorry about that, I should have been clear what I was trying to do.

I am trying to use package authblk to set author and affiliations below the
title. But with "author:nil" an empty author field is getting exported to
latex which is causing problems to the author entry for authblk. Please look
into the attached pdf, there is a "author 1^1, author 2^2, and^2" instead of 
desired
"author 1^1 and author 2^2".

And also the timestamp:nil is not working also.

BTW, not related to this bug report. how can I make that table actually look
as a table.? (Please feel free to shout at me to start a new thread for this.)


#+TITLE: abcd
#+AUTHOR: me me
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   timestamp:nil
#+OPTIONS:   author:nil

# title
#+LaTeX_HEADER: \usepackage{authblk}
#+LaTeX_HEADER: \author[1]{Author 1}
#+LaTeX_HEADER: \author[2]{Author 2}
#+LaTeX_HEADER: \affil[1]{Aff 1}
#+LaTeX_HEADER: \affil[2]{Aff 2}


#+CAPTION: A wide table with tabulary
#+NAME: tbl:wide
#+ATTR_LaTeX: table* tabulary width=\textwidth
| column 1  | column 2                                                                           |
|-----------+------------------------------------------------------------------------------------|
| first row | a long long long long long long long long long long long long long long long  cell |
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage{authblk}
\author[1]{Author 1}
\author[2]{Author 2}
\affil[1]{Aff 1}
\affil[2]{Aff 2}
\author{}
\date{\today}
\title{abcd}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode 7.9.2 in Emacs 24.2.50.2.}}
\begin{document}

\maketitle
\tableofcontents
\vspace*{1cm}

\begin{table*}[htb]
\caption{\label{tbl-wide}A wide table with tabulary}
\begin{center}
\begin{tabulary}{\textwidth}{ll}
column 1 & column 2\\
\hline
first row & a long long long long long long long long long long long long long long long  cell\\
\end{tabulary}
\end{center}
\end{table*}
% Generated by Org mode 7.9.2 in Emacs 24.2.50.2.
\end{document}

Attachment: org-scratch.pdf
Description: Adobe PDF document


Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR

Reply via email to