[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Don't fill displayed equations
From: |
Timothy |
Subject: |
[PATCH] Don't fill displayed equations |
Date: |
Fri, 01 Oct 2021 01:20:05 +0800 |
User-agent: |
mu4e 1.6.5; emacs 28.0.50 |
Hi All,
If a displayed equation (`\[ ... \]') starts on its own line, I don’t think it
should be filled into the rest of the text. I.e.,
┌────
│ some nice text
│ \[
│ 1+1=2
│ \]
│ more text.
└────
should not become,
┌────
│ some nice text \[ 1+1=3 \] more text.
└────
While the above example may not look bad, with non-trivial equations
this can become quite messy.
As such, I have attached a patch which adds fill “cuts” around `\[' and
`\]', when `\[' occurs at the start of a line. This leaves the display equation
delimiters on their own line.
I think this motivation for this change is fairly clear, and so without feedback
I intend to push this in a few days, however I if anybody has comments on the
way
I’m currently implementing this, I’d like to hear your thoughts.
All the best,
Timothy
0001-org-Don-t-fill-displayed-equations-into-text.patch
Description: Text Data
- [PATCH] Don't fill displayed equations,
Timothy <=
- Re: [PATCH] Don't fill displayed equations, Timothy, 2021/09/30
- Re: [PATCH] Don't fill displayed equations, Nicolas Goaziou, 2021/09/30
- Re: [PATCH] Don't fill displayed equations, Timothy, 2021/09/30
- Re: [PATCH] Don't fill displayed equations, Timothy, 2021/09/30
- Re: [PATCH] Don't fill displayed equations, Nicolas Goaziou, 2021/09/30