{line-breaking} is about how (La)TeX breaks paragraphs into lines and how those breaks can be influenced.

learn more… | top users | synonyms (1)

1
vote
1answer
118 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)$ ...
1
vote
1answer
70 views

How to break the make of a new line?

I'm trying to break the make of a new line by \begin{itemize} for a more appropriate view of longtable. I can't find how to achieve this. Any help, please ? \begingroup \setlength{\LTleft}{-20cm plus ...
1
vote
3answers
294 views

how to deal with Long URL in LaTeX

I am a green hand in LaTeX. I sought online and found a lot of posts about the question I asked. However, I cannot follow their instructions. Could anyone give me a hand ? (OS is ubuntu 12.04.) The ...
1
vote
1answer
82 views

Qtree Text Positioning

My document looks like this: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{tikz} \usepackage{tikz-qtree,tikz-qtree-compat} ...
1
vote
1answer
100 views

How to add a line break

Sometimes I need an empty line like this If I write $\Rightarrow \mathcal{I}_1 = \{\{A\}, \{B\}, \{C\}, \{E\}\}$ \\ Generierung der häufigen $2$-Itemsets: I'll get an error "There's no line here ...
1
vote
1answer
400 views

Line-breaking long cell contents when using longtable through datatool

I'm trying to display a table loaded from a CSV file and displaying it like this: \DTLloadrawdb[]{myDB}{myDB.csv} \DTLdisplaylongdb[% caption={myDB caption},% label={tab:myDB},% ...
1
vote
1answer
2k 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 ...
1
vote
1answer
63 views

Preventing space instead of linebreaks

How to prevent space at a line break? a b c produces: a b c I want abc.
1
vote
1answer
228 views

Using split to break a long equation

I am trying to break a long equation over multiple lines. It is here as follows: \begin{equation} \begin{split} L(\textbf{q})=&\prod_{t=0}^{36}{q_{1}^{iB(t)sB(t+1)+iC(t)sC(t+1)}\\ &\quad\cdot ...
1
vote
2answers
1k views

Tabbing and automatic line breaks without columns

I'm making dense revision notes so I'm trying to use all space possible e.g. tabbing and adding short notes whenever the previous item takes up significantly less than half the line \begin{tabbing} ...
1
vote
1answer
837 views

How to get the abstract title to runin

We have written a style class file and I need the abstract to be in a special format to the rest of the report. It ought to look like such: Abstract - text text text... But with the current ...
1
vote
1answer
1k 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 ...
1
vote
1answer
377 views

Text Alignment problem [closed]

I am having a problem with the alignment in my pdf. The pdf is compiled with Xelatex. Some words instead of being separated with a "-" and continue at the bottom line are written whole in the upper ...
1
vote
1answer
497 views

LaTeX + Django templating and margin run on text

I am rendering LaTeX templates with Django template tags in them and for testing when I put a very long string of text, no matter if I used \raggedright, or \sloppy, the text always seems to run into ...
1
vote
1answer
1k views

Lines don't wrap in my list of tables

On my "List of Tables" page, the descriptions of tables don't wrap. Instead, the text proceeds on the same line all the way to the far-right margin of the page (past the point where the page number of ...
1
vote
2answers
177 views

Character on hanging list

I'm the maintainer of the ledmac package (for critical editions). I would like to have the possibility to start all the lines with hanging indentation with some chosen character, like this (where ...
1
vote
0answers
25 views

How to break long sequence of fractions in math mode? [duplicate]

I tried few solutions, such as using seqsplit and breqn but no success. splitting-very-big-numbers-over-several-lines I want to break long sequence of fractions. Here is MWE ...
1
vote
0answers
14 views

Preserve linebreaks in command argument

I'm using the pdfpcnotes.sty style from https://github.com/cebe/pdfpc-latex-notes and I'm currently trying to make it preserve newlines, i.e. if I write \pnote{ * Foo * Bar } I want this to ...
1
vote
0answers
19 views

How do I minimize tabulary width, contingent on minimizing height or lines per row?

I frequently find that I want to make a table with final column (typically out of 3-5) that will automatically break over multiple lines. So I use \begin{tabulary}{\linewidth}{llL} [...] ...
1
vote
0answers
39 views

spaces in references in pdf view

I am using book document when I view my work on pdf, some of references looks like this with spaces. how to avoid them? Can I change "bibliography" to "references"?
1
vote
0answers
17 views

Nonbreakable space for bibliography

Why do we need to use a nonbreakable space ~ for the bibliography ? For example, in the book "More math into LaTeX" by G. Grätzer, on pp. 47, the following snippet of code is given: \bibitem{eM57a} ...
1
vote
0answers
44 views

Problem in combination of longtable and stepcounter{rowcount}

I am making a longtable consisting of 3 columns: linenumber of the text in the table, column with a short abbreviation and a column with possible a lot of text. Since the third column contains a lot ...
1
vote
1answer
24 views

theorem header still not breaking line

The question has been asked before at How can I get a line break in a theorem headline?, but the answers seem not to work for me: \documentclass[a4paper, twoside]{book}%[a4paper,oneside] ...
1
vote
0answers
38 views

colorbox highlighting: overfull hbox

For a current LaTeX-Document, I've done some highlighting using colorboxes around specific words or formulas. This works quite well, although, of course, the colorbox doesn't do line breaks when it is ...
1
vote
0answers
250 views

GitHub-hosted Jupyter notebook auto line breaks / wrapping [closed]

I would like to put a document containing a fair amount of inline math onto GitHub as an IPython Notebook. Because I don't like the typical Markdown sans-serif font, which wouldn't match the Latex ...
1
vote
0answers
30 views

Automatic linebreaks for equations in tabular environment?

I have so far tested the breqn's dmath environment example here but it does not work with tabular in rotating's sidewaystable, resulting into \cr errors in wrong place. So How can you automatically ...
1
vote
0answers
32 views

Reference a picture [duplicate]

I am writing a PhD thesis. Sometimes when I reference to a figure the following problem occurs. In PDF the word Fig.[number of figure] are written in two lines (Fig. and [] are separated). How to ...
1
vote
2answers
76 views

Lines with texttt reach into the page border, how to prevent?

MWE: \documentclass{scrartcl} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} ...
1
vote
0answers
59 views

Automatic line break in writing pseudo-code using algorithm package

I am going to write a pseudo-code using the algorithm package. Everything is fine, however, I am not able to automatically break lines and you see what happens in the picture below: I am wondering ...
1
vote
0answers
58 views

What command can I use to break the formula to have the alignment acceptable? [duplicate]

Below, in the image, there is a math formula which has a pink underline (namely Ann_{f(A)+J}(J)=0). As you see the alignment isn't acceptable (highlighted). Question. What command can I use to break ...
1
vote
0answers
53 views

How to make the fully justified code at line-breaks?

I have a problem for using algorithm2e package. I am writing a algorithm just like \begin{algorithm} \caption{RM-MEDA} \label{alg1} Initial a population $Pop(0)$ and compute the $F$ ...
1
vote
0answers
46 views

Multiline latex equation

I have latex equations within \[ ... \] commands. Some of them doesn't fit page width and they have newline command \\ inside. I tried to surround these equations with gather* environment which works ...
1
vote
0answers
92 views

combination of \underset{} and \ul{} prevents linebreak

Here is the MWE. I am sorry for not putting it earlier. \documentclass [11pt,letterpaper,twoside,openright]{book} \usepackage{amsmath} \usepackage{soul} \begin{document} This is the example to ...
1
vote
0answers
50 views

Formatting latex code in lyx

I have been using lyx and have run into text formatting issues when using math inline formulas. For example, the code bellow: is converted to: How can I make the formula fit the numbered list?
1
vote
0answers
15 views

How do I stop \write and \message from inserting a newline at 80 characters? [duplicate]

I have the following file: \immediate\write16{abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKL 80 char split is right here -><- this is on the next line} ...
1
vote
0answers
15 views

Eliminate \hbox badness in multiple verse-like environment [duplicate]

This is a question dealing with underfull \hbox badness when newlines are entered using \\. \documentclass[12pt]{memoir} \usepackage{lipsum} \usepackage{polyglossia} % the multilingual support ...
1
vote
0answers
110 views

Small Line Inserted into Sharelatex

I'm trying to figure out how to insert a small straight and horizontal line segment into a Sharelatex text file. Any ideas?
1
vote
0answers
17 views

phantom does linebreak instead of invisible math mode character [duplicate]

I have the following two lines: $\Rightarrow$ Generate $\mathbb{G}^n$ and check the existence of a homomorphism\\ from $\mathbb{G}^n$ to $\mathbb{G}$! I want the second line to start exactly under ...
1
vote
1answer
94 views

Multirow reacting to rownumber instead of linenumber

I'm trying to create a table in LaTeX which contains a multirow as height as the rest of the table. This table appears lots of times in my document. The problem is that the second row can contain ...
1
vote
0answers
115 views

Automatic line-breaks in a long display-mode equation

I have a long sequence of equalities and inequalities in a display-mode formula. Currently, this formula is longer than the page width. Is there a way to tell LyX to automatically break the formula ...
1
vote
0answers
17 views

Why can't I break this formula into two lines? [duplicate]

\begin{align} V_{\alpha \beta} = \left\langle (K_{il} E_{i j}^{\alpha} K_{j m} \delta_l \delta_m + 2 \epsilon_i \delta_m E_{i j}^\alpha K_{j m} + \epsilon_i \epsilon_j E_{i j}^{\alpha} - N_{i j} E_{i ...
1
vote
0answers
381 views

\newline not working with longtable?

This table comes from SAS output. The \newline is not working correctly. E.g. "Percent trimmed in tail" ought to be Percent Trimmed In tail but it is showing up as Percent Trimmed In Tail Here ...
1
vote
0answers
146 views

How can I break lines automatically in tabular to fit to page width? [closed]

I expect to break a long text automatically in tabular. After searching this site, there are several ways: (i). Use p{dimension} in tabular, answered here \begin{table}[h] \begin{tabular}{|l|l|} ...
1
vote
1answer
58 views

linebreak in bibliography with url and date

I have an issue with urls and urldate. The line is a little bit too long for one line, but I have no idea how to fix a manual linebreak in urldate. I've had a look into the bbl-file, but the ...
1
vote
0answers
196 views

Insert a line-break in online equation editor [closed]

How do you do a carriage return (line-break) when using the Online LaTeX Equation Editor](http://www.codecogs.com/latex/eqneditor.php)? I have written: \documentclass{article} {a_n^m} \Return ...
1
vote
0answers
19 views

Breaking lines of code using using mcode [duplicate]

I am using the following code in the main tex file: \usepackage[numbered,autolinebreaks,useliterate]{mcode} and this code in the appendix file: \lstinputlisting{C:/path/function.M} Considering ...
1
vote
0answers
31 views

How to prevent linebreak in the word “.NET”? [duplicate]

Sometimes, LaTeX breaks the word ".NET", leaving the dot on the previous line and putting "NET" on the next line. Can I force it to put all four characters either at the first line or at the second ...
1
vote
0answers
85 views

how do I make latex allow breaking a line whenever reaching line boundary [closed]

I started writing my HW in latex, I use an online latex editor+compiler. Sometimes, when I write long math expressions, the expressions exceed the right boundaries of the page. I've seen that it has ...
1
vote
0answers
36 views

line-breaking across all document/objects automatically?

I find myself manually fixing long variable names between $$ and \texttt{} and other objects (there are plenty of those in my document since . Those fixes don't hold well after text changes, and ...
1
vote
0answers
146 views

Change of chapter appearance

I got the following code for making the chapter appearance in [report] mode, which I would like to keep: \renewcommand{\thechapter}{\arabic{chapter}} \titleformat{\chapter}[display] {\bfseries\Large} ...