# Tag Info

6

An alternative using booktabs for the table rules, tabularx to get a table that fits the textwidth and siunitx to properly typeset the units. \documentclass{article} \usepackage{tabularx} \usepackage{siunitx} \usepackage{booktabs} \renewcommand{\tabularxcolumn}[1]{>{\centering\arraybackslash}m{#1}} ...

6

If you absolutely want some colour, here are two solutions with swapping rows and columns. One with vertical and horizontal rules, the other with only horizontal rules (built not using booktabs, as this leads to white spaces in coloured cells). The latter looks better, in my opinion: \documentclass{article} \usepackage[utf8]{inputenc} ...

5

It's possible with collcell: \documentclass{article} \usepackage{longtable} \usepackage{collcell} \newcommand{\cutlongemail}[1]{% \sbox0{#1}% \ifdim\wd0 > \linewidth \docutlongemail#1\relax \else #1% \fi } \def\docutlongemail#1@#2\relax{#1@\newline#2} \begin{document} \begin{longtable}{ p{0.3\linewidth} ...

4

Here is a solution. We don't use fullwidth package since it can do nothing here. The idea is to patch \LT@output command (special output used by longtable) we move the table to the left, in fact we need to do that only for even page but we make it possible for odd pages too. \documentclass[twoside,a4paper]{article} \usepackage[T1]{fontenc} ...

2

The error is most likely due to a wrongly place \captionsetup. I doubt the usefulness of landscape and longtable but here's an example: \documentclass{article} \usepackage{longtable} \usepackage{lscape} \usepackage{caption} \usepackage{blindtext} \begin{document} \captionsetup{width=5cm} \begin{landscape} \begin{longtable}{lll} \caption{\blindtext} ...

1

If you add a line like after row={ a&b&c&d&e&f\\ \midrule\endhead\midrule\multicolumn{\pgfplotstablecols}{r}{{\small\tablename\ \thetable{} -- will continue.}}\endfoot \bottomrule\endlastfoot% }, % after row then you see Showing that the decimal alignment is using two columns internally which you need to take ...

1

The \newline work fine, your units come on the next line, however TeX does not hyphenate the first word of a paragraph (and as in the example english patters are used it probably would break incorrect;y anyway) I added \- in some places. \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{longtable} \def\zz{ N & N & N & N ...

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