## [Solved] Space between Equations sub-sections

Discuss the formula editor

### [Solved] Space between Equations sub-sections

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

hmluqman

Posts: 14
Joined: Tue Dec 29, 2015 1:15 am

### Re: Space between Equations sub-sections

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 on MacOS 10.14.6.   The locale for any menus or Calc formulas in my posts is English (USA).

MrProgrammer
Moderator

Posts: 3897
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

### Re: Space between Equations sub-sections

You can also use ~ and ` for regular and thin spaces.
AOO4/LO5 • Linux • Fedora 23

acknak
Moderator

Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

### Re: Space between Equations sub-sections

If you want the spacing to match the width of a string of underscores, you can use the "phantom" modifier:
Code: Select all   Expand viewCollapse view
`p(x_i) = y_i  phantom "________" forall i in  lbrace 1 dotslow 10 rbrace `
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14

keme
Volunteer

Posts: 3391
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway