9
votes
Accepted
How to correctly separate paragraphs with a blank line
LaTeX separates paragraphs every time you add at least one empty line between texts. Then, how paragraphs are formatted depends on you. Here's a good helpful website: How to change paragraph spacing ...
5
votes
Accepted
Automatically Indent the Last Line of a Statement a Prescribed Amount
You can define and use the macro \indentlast:
\def\indentlast#1#2{\par
\setbox0=\vbox{%
\parfillskip=#1 plus1fil \relax
\noindent #2\par
}%
\ifdim\prevdepth>-1000pt \kern-\...
5
votes
Accepted
How to split a long set
To my opinion is your text better readable, if long sets are written in display math form:
For this I use aligned* and multlined of mathtools package:
\documentclass[a4paper,12pt]{article}
\...
4
votes
Accepted
Cannot fit align environment into page even with multiline* or \resizebox
I think you need to break up line 3 into three parts and line 4 into two parts. To simplify the aligning of the three parts of the old line 3, I'd embed the material to the right of the integral ...
4
votes
I'm having a problem with sentences breaking when writing input and output in a latex algorithm
You can leave a blank line between your Input and Output statements, which sets the proper alignment:
\documentclass[twocolumn]{article}
\usepackage{algorithm}
\usepackage{algorithmic}
\begin{...
3
votes
How to split a long set
I doubt that there's a general rule that answers your question.
There will be cases for which it's clearly preferable to put the math material containing commas out of the running text and into a ...
3
votes
Accepted
Long url doesn’t break in theorem optional argument (under amsthm, hyperref, xurl)
The problem is that the url is math. The theorem code stores the optional argument in a box that it then unwraps later but TeX performs some optimization in this case and omits the implicite penalties....
3
votes
Long url doesn’t break in theorem optional argument (under amsthm, hyperref, xurl)
You are under no obligation to use the optional argument of the theorem environment to place the URL string.
This approach will have to be modified if the URL string contains certain TeX-special ...
3
votes
How to force a line break right after the name of the proof environment?
I suppose you use amsthm package,
In this package proof is defined as :
\newenvironment{proof}[1][\proofname]{\par
\normalfont
\topsep6\p@\@plus6\p@ \trivlist
\item[\hskip\labelsep\itshape
#...
3
votes
Accepted
How to force a line break right after the name of the proof environment?
Something like this?
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{amsthm}
\begin{document}
\begin{proof} \hfill
\noindent
$G1 (a * b) * c = a * (b * c) \forall a, b, c \in G$.
\...
3
votes
Cannot fit align environment into page even with multiline* or \resizebox
You need to break the long lines, I suggest to use two aligned inner environments. The staggering will tell your readers how to read the formulas.
Avoid ^{\prime} not because it's wrong, but because a ...
2
votes
Accepted
Is it possible to programmatically add line breaks inside \makecell?
Using L3's \clist_map_inline:nn instead of forarray this works as intended. The issue is that each line in \makecell forms a cell in a nested tabular, and hence is a group. It seems the loop of ...
2
votes
Cannot fit align environment into page even with multiline* or \resizebox
With use of macro \MoveEqLeft and math environment aligned, both defined in the mathtools package:
\documentclass{article}
%--------------- show page layout. don't use in a real document!
\usepackage{...
2
votes
How to force a line break right after the name of the proof environment?
Like this?
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{amsthm,amsmath,amssymb}
\begin{document}
\begin{proof}\ \\
$G1 \quad (a * b) * c = a * (b * c), \quad \forall a, b, c \in ...
1
vote
Accepted
Breaking Long Radical Over Multiple Lines
Rather than splitting the contents of the radical I'd use a fractional exponent. By nesting split inside align, you get the equation numbers centered between the lines.
Don't use pxfonts, that's ...
1
vote
Breaking Long Radical Over Multiple Lines
Instead of creating superlong lines (vinculi?) which span two lines, I suggest you switch to [...]^{1/2} notation, with the opening bracket on one line and the ]^{1/2} term on the other.
I would also ...
1
vote
Accepted
First tag of nested description environment with newline style wont appear on new line
Adaptations
\setdescription is deprecated, replaced by \setlist[description,<levels>]{<format>}
defined command \directenv, that can be used, if there is no text following, but directly ...
1
vote
Accepted
Changing \autocite format to include page number
Since its not fully clear which biblatex style you're using, here is a simple solution for style=authoryear. But it may also work with other styles, depending on the definition of some macros.
Here a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
line-breaking × 2792tables × 221
math-mode × 195
hyphenation × 185
spacing × 173
equations × 135
paragraphs × 123
listings × 103
urls × 96
horizontal-alignment × 87
biblatex × 83
macros × 80
formatting × 78
page-breaking × 69
align × 66
boxes × 60
sectioning × 58
tikz-pgf × 56
hyperref × 56
lists × 54
indentation × 54
amsmath × 50
line-spacing × 50
warnings × 50
bibliographies × 48