I have a question about breaking lines and pages in table environment. I know, there are some solutions as using longtable
package, however, it is quite complicated and I don't know how to work with it....I'm writing the list of symbols and abbreviations. I'm using the standard look with no lines at all, only two columns left side symbol, right side explanation. I have two problems.
- In case of a long explanation I need to put handy
\\
at the end of a line to break it, but it's not the same length for all rows. - Sometimes I need to put one table in two pages and I don't know how to break it automatically.
Is there any simple solution of these problems?
\begin{tabular}{ll}
$X\sim\mathsf{N}(\mu,\,{\sigma}^{2})$& the random variable $X$
has normal (Gaussian) distribution\\ & with mean $\mu$ and variance ${\sigma}^{2}$\\
\end{tabular}
To the point 1. In every item I need to put handy \\ &
(after distribution) to cut it because it is long and the rows are not the same length...I'd like to ask how to do it automatically the breaking at the end of lines.
longtable
is not complicated at all if you spend five minutes trying to understand it. However, it is not very robust in interaction with other packages. See this Q&A for a worked example, as well as some problems.p
column rather than ac
column to allow automatic line breaking within the cell? As for point 2, that's what longtable does: the table should just break at the end of the page automatically.{}
button on the toolbar above the text field. This adds backticks (`
) around inline text, and indents blocks with four spaces.