Tag Info

Hot answers tagged

6

It's not clear that there is really an issue to be solved, it is only an issue for tables if you think there is an issue about tables. Most of the points that you raise could also be made about "paragraphs" or "lists", at some point you have to have some structural information as well as words. It is easy to have an environment that defaults the column ...


4

Normally you break after operators in inline math (to show the expression carries over) and before operators in an aligned display, where it is essentially a new expression aligned on the first. Here inline math is being used as a convenience to get automatic breaking but arguably it should align like a display, so make = into an active character that ...


2

You have used \extracolumnsep{\fill} so the problem of determining the table borders is made trivially simple: the table is known in advance to be \textwidth wide. So all you need to do is lay out your notes in three columns taking up the full width. \documentclass[12pt]{article} \usepackage{tabularx,longtable,booktabs,multicol} \begin{document} ...


2

Your citations are in a c column and that won't spread itself over multiple lines, unlike a p column. To get a centered p type column, load the array package and add >{\centering\arraybackslash} before the p declaration. Alternatively, additionally load the ragged2e package and use its \Centering command instead of \centering, this allows better ...


2

Right click on the row of that you want to be the header. Go to "More", then "Settings". Then click on the "Longtable" tab, select "Use long table". Then click on "First header".


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} ...


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

You have to add \arrabackslash in \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} so that the meaning of \\ is not messed up. Further, for such repeated columns, you may use {|*{14}{@{}C{6mm}@{}|}} making code more readable. \documentclass[twoside]{book} \usepackage{longtable} \usepackage{array} ...


1

For repeating headings, use \endfirsthead and \endhead. To increase the gape between rows, you may use makecell and its \setcellgaps and \makegapedcells inside a group. You won't need center environment as longtale is centered by default. BTW your table won't fit within the width (and I didn't correct it). \documentclass{article} ...


1

Unsure what is really wanted, but some 'improvements' of the table. Wrapping of text inside a table cell can be achieved with makecell package and \thead macro. The tabular environments are of no use here and can be replaced by \multicolumn statements. I kept the @{} stuff, although not useful here (in my point of view) \documentclass{article} ...


1

Use the commands \endfirsthead and \endhead from longtable package to solve this issue (however, this is not failsafe) As it stands, the number of table columns is reduced by one in the lower part of the first page and for the rest which should appear on the second page, so \cline{1-7} is the correct form for horizontal lines there. \endfirsthead ...


1

I solved the problem: the trick is use \parbox{..} e.g.: \parbox{5cm}{ \begin{tikzpicture} \node[anchor=south west,inner sep=0] (image) at (0,0) { \includegraphics[scale=0.8]{image} }; \end{tikzpicture} \figcaption{label: lol.}}


1

I have solved 1 and 2. For 3, I am confused and think that that won't be a nice idea. However, you may add custom text along side continued on next page. \documentclass[12pt]{article} \usepackage{tabularx,longtable,booktabs} %\usepackage{ctable} %% don't use this \begin{document} \setlength\extrarowheight{4pt} ...



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