[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prevent multi-line reformatting of embedded calc results
From: |
Robert Pluim |
Subject: |
Re: Prevent multi-line reformatting of embedded calc results |
Date: |
Thu, 05 Nov 2020 11:43:57 +0100 |
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> Hello all,
>
> TL;DR: how do I control (or prevent) the formatting of the evaluated
> embedded Calc lines?
>
> I use embedded Calc quite a bit. In one of my use cases, I have a
> specific format expected for the lines as the resulting document is
> post-processed. In this case, I want all individual Calc expressions,
> including with the => results, to be constrained to a single line each.
>
> If the overall line ends up longer than the window is wide, Calc
> reformats to use multiple lines, breaking at obvious points. Normally,
> this would be quite desirable but, in my use case, it breaks the
> post-processing.
>
> I can make the window wider (I do have a very wide screen) but this is
> fragile as equations & results get updated automatically and I may not
> notice.
You could override 'math-format-nice-expr' to not do that.
Robert