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 ...
Celdor's user avatar
  • 8,468
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-\...
wipet's user avatar
  • 69.7k
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} \...
Zarko's user avatar
  • 290k
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 ...
Mico's user avatar
  • 490k
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{...
Werner's user avatar
  • 595k
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 ...
Mico's user avatar
  • 490k
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....
Ulrike Fischer's user avatar
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 ...
Mico's user avatar
  • 490k
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 #...
Manuel Cart's user avatar
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$. \...
Mico's user avatar
  • 490k
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 ...
egreg's user avatar
  • 1.1m
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 ...
Skillmon's user avatar
  • 56.4k
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{...
Zarko's user avatar
  • 290k
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 ...
Sebastiano's user avatar
  • 52.6k
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 ...
egreg's user avatar
  • 1.1m
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 ...
Mico's user avatar
  • 490k
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 ...
dexteritas's user avatar
  • 8,836
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 ...
lukeflo's user avatar
  • 1,108

Only top scored, non community-wiki answers of a minimum length are eligible