Latex Paragraph Spacing: What Command To Use?

  • Context: LaTeX 
  • Thread starter Thread starter Charles Link
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the issue of paragraph spacing in LaTeX, particularly focusing on commands that can be used to create spaces between paragraphs. Participants explore the functionality of LaTeX in the context of recent updates and the behavior of MathJax.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes that a previously used method for adding space between paragraphs no longer works with the latest LaTeX version.
  • Another participant suggests that line breaks are ignored within the LaTeX environment and proposes ending the environment to add normal line breaks.
  • Some participants mention that MathJax v3 has not implemented line breaks yet, referencing an issue on GitHub and indicating that a fix may not be forthcoming until next year.
  • A later reply reiterates the issue with line breaks in MathJax and suggests using the command \displaylines to achieve the desired formatting, claiming it works.
  • One participant expresses satisfaction with a solution involving hitting the "Enter" button multiple times to create space.

Areas of Agreement / Disagreement

Participants express varying experiences with paragraph spacing in LaTeX, and while some solutions are proposed, there is no consensus on a definitive command or method that resolves the issue universally.

Contextual Notes

Limitations include the dependency on the specific version of LaTeX and MathJax being used, as well as unresolved issues regarding line breaks in the MathJax environment.

Charles Link
Science Advisor
Homework Helper
Insights Author
Gold Member
2025 Award
Messages
5,997
Reaction score
3,137
Perhaps up to a year ago, I used to be able to get a space between paragraphs with #" "# "\ "\ "#" "#". That no longer works with the latest Latex version. What command can I use to get a space between paragraphs?
 
  • Like
Likes   Reactions: Wrichik Basu
Physics news on Phys.org
It seems to ignore all line breaks within the LaTeX environment. You can end the LaTeX environment, add normal line breaks and begin a new LaTeX formula.
$$a=b$$
$$c=d$$
 
  • Like
Likes   Reactions: Charles Link
Wrichik Basu said:
It seems that v3 of MathJax hasn't implemented line breaks yet. See this issue: https://github.com/mathjax/MathJax/issues/2312

And it seems that this will not be fixed before next year: see this comment from the above issue.
A comment from the same person there suggested that using
\displaylines{x = a + b \\\ y = b + c} would work ##-##
$$\displaylines{x = a + b \\ y = b + c}$$ ##-## apparently it does.
 
  • Like
Likes   Reactions: Wrichik Basu
mfb said:
It seems to ignore all line breaks within the LaTeX environment. You can end the LaTeX environment, add normal line breaks and begin a new LaTeX formula.
$$a=b$$
$$c=d$$
Thanks. This is what I needed. Hitting the "Enter" button a couple of times works. :)
 
  • Like
Likes   Reactions: berkeman

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K