I would like to request for your help. I have a table which is very big
1. No. of columns are high 2. The text in most cells are lengthy - For the above reasons I want the table in landscape. And the text should dynamically adjust so that the table does not cross the page.
3. Number of rows are also high - For this reason the table should span through multiple page
Please help me here. I can send the table in XL sheet if you please want to look at the requirement.
It turns out \multirow parameter isn't the number of rows, but the number of *lines* (a row can span several lines if there's flowing). This took me a while to discover.
So if you had a 2-line description for each of your defenders, you should have provided \multirow{8}{*}{Defenders}, not \multirow{4} I could generate the file and manually count them but that completely misses the point.
If I knew the currrent line, I could substract the Didier line to the Lucus one, yet I haven't found how to do it. A macro like \linesWithWidth{<width>}{<text>} would be the prefered one. I could approximate that with a function which just returned the width of a bunch of text, dividing by the column width, but I haven't found either.
Hi, I've been searching for a way to create an addition or subtraction worksheet using LaTeX, but I haven't had any luck. How would I create a worksheet with 5 columns and 8 rows of 3-digit addition problems like this (total 40 problems)? i.e.
214 +135 ====
Is there a way to do this in LaTeX? I've been doing it in MS Word using the equation editor, which has been really cumbersome.
Hi. Bit of a problem with your \begin{tabular*} code: \begin{tabular*}{0.75\textwidth}{@{\extracolsep{\fill}} | c | c | c | r | } \hline label 1 & label 2 & label 3 & label 4 \\ \hline item 1 & item 2 & item 3 & item 4 \\ \hline \end{tabular*}
This adds in space into the column and totally screws up the left, center or right alignment. Any idea how to still keep the correct centering?
There's nothing supported directly. You tend to see a lot of scripts which can convert Comma Separated Values spreadsheets into the LaTeX format, but it depends on how comfortable you are running python/ruby/perl scripts.
To be honest, a relatively simple approach is to save as tab-separated text file, then open in a text editor and replace all tabs with the column delimiter '&', and then paste into your .tex file.
There are also LaTeX packages such as 'csvtools' (http://ctan.org/tex-archive/ob... and 'csvsimple' (http://ctan.org/tex-archive/ma... these are packages which let you import directly. I haven't used either before but from a quick glance the former looks quite complex to use and the latter more straight-forward. Unfortunately, the documentation is in German although the examples look clear enough, and Google Translate is always available.
Glad you liked it. Would you like to share?
Add New Comment
Showing 10 of 20 comments