Space between Equations sub-sections

Discuss the formula editor

Space between Equations sub-sections

Postby hmluqman » Sun Oct 09, 2016 8:24 pm

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 RoryOF on Sun Oct 09, 2016 10:53 pm, edited 1 time in total.
Reason: Moved to more relevant forum [RoryOF, Moderator]
Openoffice 4.2 on windows 7
User avatar
hmluqman
 
Posts: 13
Joined: Tue Dec 29, 2015 1:15 am

Re: Space between Equations sub-sections

Postby MrProgrammer » Sun Oct 09, 2016 9:55 pm

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
OpenOffice 3.2.0 Build 9483 on Mac OS X 10.9.5.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Volunteer
 
Posts: 3265
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Space between Equations sub-sections

Postby acknak » Sun Oct 09, 2016 10:52 pm

You can also use ~ and ` for regular and thin spaces.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22758
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Space between Equations sub-sections

Postby keme » Mon Oct 10, 2016 5:14 pm

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
User avatar
keme
Volunteer
 
Posts: 2785
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests