Questions tagged [makecell]

141 questions
10
votes
3 answers

\makecell align does not work?

In the docs of the makecell package in Section 1.1 it stated that one can align text horizontally to the top or bottom with \makecell[t]{..} and \makecell[b]{..}. I tried that…
Adam
  • 1,268
5
votes
2 answers

styling nline cells

The number line command \nline from the makecell package inserts n cells with a pattern containing an incrementing number. I'd like to treat those as headers, styled with \theadfont and \theadalign. I looked at makecell's source, but I don't…
Bart
  • 447
5
votes
3 answers

Table cell line break, and rowcolors

This question is about three things: Making forced line break in a cell Combining above with \rowcolors Combining above with vertical lines 1.This is obviously a common problem, since I have read several threads about this. But, I have not yet…
K.C.
  • 71
1
vote
1 answer

Evenly vertically spaced lines inside makecell

I have a table with a rotated header, and some makecells afterwards to fit the rotated header on one…
Kris
  • 111
0
votes
0 answers

Alternative for makecell?

While working on a solution for Typographic conventions template / package I came across https://tex.stackexchange.com/a/26692/28139 which makes use of the optional argument for \\ to increase spacing between rows. This works quite nice. When trying…
ViToni
  • 203
0
votes
1 answer

Undefined control sequence \mcell@MB@ when using \diaghead

When I use the \diaghead provided by makecell package, I get Undefined control sequence errors. It seems the \mcell@MB@ and \mcell@MBjot are both undefined. Following is a simplified example adapted from Sec. 7 of doc of…
muzimuzhi Z
  • 26,474
0
votes
1 answer

how to align cell text to center with \makecell

\begin{center} \begin{longtable}{|>{\centering}m{.2\textwidth}|m{.2\textwidth}|} \hline \makecell[{{p{.2\textwidth}}}]{this is a test test test test test test\\ a test too} & bear \\\hline \end{longtable} \end{center} The first…