Page 1 of 1

[Solved] Space between Equations sub-sections

Posted: Sun Oct 09, 2016 8:24 pm
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 ?

Re: Space between Equations sub-sections

Posted: Sun Oct 09, 2016 9:55 pm
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.

Re: Space between Equations sub-sections

Posted: Sun Oct 09, 2016 10:52 pm
by acknak
You can also use ~ and ` for regular and thin spaces.

Re: Space between Equations sub-sections

Posted: Mon Oct 10, 2016 5:14 pm
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