1

I am using CentOS and TeX Live. I am new to LaTeX.

This is what I am trying

\documentclass[landscape, letter]{report}
\usepackage{ltxtable}
\usepackage[table]{xcolor}
\usepackage{colortbl}
\usepackage{multirow}
\usepackage[latin1]{inputenc}
\usepackage[left=0cm,top=.5cm,right=0cm]{geometry}
\usepackage{longtable}
\title{titulo}
\author{Rodrigo Coster - 1141783-01}
\begin{document}
\begin{center}\textbf{{\LARGE Relação de vagas autorizadas, providas e disponíveis}}\end{center}
\tiny
\begin{longtable}{|l|l|l|l|l|l|l|l|l}
    \hline

        \textbf{ number }

           &


        \textbf{ name }

           &


        \textbf{ parentt }

           &


        \textbf{ status }

           &


        \textbf{ date }

           &


        \textbf{ bank\_statement\_no }

           &


        \textbf{ bioregion }

           &


        \textbf{ cond\_notes }

           &


        \textbf{ Impl\_notes }


    \\
    \hline




            be416f8rererec23

               &


            From C1, it follows that relational information does not affect the structure of the levels of
acceptability from fairly high (e.g. (99a)) to virtual gibberish (e.g. (98d)).

               &


            For any transformation which is sufficiently diversified in application to be of any interest, this
analysis of a formative as a pair of sets of features is, apparently, determined by a stipulation to
place the constructions into these various categories.

               &


            Draft

               &


            2013-04-27

               &


            ed802ec655d485161a6fe02a5a325cd9

               &


            Norrtrhrerren rererereley

               &


            Note that the notion of level of grammaticalness is unspecified with respect to nondistinctness in
the sense of distinctive feature theory.

               &


            We have already seen that the earlier discussion of deviance appears to correlate rather closely
with nondistinctness in the sense of distinctive feature theory.


        \\
        \hline




\end{longtable}
\end{document}

This is giving me the croped table but I want all the text on one page.

Now

  1. I can have the rows like 100s of rows and can span 50 pages
  2. My Columns can also vary so i don't know what is the good way to handle that.
  3. There will be many paragrahs of text in many columns so I want to have nice looking table

I am trying since morning I am not able to figure out what to use tabular, or tabularx or y or resizebox

Everytime I search google I find new way of doing it.

The max I can go is A3 size in landscape mode so that it fits all data.

Can anyone please tell what can I do?

2

You can try using the longtable package (available here) for a table spanning over several pages, tabularx (available here) for selecting the proper width of your columns and finally, if you want to use both properties, you can always use the ltxtable (available here) to have both the tabularx and longtable options.

You can also use the tabu package, but I strongly advise you not to do so, since his author has stated that the new version is not going to be backwards compatible and could have many problems with other packages compatibility.

Example:

\documentclass{article}

\usepackage{array}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{ltxtable}

\begin{document}
Hello.

\LTXtable{\textwidth}{VersionOne}

\end{document}  

Where the VersionOne.tex file contains:

\begin{longtable}{XX}
\caption{A very long table}\\
WHO                 & \hspace{5mm} World Health Organization\\[1mm]
GDP                 & \hspace{5mm} Gross Domestic Product\\[1mm]
PPP                 & \hspace{5mm} Purchasing Power Parities\\[1mm]
\label{tab:LongtableOne}
\end{longtable}
11
  • i am new to latex , can you give me example for my case how to use ltxtable – user17 Apr 28 '13 at 13:36
  • Done, but please don't forget the read the ltxtable documentation, as provided in the link above – Mario S. E. Apr 28 '13 at 13:44
  • thanks for that , i could find the latex link above. Is it possible to put all in one file. i am using pdflatex to convert that so i don't know if that will find the other file – user17 Apr 28 '13 at 13:48
  • I don't think that is possible. You shouln't have any problem with pdflatex (I'm actually using it), but you should use a separate file. – Mario S. E. Apr 28 '13 at 13:50
  • i tried your example as its is and its working. so if replace with 15 columns and 100 rows , will it auto adjust the height and width – user17 Apr 28 '13 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.