We will be migrating from Ask to Discourse on the first week of August, read the details here

How to add space in TexMaths equation

Hi using LO Writer, I insert simple equation with TexMaths, eg.:

param = {alignc{1}} over {N_{rec}}


How can I pad blank space around (on both sides) of the equal sign ?

I checked the Latex doc but nothing (such as: \, or \; or \: ) seems to work.

EDIT: I confirm that LaTeX' "big space" or "thin space" do NOT work on my instance. I work on Archlinux with TexMaths 0.48 and LO 6.3.1.2

edit retag close merge delete

I just tried with TexMaths 0.48 and the "big space" \; works without problems.

( 2019-09-23 23:17:46 +0200 )edit

@RGB-es Thanks for the clarification. Deleted my answer.

( 2019-09-23 23:51:46 +0200 )edit

( 2019-09-24 09:34:44 +0200 )edit

Actually I don't understand the real question anymore and obviously others are confused now as well. Your "EDIT" still confirms that the question is about TexMaths and your latest comment states that my "LibreOffice-Math-related" answer worked for you. If that's true, to mention "TexMaths" must be considered a red herring. Just to be clear: My original answer was inspired by the code sequence of the question, which looked to me (though doing some LaTeX long time ago) purely as a Math markup (to be honest I oversaw Tex in TexMaths during first reading)

( 2019-09-24 10:51:20 +0200 )edit

@Opaque, my OP is factually correct and I use TexMaths v0.48 as mentioned. Why should TexMaths be a red herring ? A red herring for what ? Your solution works. T'is all. Tx.

( 2019-09-24 11:00:24 +0200 )edit

Great that you are not confused but I'm. My solution was a solution for Math and not for TexMaths (which I never worked with and I even don't know what it is exactly) and even the screenshot was from Math module. Anyway ...

( 2019-09-24 11:17:29 +0200 )edit

Sort by » oldest newest most voted

OOPS! Apologies, I disregarded TexMaths and answered for Math. Do you want me to delete my (faulty) answer?

Math is not TeX. Its markup language is different.

There are 3 spaces (from thinnest to widest):

• space (U+0020 SPACE)
• grave accent  (U+0060 GRAVE ACCENT)
• tilde ~ (U+007E TILDE)

When  and ~ are used, spaces around them are ignored. From experiment, using more than one ` (to enlarge spacing) leads to very strange results while this works well with ~.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

more