Page 1 of 1

[Solved] Upper & lower limits after closing square bracket

PostPosted: Sat Jan 20, 2018 12:00 pm
by ooswinton
I have attached the procedure I used to assign upper and lower limits to the closing square bracket (following the evaluation of an integral). The limits are inserted by adding ^4 and _1 to the formula.

ORIGINAL POST
I have no problem entering upper and lower limits to the integral (int) symbol.
However, after evaluating the integral, the expression should be in square brackets with the upper and lower limits after the closing bracket.
How do I use maths to enter these limits (from <>to <> does not work).

On the Libre office forum, I have seen the suggestion to use Isub and Isup but I cannot get this to work either.

Re: upper and lower limits after the closing square bracket

PostPosted: Sat Jan 20, 2018 1:19 pm
by Zizi64
Just a tip/guessing:

lsub_lsup.odt
(10.13 KiB) Downloaded 254 times


use an empty parameter for the lsub/lsup

Re: Upper and lower limits after the closing square bracket

PostPosted: Sat Jan 20, 2018 1:44 pm
by Lupp
You are right. The "from {} to {}" construct does only accept very few preceding elements (left opening of the construct).

I don't know if everywhere, but in some regions (among them Germany) at least, the standard notation for the evaluation of a definite integral based on an integrating function would require a more general use of "from {} to {}". It is not supported.

A workaround I used once in a while when I was not yet retired, was (given by a simple example here):
Code: Select all   Expand viewCollapse view
int from{-%pi over 4} to{%pi} sin( x) dx= left[{-cos(x)}right] matrix{""sup {%pi} ## " " ##"" sub {-%pi over 4}}
There may be complications in less simple (scaling) cases.

(Appendix:)
You may ask Giordon Stark how he did it here: https://www.quora.com/What-do-the-squar ... an?share=1.
Would you mind to link in your question or finding in the ask.libreoffice site here? Did Regina answer there?
Or was it the late (Sigh!!) libreofficeforum.org (much better than the askbot thing)?

Re: Upper and lower limits after the closing square bracket

PostPosted: Sat Jan 20, 2018 7:42 pm
by MrProgrammer
ooswinton wrote:However, after evaluating the integral, the expression should be in square brackets with the upper and lower limits after the closing bracket.
I presonally would use a vertical line instead of square brackets, which have other meanings.
int from{-%pi/4} to{%pi/4} cos(x) dx = left none sin(x) right rline rsup {+%pi/4} rsub {-%pi/4}

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.