Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Ciao guys, in my original file I have this table (in the MWE) and it is cut in between (more specifically until Mumbai) when I compile. But when I create the MWE it is OK (apart from the page number). There seems to be something with the document specification but I am unable to figure out the problem. It would be okay even if I have the table spread across multiple pages, but using the package ``longtable'' in place of tabular doesn't solve the problem.

 \documentclass[12pt]{article}
    \usepackage{float}
        \usepackage{booktabs}
    \begin{document}

\begin{table}[htbp]
  \tiny
    \centering
  \caption{City-wise international price series for IV}
    \small
        \begin{tabular}{rr}
    \toprule
    City  & \multicolumn{1}{c}{Instrumenting international price (Export), USD/kg} \\
    \midrule
    Accra & USA: Gulf - Maize (US No. 2 Yellow)  \\
    Addis Ababa & USA: Gulf - Sorghum (US No. 2 Yellow)  \\
    Almaty & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Antananarivo & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Bamako & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Bangkok & Thailand: Bangkok - Rice (25\% broken)  \\
    Beijing & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Bishkek & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Calcutta & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Colombo & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Conakry & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Dakar & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Dar es Salaam &  USA: Gulf - Maize (US No. 2 Yellow)  \\
    Delhi & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Dhaka & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Dushanbe & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Hanoi & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Harare & USA: Gulf - Maize (US No. 2 Yellow) \\
    Islamabad & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Jakarta & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Johannesburg & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Kabul & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Kampala & USA: Gulf - Maize (US No. 2 Yellow)  \\
    Karachi & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Kathmandu & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Khartoum & USA: Gulf - Sorghum (US No. 2 Yellow)  \\
    Kinshasa & USA: Gulf - Maize (US No. 2 Yellow)  \\
    Lagos & USA: Gulf - Maize (US No. 2 Yellow)  \\
    Lhasa & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Lomé  & USA: Gulf - Maize (US No. 2 Yellow) \\
    Lusaka & USA: Gulf - Maize (US No. 2 Yellow)  \\
    Manila & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Maputo & USA: Gulf - Maize (US No. 2 Yellow)  \\
    Mogadishu & USA: Gulf - Sorghum (US No. 2 Yellow)  \\
    Mumbai & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Nairobi & USA: Gulf - Maize (US No. 2 Yellow)  \\
    Niamey & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Phnom Penh & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Rangoon & Thailand: Bangkok - Rice (Thai 100\% B)  \\
    Saigon & Thailand: Bangkok - Rice (25\% broken)  \\
    Ulan Bator & USA: Gulf - Wheat (US No. 2 Soft Red Winter)  \\
    Vientiane & Thailand: Bangkok - Rice (Glutinous 10\%)  \\
    Yaounde & USA: Gulf - Maize (US No. 2 Yellow)  \\
    \bottomrule
    \end{tabular}%
  \label{tab:ivselect}%
\end{table}%
\end{document}
share|improve this question
A longtable is not to be placed in the table environment but replaces it. (I guess you know that, but anyway). – dıʞsdoʇ Jun 11 '12 at 9:19
Thanks @PatrickGundlach, but it shows an error (rather a lot of them) no matter what. – Abhimanyu Arora Jun 11 '12 at 9:23
3  
Are you saying that your example code does not reproduce the problem? If that's the case it will be difficult for anyone to help you. – Ian Thompson Jun 11 '12 at 10:12
@AbhimanyuArora I've posted a longtable-based answer yesterday. Since its table happens to be two-column too, you can simply paste in your data and adapt the headers. – dgs Jun 11 '12 at 10:14
@AbhimanyuArora By the way, a first guess for the page break not to occur in the MWE would be different page margins or a redefined \arraystretch in your main document. – dgs Jun 11 '12 at 10:35
show 1 more comment

closed as too localized by lockstep, Joseph Wright Jul 7 '12 at 21:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.