# Tag Info

3

The sidewaystable environment does not let you split its contents across multiple pages. Since you're using a longtable environment, which has its own \caption commands, etc., there's no real need to embed it in a sidewaystable environment anyway. Instead, consider loading the pdflscape package and using that package's landscape environment to rotate the ...

2

\documentclass[10pt]{article} \usepackage{graphicx,fancyhdr,import,hyperref} \usepackage{longtable} \usepackage{datatool} \usepackage[margin=.75in]{geometry} \usepackage[toc,page]{appendix} \begin{document} \section{System Constants} The following table contains the constants used throughtout the system. \DTLsetseparator{,} ...

2

There are two problems to solve. You need the booktabs package for the rules and you have to replace head to column names to avoid problems with the subscript in your heading. With these alterations, you get the following: \begin{filecontents*}{code.csv} code,sub_cd CITY,LIMA CITY,PUEBLOLIBRE CITY,JESUSMARIA CITY,TARMA \end{filecontents*} ...

2

There is no need to use \resizebox for any table, just select a suitable font size such as \small or \footnotesize so {\small \begin{longtable} .... \end{longtable} } or equivalently \begin{small} \begin{longtable} .... \end{longtable} \end{small}

2

use the parbox within multicolumn (adding 3 columns gives 7.6cm) like this: \documentclass[a4paper,12pt]{book} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} \usepackage{array} \usepackage{longtable} \usepackage{showframe} \usepackage{multicol} \usepackage{multirow} \begin{document} ...

2

2

You could use adjustbox package for get centered tables with footnote and minipage option for this environment \documentclass{scrbook} \usepackage{supertabular} \usepackage{longtable} \usepackage{multirow} \usepackage{adjustbox} \begin{document} \begin{center} \tablehead{\hline} \tabletail{\hline} \tablecaption{mpsupertabular} ...

2

Here's my approach for longtable footnotes which uses mbenotes package. Note: mbenotes is simply a mbenotes.sty file and you can easily modify the commands from it as per your requirements, which I've done in my solution. Here's the MWE: % !TEX TS-program = arara \documentclass{scrbook} \usepackage{supertabular} \usepackage{longtable} \usepackage{multirow} ...

1

The usual way to achieve this is to use ltxtable where long table meets tabularx. The interface is different from tabu, the command \LTXtable reads an external file containing your longtable, e.g. \documentclass{article} \usepackage{longtable} \usepackage{tabu} \usepackage{array} \usepackage{booktabs} \usepackage{filecontents,ltxtable} ...

1

I found a way to achieve what I need by just adding an additional, "dummy" column. Just changing this: \begin{longtable}[h]{p{2cm}l@{\extracolsep{\fill}}} to this: \begin{longtable}[h]{p{2cm}l@{\extracolsep{\fill}}l} seems to do the trick. Example:

1

As you've noted, in order to make LaTeX split a long table across pages, it's necessary to use a longtable environment instead of nested table and tabular environments. The following example first shows the table produced by your code (with the code simplified here and there), followed by the same table produced using a longtable environment. The four key ...

1

You can use the ltablex package, which brings the functionalities of longtable in tabularx environments: \documentclass{article} \usepackage[ nomarginpar]{geometry}%showframe, \usepackage{ragged2e} \usepackage{array} \usepackage{ltablex} \keepXColumns \usepackage{booktabs} \usepackage{lipsum} \setlength\parindent{0pt} \setlength\LTleft{0pt} ...

1

Turns out that caption package version is not expecting \LTleft to be set to 0pt. setting \setlength\LTleft{0pt plus \textwidth} \setlength\LTright{0pt plus \textwidth} centres the caption without affecting the table (as the fill glue in extracolsep cancels out this finite stretch) You should also remove the center environment which does not affect the ...

1

You need to account for the widths of the rules (\arrayrulewidth) and column padding (\tabcolsep on each side of the column) so: \documentclass[a4paper,12pt,headsepline,american]{scrreprt} \usepackage{array} \usepackage[english]{babel} \usepackage[labelfont=bf]{caption} \captionsetup{format=plain,font=footnotesize} \usepackage{float} ...

1

\documentclass{article} \usepackage{hyperref} \usepackage{pdflscape} \usepackage{afterpage,array}% you need array \usepackage{capt-of}% or use the larger caption package \usepackage{lipsum}% dummy text \begin{document} \lipsum % Text before \afterpage{% %\clearpage% not needed \thispagestyle{empty}% empty page style (?) \begin{landscape}% ...

1

\begin{center} around longtable does not affect alignment, it just adds spurious vertical space. longtable is centred by default, but if you want left alignment you can use \begin{longtable}[l] but you can not align it at all as it is much too wide Overfull \hbox (95.13185pt too wide) in alignment at lines 16--21 You don't have room for two 7cm ...

1

Starting left on even pages Package showframe visualizes very good, why the table does start quite with an indentation on even pages. As can be seen, the head line is also moved and the left space is occupied by quite a large "marginpar" column with width 5.5cm. Therefore you might want to correct the option values for package geometry. Too wide table ...

1

The header line is seen as sole administration information in csvsimple. It is uses to count the columns and it can be taken to address columns by their header name. But it is not used as data. The example you gave is the way it is meant to be. To treat the header line as normal data entry, there is the option no head. Then, the first line is just a data ...

1

I think I may have found a solution: (based on this question and answer) % !TEX TS-program = xelatex \documentclass[showtrims]{memoir} \usepackage{tikz} \setstocksize{11in}{8.5in} \settrimmedsize{8.5in}{5.5in}{*} \settrims{1in}{1in} \setulmarginsandblock{1in}{1in}{*} \setlrmarginsandblock{1in}{.75in}{*} \checkandfixthelayout \newcounter{headeronpage} ...

Only top voted, non community-wiki answers of a minimum length are eligible