Linked Questions

905 votes
23 answers
1.2m views

How to add a forced line break inside a table cell

I have some text in a table and I want to add a forced line break. I want to insert a forced line break without having to specify the column width, i.e. something like the following: \begin{tabular}{|...
Denilson Sá Maia's user avatar
269 votes
2 answers
216k views

When to use \par and when \\, \newline, or blank lines

What is the difference between \par, \newline, \\ and blank lines? When should I use which one?
Jonas Stein's user avatar
  • 8,879
8 votes
5 answers
4k views

Making a table for Maxwell's Equations

I would like to write this in LaTeX. I tried using the array environment but I think I should use the tabular environment. The problem is the text is outside the margins of the paper. How can I fix ...
Therizinosaurus cheloniformis's user avatar
5 votes
3 answers
20k views

Centering cells of a tabular column using m{}

I want to use a tabular to list some headlines, that might be quite long or contain linebreaks. The first column is kind of an Index or Key for the second columns content, so i would like to (...
Ronny's user avatar
  • 6,110
1 vote
2 answers
3k views

how to create a nested table

I searched how to create a nested table but I didn't find a solution that works for me. What I need is to create this table. Any one can help please?
Amir Choubani's user avatar
2 votes
2 answers
2k views

Working with long table in landscape orientation

Admitted I handle thing poorly when it comes to working with table. In my report I reached a point that I want to insert table (landscape) that would span multiple pages. So I used \longtable. ...
arilwan's user avatar
  • 389
3 votes
3 answers
204 views

Table aligning with double rows

I am trying to create a table that includes multiple rows in a single cell without using \shortstack which seems to squash the words close together. In the sample I include below I opted to just ...
jared's user avatar
  • 231
4 votes
3 answers
145 views

Macro fail when used in tabular environment

I am trying to use a macro to reformat content in a clearer fashion. In particular, I am expecting to transform strings such as foo; bar; baz; into foo; bar; baz; Here is the macro I have so far, ...
Pamplemousse's user avatar
3 votes
1 answer
274 views

Redefine \\ for multiline cells in tabularray

When using multiline cells with tabularray like in the example below, I have the problem that my editor (emacs) recognizes the \\ that indicate a newline in a cell as the end of a row and thus messes ...
Julia's user avatar
  • 1,648
1 vote
1 answer
926 views

Formatting table with multiple items in cells in one column [closed]

I have a question that is very similar to this: How to use itemize in Table environment and Table with multiple lines in some cells However, instead of the content of the table being written directly ...
Tina218's user avatar
  • 11
0 votes
2 answers
690 views

Easy way to line-break specific table cells

I have a table with long text and found a way to get rid of the issue where one has to do line-breaks manually. Here is the code for a very simple version of this layout: \usepackage{booktabs} % for ...
RalfB's user avatar
  • 825
0 votes
1 answer
375 views

Typesetting two lines of text in rows of a table

I have a table in which I want rows to have two lines of text. In the first row, I would like "Number of pairs" centered over "of newborn bunnies." In the second row, I would like &...
user143462's user avatar
  • 1,039
1 vote
1 answer
607 views

How can I split text into a new line inside resumeSubheading?

In a section I want to describe some aspects with their respective time and place via the format below, ie with a bold heading, some (italic) text below and on the RHS of the doc the time and place. ...
HPMinsky's user avatar
2 votes
3 answers
72 views

Tables to present equations and their elements

I'm trying to present a equation in this way I don't know if it's the best way to present this information, but i got that example from a reference guide.
kraDracsO's user avatar
  • 104
1 vote
1 answer
207 views

How to achieve independent 2 columns

I want to have something that looks like this: But I'm not sure how to get it as the left column should have 2 rows and the right 4 rows. So I want the two to be independent.
Jason's user avatar
  • 13

15 30 50 per page