5
votes
3answers
144 views

Equations in a box - table doesn't work

I want to put some limit equations in a table but all I get are errors such as "! Missing $ inserted." and "! You can't use `\eqno' in math mode.". Am I doing something wrong or is there another way ...
6
votes
1answer
78 views

siunitx overfull hbox dependent on table-format

There are a few similar questions (see here and here) regarding overfull \hboxes in siunitx tables but neither solves/explains the following. Consider this MWE: \documentclass{article} ...
3
votes
1answer
73 views

Vertically stack parboxes in a cell of a table

I need to insert an enumerate environment in a table. Following hints from this page: itemize in a tabular environment, I used \parbox to prevent error (Putting itemize environment in a tabular ...
2
votes
0answers
104 views

overfull vbox if multirow is bigger than usual

I have the following table which gives an overfull vbox because the multirow takes more vertical space than each of the rows it spans. Also, I would like the multirow to center vertically if possible. ...
8
votes
1answer
180 views

Why does \smash screw up vertical spacing after tabulars?

Using \smash after a tabular seems too screw up vertical spacing. Wheras after a paragraph vertical spacing is fine. Witness for yourself: \noindent \begin{tabular}[t]{@{}ll}% One\cr Two\cr ...
4
votes
2answers
150 views

Vertical alignment in tabular with fbox

I have problems with vertically aligning content in my single row header table for an invoice template. Currently it looks like this: What do I have to do to align the top fbox to the top of the ...
4
votes
1answer
81 views

Alignment of tabular objects inside a horizontal box

How to align two tabulars of different height side by side so that both top rows are aligned with each other? Example: \hbox{\vtop{\hbox{Foo}\hbox{Bar}}\enskip\hbox{Baz}} produces Foo Baz Bar ...
7
votes
2answers
165 views

Box/Table surrounded by a pattern/symbols?

I have a box for tips, but I would like to have a pattern surrounding it like in the example picture. Thank you for your help! \documentclass[ngerman]{scrbook} \usepackage{fontspec} ...
5
votes
1answer
374 views

Overfull hbox in tabular

In the following (M)WE, the tabular version of the Contact information from a CV gives an overfull hbox warning when compiled with pdfLatex, but the minipage version does not. Why? I have not found a ...
1
vote
1answer
733 views

Mimicking (*office) CV-layout in TeX

To me (who considers himself a TeX-beginner for a long while to come) it seems like quite a mountain to climb, with much guessworking required, to convert this CV template into a (reasonably close, or ...
4
votes
1answer
93 views

\hbox in “p”-column (tabular) destroys row layout

The following example code shows a problem with my \vertgap command, which is just intended to add some space above and below the mandatory argument after encapsulating it in an \hbox (for tall ...
0
votes
2answers
157 views

Linebreak in table cell at document margin

In order to allow line breaks within a table cell, I use \parbox. But when the cells I want to have line breaks in are in the last column of the table, the best thing would be to break them at the ...
4
votes
1answer
58 views

Removing boxes in a ytableau

I am attempting to draw a ytableau where I remove the boxes around the outermost part of the table. Basically, what I would like to do is remove the boxes around all of the numbers in the example ...
4
votes
2answers
903 views

Removing an “Overfull \vbox” message caused by a nested table

I am trying to typeset a nested table, like this: \documentclass{article} \usepackage{bigstrut} \usepackage{multirow} \begin{document} \begin{tabular}{|lll|} \hline A & \multirow{2}{*}{ ...
8
votes
1answer
10k views

How to rotate text in multirow table?

I have a big table with a problem, when I want to rotate the text in a \multirow cell, the text is placed outside and is bigger than the dimensions of the cell, I took some advice from here, ...
3
votes
2answers
748 views

Using tabularx, multirow, and parbox for line-wrapping

I am using a multirow inside a tabularx, but because the multirow doesn't wrap, I am putting the multirow's text inside a parbox environment: \begin{tabularx}{\textwidth}{@{}XX@{}} \toprule blah ...
2
votes
1answer
192 views

Tabular vs fbox (or other options?) for creating an organized document

I'm currently in the process of trying to make a template that I can use for creating lesson plans for my high school math classes, but am having some trouble figuring out how I can make this be the ...
5
votes
1answer
152 views

building a box a bit special

I'm trying to build in latex this box: I have been trying with this code: \noindent\begin{tabular}{|c|c|c|c|}\hline \enc{cyan}{ NOMBRE }&\enc{cyan}{ $\text{1}^{\text{er}}$ APELLIDO } & ...
5
votes
2answers
196 views

tabular height savebox problem

I'd like to build a tabular and next to it a graphics in the same height. I use the following code (for minimal working purposes, I used \rule) and do not understand, what is going wrong: ...
9
votes
2answers
572 views

Why do I need a '\vspace{0pt}` to align a table and a figure along the bottom line when using '\vbox' and '\hbox'?

Recently, I fiddled with placing a table and a figure next to each other such that their bottom parts aligned with each other. I managed to do by using \vbox and \hbox, but there is one thing that ...
6
votes
1answer
7k views

\colorbox{color}{text} without increasing the height and width of the cell in a table

When using \colorbox{color}{text} to put background color for the text in a table, the text with background color seems to take more space and makes the respective cell higher and wider. Is there a ...
1
vote
1answer
440 views

Align a parbox at the bottom of a table

Below, how can I align the \tiny text in the \parbox at the end of the right column table so that its last line is on level with the last row of the left column table? In general, it would not be a ...
3
votes
1answer
1k views

Top-align two parboxes with tables

I am looking for a two-column solution: The left column contains one table, the right column several tables. I was thinking of using parboxes as follows: \parbox[t]{2cm}{\vspace{0pt} ...
4
votes
2answers
1k views

\parbox “textwidth” for the combined width of a subset of table cells

I would like the parbox width of the text in a multicolumn to be calculated automatically from the combined width of the cells that the multicolumn spans. (Their width will vary in different copies of ...
3
votes
1answer
787 views

Table cell overflow

Consider this document example: \documentclass[a4paper,draft]{article} \usepackage{calc} \usepackage[demo]{graphicx} \usepackage{tabularx,multirow} \usepackage{geometry} \geometry{hmargin=0cm} ...
11
votes
4answers
8k views

Overfull \hbox warning when using tabular

I keep getting this warning Overfull \hbox (0.63303pt too wide) in paragraph at lines xxx--xxx` wherever I have this line in the code \begin{tabular}{p{2cm}|p{4cm}|p{3cm}|p{3cm}} It does ...
7
votes
1answer
2k views

Sideways margin with parbox?

How to get right margin in parboxed header? Top, bottom and left margin are ok, but there is no margin at the right (top) side of 'Parameter' header. \begin{table}[ht]\footnotesize \centering ...