Formatting output Math

Is there an easyish way of setting the vertical gap between lines? In the example, below the two lines render to close to eachother.

	f'(x) &= 4x + 24 - 24 \\
	&=  4x

1 answer

1 accepted


Try adding [<height>] as in the following example:

	f'(x) &amp;= 4x + 24 - 24 \\[5ex]
	&amp;=  4x


For the external renderer, add the following line to the end of the LaTeX header in the LaTeX Math configuration:


If you are using MathJax or the internal renderer, then unfortunately no global option is available at the moment. You are welcome to create an issue here:


The [5ex] does what I want but can't I do that globally?

align and align* seem to do the same thing - they both number if I have the anchor

Ok, I updated the answer for you. If using align does not add duplicate numbering, then it is probably because you are using the internal renderer, in which case don't worry about it.

Thanks, I'll create the issue because I use it all over the place and I never need one line to be hard up against another.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 4 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

26 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you