How to add a SPACE into the MOODLE Equation Editor

Hello, and welcome back! Chris Richter here from Ricoshae.com. Recently, I received a question that stumped me at first: How do you add spaces inside the content in the Moodle equation editor? It’s a great question, and one I hadn’t thought of before. In this blog post, I’ll walk you through the equation editor, explain the dilemma, and show you a simple solution.

The Equation Editor: A Quick Overview

The Moodle equation editor is a powerful tool that lets you add mathematical equations to your content. Whether you’re working in a quiz, a lesson, or just a regular page, this editor can help you insert complex equations that are formatted properly.

To access the equation editor, you simply need to:

  1. Add content to your page.
  2. Click the extra arrow (usually next to the text editor) and choose the equation editor option.

This opens up a handy interface where you can create equations like this:

  • A / B + C

You can easily fill in the values and it will show up in a neat, properly formatted equation. For example, once you’ve filled in all your numbers, it might look like this:

  • A / B + C = D

At the bottom, you’ll see a preview of how the equation will look when it’s displayed. And just for clarity, the little arrow in the editor shows you where your cursor is, making it easier to navigate.

The Dilemma: Adding Spaces in the Equation

Here’s where the issue arises. Let’s say you want to add some space in between parts of your equation for better readability. For example, after writing an equation like “A / B + C = D,” you might want to add a space between D and the word “meters,” like so: D meters. But when you try to add spaces using the standard space bar, Moodle simply ignores them.

If you type extra spaces in the editor, they won’t show up in the equation preview. In fact, if you save and display the equation, it will still show D meters as one continuous block, making it harder to read. This can be particularly confusing when you want to clarify units or add additional explanations.

The Solution: Use \space for Proper Spacing

So, how do we fix this? The solution is pretty simple. To insert a space in the equation editor, you need to use the \space command. Here’s how:

  1. Open the equation editor.
  2. Remove any unnecessary spaces (since Moodle will ignore them).
  3. Use \space to insert the space where needed.

For example, if you want to add space between D and meters, you should write:

  • D \space meters

This will correctly display a space between D and meters in the preview. You can also add multiple spaces by writing \space more than once, like:

  • D \space \space meters

Final Thoughts

After making this adjustment, when you save and display your content, the equation will now be much easier to read. For instance, D meters will have a visible space between the number and the unit, making it clear and readable. No more awkward squishing!

This simple trick can really enhance the clarity of your mathematical content in Moodle and ensure that your equations look just right. Hopefully, this little tip will make using the Moodle equation editor a bit easier for you!

Thanks for reading, and I’ll catch you in the next video!