# Tag Info

3

A manual solution, but, can help! \documentclass[a4paper]{report} \usepackage{longtable,array} \begin{document} \begin{longtable}{|p{0.3\linewidth}|p{0.3\linewidth}|} \hline \textbf{Original Contract} & \textbf{Modification} \\ \hline \endfirsthead \hline \textbf{Original Contract} & \textbf{Modification} \\ \hline \endhead 8.7 This is some ...

3

Here's one option using some marks placed with the tikzmark library to draw filled rectangles (two or three runs are needed for the elements to reach their final positions): \documentclass[a4paper]{report} \usepackage{longtable} \usepackage{tikz} \usetikzlibrary{tikzmark} \begin{document} \begin{longtable}{|p{0.3\linewidth}|p{0.3\linewidth}|} \hline ...

3

For first question, you can define a new column type \usepackage{array} \newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} and use C instead of p. \documentclass[a4paper]{article} \usepackage{lipsum} \usepackage{longtable,array} \usepackage{colortbl} \usepackage{xcolor} \newlength\mylength ...

2

Since longtable is meant for pagebreaking, a floating table feature is not really useful here. longtable is basically used like tabular, with column descriptions, additionally it allows for \caption inside of the longtable environment. Page breaks can be forced with an 'ordinary' \newpage or prevented with \nopagebreak or \\* I've used \newpage right ...

2

It's possible to control the spacings of a longtable environment with the length variables \LTleft and \LTright. Since a first item level is used, it's perhaps an idea to set \setlength{\LTleft}{\dimexpr\leftmargini+\relltshift}, where \relltshift is some user specified shift relativ to the left margin indent. \documentclass{article} ...

2

booktabs doesn't like vertical rules. Use normal tabular. Make table specification like this: {y{0.5cm}y{1.2cm}D|FFFFFFFFFF} and remove extra | from first and second rows. Also use \scriptsize just once in the beginning of the table. \documentclass[12pt]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage{enumerate} \usepackage{graphics} ...

2

With ltablex package, you can have tabularx that spans multiple pages. Just add \usepackage{ltablex} in the preamble. Also remove [0pt] from those \parboxes. \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{tabularx} \usepackage{makecell} \newcommand{\quotes}[1]{#1''} ...

2

A partial solution only (not for the last page (yet?)) It's possible to use \caption* again in the \endhead part of the description. This won't increase the table counter. \documentclass[12pt,a4paper,twoside]{article} \usepackage{geometry} \geometry{left=3cm,right=2cm,top=3cm,bottom=2.0cm} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...

2

There is no hope of fitting a table with such long headers. A way out can be using symbols for them, that are explained at the bottom of the table: \documentclass{article} \usepackage{array,siunitx,booktabs} \begin{document} \begin{table} \centering \addtolength{\tabcolsep}{-3pt} \begin{tabular}{ @{} >{\itshape}l S[table-format=3.2] ...

2

A variant, using ltablex which combines the possibilities of tabularx and longtable,. The description of the letters in column head are done with the threeparttablex package, which brings the functionalities of threeparttable to long tables splitting across pages. Finally I loaded the geometry package for more sensible margins, if you don't need wide ...

1

A variant with \tablex, using its longtable functionalities (repeated head on every page). I replaced the \parbox{0pt}s with an adapted\multirow: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{ragged2e} \usepackage{ltablex} \usepackage{array, multirow, makecell} \newcommand{\quotes}[1]{`#1''} ...

1

You just need to allow space for the - sign, and make your note narrower. \documentclass[12pt, a4paper]{article} %some important packages \usepackage[T1]{fontenc} %set font encoding \usepackage[utf8]{inputenc} %set input encoding \usepackage[english,ngerman]{babel} %language settings \usepackage{graphicx} ...

1

The problem disappeared when I commented the table note at the end. I suspect the width alloted (0.88 \textwidth) was a bit too large. I propose an automatic computation of this width, thanks to the threeparttablex package, which measures the width of the table. You have to use the ThreePartTable environment, and define the table notes beginning with the ...

1

I assume that you are referring to font size. For this we can use caption package and make caption to have normal sized text. Remember that \centering does not take an argument, hence the braces are removed after it. \documentclass{article} \usepackage{longtable,booktabs} \usepackage[table]{xcolor} \usepackage{caption} %% this added \begin{document} ...

1

Here is a solution. Newcommand \enlargemypage to be used. Edit the command work with or without longtable. \documentclass{article} \usepackage{lipsum} \usepackage{afterpage} \usepackage{longtable} \usepackage{fancyhdr} \usepackage[margin=2cm,showframe]{geometry} \pagestyle{fancy} \fancyhf{} \fancyfoot[C]{\small\thepage} \makeatletter ...

1

Here is an option using xtab (since longtable is not happy with column layout) and paracol: \documentclass{article} \usepackage{xtab} \usepackage{paracol} \def\rowcontent{% 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ 1 & 2 \\ end & here } \setlength{\textheight}{3cm} \begin{document} ...

1

The word "empty" is bigger than your \mylength you will have to do some thoughts on how you want this to be solved. The easiest would be to reduce the font size of course. In the following code, I smashed everything into your table without touching the font-size. Not really pretty. % arara: pdflatex \documentclass[a4paper,10pt,oneside,openany]{book} ...

1

The rules for setting R1 are pretty unclear to me, are there R2, R3? What about the second page. Maybe it can be added to the header or caption of the table. Or it can be added as separate line above the data rows. A version of the table without R1, but more nicely formatted IMHO. Anyway, the data lines should be at top level. TeX can only break a ...

1

The longtable issue of using the table counter is well-known and is not restricted to the usage of glossaries and its various long.... glossary styles. Here is a small solution by defining a new glossarystyle based on the long style, replacing the surrounding longtable environment with longtable*, which isn't incrementing the table counter. You need the ...

1

It's easier to see the required width for the spanning entries if you calculate the columns widths directly. In which case you don't need X at allm so can use longtable rather than the wrapper provided by tabu. Also, don't use \bf and only use | to the left of the first column. If you use two | in all the \multicolumn entries then you get two adjacent ...

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