[Solved] Space between Equations sub-sections

Discuss the formula editor
Post Reply
User avatar
hmluqman
Posts: 14
Joined: Tue Dec 29, 2015 1:15 am

[Solved] Space between Equations sub-sections

Post by hmluqman »

Hello

I am creating a equation using formula editor. I want to create something like this:
"p(x_i) = y_i _______________________ for all i = 1 to 10."

I want to create space instead of series of underscores between equation and condition. How can I do that ?
Last edited by MrProgrammer on Tue Nov 03, 2020 12:34 am, edited 2 times in total.
Reason: Moved to more relevant forum [RoryOF, Moderator]; Tagged ✓ [Solved]
Openoffice 4.2 on windows 7
User avatar
MrProgrammer
Moderator
Posts: 4894
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Space between Equations sub-sections

Post by MrProgrammer »

hmluqman wrote:I am creating a equation using formula editor
This seems to be a question for the Math forum, not the Writer forum.
p(x_i) = y_i "               for all i = 1 to 10."
Math syntax
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.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Space between Equations sub-sections

Post by acknak »

You can also use ~ and ` for regular and thin spaces.
AOO4/LO5 • Linux • Fedora 23
User avatar
keme
Volunteer
Posts: 3699
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Space between Equations sub-sections

Post by keme »

If you want the spacing to match the width of a string of underscores, you can use the "phantom" modifier:

Code: Select all

p(x_i) = y_i  phantom "________" forall i in  lbrace 1 dotslow 10 rbrace 
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
Post Reply