3
votes
1answer
54 views

Equation causes overfull hbox

I have the following code, which causes an overfull line. I don't know how to fix this. Any ideas? \documentclass{elsarticle} \usepackage[math-style=TeX]{unicode-math} \usepackage{amsmath} ...
3
votes
1answer
126 views

How to combine paragraphs of text with equations using \shortintertext and 'align'

I commented that I'm solving problems to make a book of basic math (or precalculus). In the environment or region of solving an exercise I want to combine paragraphs of text (using \shortintertext) ...
5
votes
3answers
618 views

\addtolength{\leftskip}{2em} does not apply to equations in the paragraph

I have a paragraph which should be emphasized using left and right skips. Thereby I recognized that it simply ignores equations in this paragraph. Is this reasonable? \documentclass{article} ...
4
votes
1answer
168 views

Add \par only if last paragraph did not end with displayed math

Background: I have named "sections" (sections for rest of this question) which are conditionally displayed or suppressed based on parameters. To simplify the test case below, these are controlled by ...
3
votes
2answers
203 views

“Math paragraphs”: display a lot of small formulas, automatically placing line and page breaks

I have a lot of short formulas that I want to set out all together—short enough that usually two or three will fit on each line—so I would like to simply give all the formulas, and let TeX place the ...
1
vote
1answer
220 views

Automating the usage of \vspace{\abovedisplayshortskip} and \vspace{\abovedisplayskip}

I'm trying to replicate the space above the equation environment. Currently, I have to manually alternate between \vspace{\abovedisplayskip} and \vspace{\abovedisplayshortskip} depending on the ...
8
votes
6answers
2k views

Setting a single equation in a paragraph in a smaller font

I'm trying to figure out the best way of making a single equation just a little bit smaller. Of course, I could try and break up the equation into pieces and proceed that way, but I'd like to ...
5
votes
2answers
877 views

How do I embed equations in the text?

Let's say I have a text block like this: Within the field of texture analysis, a number of categories of methods exist, and even if we restrict ourselves to statistical methods, a large number ...
1
vote
2answers
679 views

Command for paragraph indentation after equations

I want to write two new commands \eqend and \eqcntd so that when I put the command at the end of an equations, The \eqend command puts a "." after the equation and forces the next paragraph to ...