Any LaTeX experts out there that could help me?

I'm trying to get the following paragraph to work:

I've tried $)$, but that doesn't seem to get Vim to not complain about solo parens.

The trouble is that something in or above that section is causing this:

]! Missing $ inserted.
<inserted text>
l.145 ^^I\noindent\peppercarrotTextCharacter

(145 is where it's called in the peppercarrot.tex file).

What am I doing wrong?

@craigmaloney You can try `$\left. a \right)$`, this should stop LaTeX complaining about the solo parenthesis.

Also, looking at the code, I found 2 errors that resulted in a “missing $ inserted” error:

On Line 339, you have a backslash before a colon (`\:`), and on Line 2551 there are two underscores

When correcting these two problems, the projects compiles without problem (the bad parenthesis is not even a problem)

@n0m1s That did it. Thank you!

Is there a way to get it to not complain about the \: on 339?

@craigmaloney What do you expect from this command ?
As far as I know, there is no way to suppress this kind of error, but you might be able to achieve the same result another way ? 😀


@n0m1s I'm just trying to fix up things so they don't warn, and apparently one of the suggestions they made for how to do that is wrong. 😁

· · Web · 1 · 0 · 1

@craigmaloney I guess the suggestion was about the wrong space after the colon ?

To solve this, you need to place the backslash between the colon and the space (like this: `e.g.:\ your`)

@n0m1s Ah, I must have misunderstood the warning. That worked. Thanks again!

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!