Skip to main content

All Questions

3 votes
2 answers
155 views

Making a character active in a macro

I thought I am smart, so I put this code to locally allow breaks inside inline math into a macro: \documentclass{article} \def\MakeCommaBreakable{% \def\OldComma{,} \catcode`\,=13 \def,{% ...
Bubaya's user avatar
  • 2,549
1 vote
1 answer
41 views

Parenthesis encapsulating several lines in math mode

I would like to be able to produce parentheses that encapsulate several lines of text in math mode. The context is the following: when typing the solutions to a set of probability exercises, I need to ...
Wild Feather's user avatar
0 votes
0 answers
54 views

Auotamatically provide a linebreak every time I input a new line under align*

Apologies if this has been asked before; I couldn't find any other such questions. Currently, when I use the align* environment from LaTeX, I have to manually \\ for every new line. Is there a way, at ...
Aaron Liu's user avatar
  • 101
1 vote
1 answer
65 views

How to reduce white space inside β€œπ‘Œ.” automatically?

Feeding \documentclass{article} \pagestyle{empty} %\usepackage[slantedGreek,subscriptcorrection]{newtx}% this is what I use with many of other packages in a non-minimal example. %% Text skips with ...
AlMa1r's user avatar
  • 541
0 votes
1 answer
144 views

Is possible to break a line automatically?

Writing a latex document it is possible that a math-text is putted into two different lines but obviously this could be unpleasant so that I thought to confront with this using the following solution. ...
Antonio Maria Di Mauro's user avatar
1 vote
3 answers
42 views

Breaking Long Radical Over Multiple Lines

I need help making this monstrosity look presentable: \documentclass[12pt, a4paper]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage{parskip} \usepackage{enumitem} \usepackage{float} \...
Yasen Y.'s user avatar
0 votes
0 answers
59 views

How can I do automatic line breaks in LaTeX math mode? [duplicate]

i have a Latex document with some very long equatations inside an align* element. They overflow the page width. My question is: How can I tell Latex to automatically insert linebreaks when the lines ...
axolotlKing0722's user avatar
0 votes
2 answers
106 views

Overfull hbox too wide (how to break lines)?

I'm trying to list examples of weak compositions of 4, and my code looks like the following: Weak compositions of $4$ into three parts are: \[(4,0,0), (0,4,0),(0,0,4),(3,1,0),(3,0,1),(0,1,3)\linebreak(...
lifeisfun's user avatar
2 votes
2 answers
158 views

Automatic page break for very long equations

I have ultra-long equation. I tried to use the dmath but got the error "Overfull \hbox" and it is not running in my main code. I even tried to change \left( and \right) to \biggl( and \biggr)...
S.B.MD.Khaja Moinuddin's user avatar
3 votes
1 answer
119 views

Reference request: line breaks in inline math

I find the automatic line breaking in inline math slightly obscure. Is there a comprehensive summary of where and where not automatic line breaks may occur, what are the penalties, etc.? I suppose ...
Bubaya's user avatar
  • 2,549
0 votes
1 answer
105 views

How to use a line break in eqnarray without adding a new equation number?

I am working on a two-columned page and want to write a long formula. I want to use eqnarray so that I can label my equations and refer to them. Not working with eqnarray, I have the following code: \...
Emil's user avatar
  • 390
1 vote
1 answer
100 views

Forcing a new line in math typing - LYX

When writing a long math sentence, the writing goes beyond the end of the page: When all I write in the file is: Is there an easy way to force a new line without actually go to a new line? Or a way ...
Phiisnotdead's user avatar
2 votes
0 answers
78 views

Prevent line breaks before short math expressions globally

Is there a way to globally prevent line breaks before math expression that are a single letter ? For example, in a document I have \begin{lemma} An edge $\lambda_{xy}$ is identifiable in a tree graph $...
BeniBela's user avatar
  • 553
1 vote
3 answers
162 views

How to add a newline inside \overset?

Example: $abc \overset{a=1,b=2,c=3}{=} c!$ I'm trying to figure out how to add newlines instead of commas between a=1 and b=2 and b=2 and c=3.
finefoot's user avatar
  • 579
3 votes
1 answer
238 views

Move whole inline math to new line if it is too long

I have big tex document that was created for a4 paper, I wanted to change a4 to a5. After doing so, latex rendered some inline math in kinda awkward way: Something something x + y + z = f(x). I would ...
Demiler's user avatar
  • 87

15 30 50 per page
1
2 3 4 5
…
14