4
votes
2answers
28 views

Line breaks in custom command that uses tabular environment

I am using a resume template I found here - http://www.davidgrant.ca/latex_resume_template There is a custom command, based around the tabular environment, which is in the MWE below. I would like to ...
2
votes
1answer
81 views

Text is not fitting the column

I want my texts to continue in the next line instead of continuing in the other column. How can I manage this? My code is : ![enter image description here][1] ...
6
votes
3answers
75 views

bigdelim and text with multiple lines

I have a table with a common label for multiple lines. Using bigdelim I place brackets to give explanations. My explanation has too much text for one line, so I would like it to break over multiple ...
2
votes
1answer
52 views

Table with a single column using text-wrapping

I have a table with 3 columns. The first two just have cells with 1 or 2 short values which I do not want to wrap and I want to be the minimum allowed size. The 3rd column has a lot more text, and ...
5
votes
1answer
161 views

Latex Table - \smallskip breaks vertical lines

I am creating a table, in which I want to separate groups of lines, using \smallskip. However, at the very left of the table there is a \multirow cell, whose vertical lines are now broken. Is there a ...
2
votes
1answer
62 views

Line break in table [duplicate]

I want to go on writing in the first array but in a new line. The command \\ is not working for this. Can anybody help me please? My code is: \documentclass{article} \usepackage[landscape]{geometry} ...
4
votes
2answers
234 views

Automatic line-break in tabular

Sorry if I've missed the answer in another post, but I've literally spent 3+ hours googling this problem now. I'm making a tabular and I'd like to to automatically do a like break rather than going ...
4
votes
3answers
60 views

cellspacebreak macro

(I am rolling my own little system to take my LaTeX file and convert it to reasonable HTML and Epub. I have run into the following problem.) I would like to keep my tabulars very simple. There are ...
1
vote
1answer
89 views

I can't find/fix the errors in order to be able to compile it

\documentclass{article} \usepackage{amsmath} \begin{document} $These are two truth tables for the following: $\neg (p \vee q)$ is logically equivalent to $(\neg p) \wedge (\neg q)$ ...
15
votes
2answers
506 views

moving the whole word to next line when there is no free space

Is there any option in tabular that can move the whole word to the next line whenever the length of the word is greater than the fixed cell size? Currently I use \begin{tabular}{ | p{2cm} | } And ...
3
votes
3answers
117 views

How can I fix the width of the table?

I have a multi-column table but the width of last three column is float. I want it change line automatically when the text exceeds the table of too long to write in one line. Here is the image and ...
3
votes
1answer
131 views

Custom table caption (Updated)

I'd like to achieve a custom table (figure) format with Table numbering and title (this is usually the title also used in the list of tables but does not have to be) in boldface, and the (longer) ...
2
votes
1answer
182 views

avoid underfull \hbox (badness 10000) in paragraph because of linebreak

It seems to be a common question, but the other werent adressing my code. \begin{table}[ht!] \centering \small \caption{Absolute and relative frequencies } \label{FreqFair} ...
3
votes
1answer
78 views

Creating Table using array

I'm trying to create entry similar to tables using array begin{array}{*{20}{r}} {}| & A |& B \\ \hline A_1| & {one|} & {two} \\ B_2| & {three|} & {four} \\ \hline ...
3
votes
1answer
4k views

Underfull \hbox (badness 10000) in paragraph for table

I got a "bad box" warning said `!h' Underfull \hbox (badness 10000) in paragraph Underfull \hbox (badness 10000) in paragraph Underfull \hbox (badness 10000) in paragraph Underfull \hbox (badness ...
1
vote
2answers
87 views

Creating table with multirow option fixed width and wrapped text

I am trying to create a table using multirow option. I am using the following code: \documentclass[10pt]{article} %\usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
1
vote
1answer
74 views

break on @ symbol in table cell

I have a table that often overruns the width of the page. I figured out that if I format the cells as paragraphs with a set width then LaTeX will wrap the contents of the cell. However, the column ...
1
vote
1answer
1k views

Automatic forced line breaks in latex table

Im making a table where the last column contains a URL which may be quite large, so I want to make automatic line breaks in this column. If I use p{3in} in the table, some of the URL are seen as one ...
4
votes
3answers
250 views

Automatic line-breaks in tables?

I'm writing a short tabular CV that I have to add to my thesis. I thought a quick way would be to use a table for that purpose: \begin{tabular}{ll} 2009-present & very long text 1, very ...
3
votes
1answer
87 views

I want to have pbox have line breaks where the margin falls

I am using \pbox to have line breaks in a table, but cannot seem to figure out how to have it break at the "natural" location where the margin begins. Here is my code: \documentclass{article} % ...
5
votes
3answers
2k views

How to center table caption that includes a newline

My table caption spans more than on line so I added a \newline to split the caption at an appropriate position. Now, the two lines are left aligned. How do I center the two lines of the caption? ...
0
votes
1answer
136 views

how to break lines in a table?

my code is here \begin{table}[t] \centering \bgroup \def\arraystretch{1.2} \begin{tabular}{|c|c|c|} \hline Frucht graph & Graph $K_3$ & An homomorphism from Frucht graph to $K_3$\\ ...
5
votes
1answer
476 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 ...
3
votes
1answer
117 views

How to add two force line breaks in cell

I would like to add two force line breaks in a cell. Using an answer from this question I can add one force line break. Can you help to add two line breaks using similar function like ...
5
votes
1answer
124 views

Make less space between lines on a table

I have a big table where I need to use multiple lines on each cell. The table is too big though so I need the space between lines on each cell to be smaller. I found on another post that I could use ...
4
votes
2answers
158 views

custom word-wrapping in tablecolumns with fixed width

I have a somewhat special problem. I want to create a fixed-width table column (for example by using the p{0.2\textwidth} column-type). But in the column are really (!) long words, containing mostly ...
3
votes
2answers
111 views

Using \color in a paragraph column inside a tabular environment results in a line break [duplicate]

Some of my documents are compiled into multiple outputs. Some Versions contain certain parts, while other versions contain only a placeholder. For this purpose I have a macro \markup that colors its ...
1
vote
1answer
171 views

Text does not fit into table which causes bad box errors

I use Excel2Latex to convert tables in Excel to Latex, however a problem arises when the text is too long to fit in the column and I get many bad box errors. My code is: % Table generated by ...
3
votes
1answer
601 views

Underfull hbox in tabular

I'm trying to make a table with fixed column widths. Cells in the first column will generally not have enough text to require a line break within the cell. The second column's cells will quite often ...
1
vote
1answer
89 views

How to add equation with cases inside the table

I want to include the complicated equation into one of the cells of my table. I am using tabular environment, additionally I have some multirows. I would like to add something like this: ...
7
votes
1answer
572 views

How to create a table with merged columns and rows, and wrapped text, like in MS Word?

The above can easily be created in MS word, but how can I create something like this in latex? Basically changing the columns for specific cells, merging a bunch of cells together, wrapping text in ...
4
votes
2answers
537 views

How to get line-breaking / multirow to work in the caption of my beginner's table?

How to get line-breaking / multirow to work in the caption of my beginner's table? \caption{this is my first table's captive caption} I'd like the caption to look sth like this: this is my ...
5
votes
2answers
98 views

How to get autobreaking with sequential tables

So it appears that \hspace is not breakable, but is if it is followed by \allowbreak. Alternatively you can use \hskip1.0em as that is breakable. So, if my understanding is correct, then why do the ...
0
votes
2answers
171 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 ...
3
votes
2answers
224 views

line break in tabular

I try to set a line break within a tabular environment where the column is not definded with p{$width}. I've tried the following without the expected result \documentclass{article} \begin{document} ...
2
votes
2answers
467 views

Multiline listing within multicolumn row

I have a problem putting a listing (using lstlisting package) within a table. The problem is that I want to put a multiline listing in a row taking 2 columns. The following minimal example shows ...
0
votes
1answer
109 views

How to wrap text in table with delimiter?

I have one long text in a column of table. I want to wrap this it into a cell by using delimiter "/". How can I do it in longtable? ABCDEFGHIJ/DATSET Format: ABCDEFGHIJ DATSET
1
vote
1answer
548 views

Big Table with line and pagebreaks

For a technical documentation (two columns: function name left, description right) I need a way for automatic line and page breaks in a table environment in case the descriptions get a bit longer. I ...
6
votes
2answers
122 views

How can I get a very wide table to wrap all three rows within the margins?

I have a series of tables that are going to be very (very!) wide, but with only 3 rows. Is there any way I can get the tables to wrap within my margins, without having to break the rows within the ...
10
votes
1answer
530 views

How to wrap the 90 degrees rotated text in a table cell

in Microsoft word I have a table which has the following structure. Now, I need to make a similar table in LaTex to submit a publication, I tried with the following code, ...
2
votes
1answer
294 views

Table column fixed width does not fire

I have the springer svjour3 template and the user guide says that for tables the usual Latex 2e commands are used. Now, I would like to produce a table that goes over the whole page (the error is the ...
7
votes
3answers
158 views

Preventing newline from left column from forcing a newline in the right column

I'm writing a CV in LaTeX, and got started with the sample called Writing a CV in LaTeX. I'm trying to modify it so that a newline in the left column does not force a newline in the right column. ...
3
votes
1answer
453 views

Automatic break line after multicolumn

Is there a way to put \\ after multicolumn automatically, each time it appears in the code? Pseudocode would look like this: \newcommand{\commandThatAddsBreaklines} if(thereIsAMulticolumn == true) ...
2
votes
1answer
123 views

Text gets out beyond the table

I use WinEdit and try to make a table. The problem is that I can not move the text in a multirow to the second line. There are the packages I use: \documentclass[12pt, a4paper]{article} ...
19
votes
1answer
2k views

Difference between \\ and \tabularnewline

What is the difference between \\ and \tabularnewline? Is it same as the difference between \\ and newline? Is \tabularnewline preferred over \\ when creating tables?
6
votes
1answer
928 views

How does LaTeX make line-breaking for word that can not fit in cell?

Often in my tables LaTeX doesn't want to line-break a word that can not fit in a cell. How I can teach it to split such a word? As you can see in my example below the same word in some cases will be ...
0
votes
1answer
233 views

LaTeX pushes the cell off the bottom of the page

I have a problem with too long text in one cell. Text in cell is autocreated, and I cannot know previously how long will be it. When text is too long LaTeX pushes the cell off the bottom of the page. ...
4
votes
1answer
345 views

Too long hyperlink can not fit on page

I have a problem with a too long hyperlink. This reference is one word, but it is too long and doesn't set the text width, so some part is pushed beyond the margin: ...
2
votes
1answer
279 views

Text running through table cell after forced linebreak

I’m trying to fit some text in a table, but the text keeps running through the table cells. I’ve already specified a fixed column width for the text using the p{} command. Initially, this worked, but ...
2
votes
1answer
213 views

Add image and line break within a table

I want to create a rather mysterious table with both a line brake in a single row and an image. You understand that I cannot use a new row without \hline because I want to add an image at the same ...