-
not serious 100`\,`{=latex}\textcelsius. is stressful. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This is the standard way to escape these symbols in markdown. In markdown, If you're trying to include raw LaTeX to be passed through to LaTeX output, then using the raw attribute as you do is the way to go. If that's unergonomic, you could consider using a Lua filter to make what you're doing easier. Or, e.g., if you always want |
Beta Was this translation helpful? Give feedback.
-
Switching to unicode like 100° (U+00B0) or 100℃ (U+2103) may also reduce the need for escaping somewhat... |
Beta Was this translation helpful? Give feedback.
-
Oh I forgot that I can define latex macro in pandoc! Pandoc realizes that it is latex code and never remove the escape. And yes pandoc automatically includes unicode-math so I can use unicode characters and it makes the source document readable. All problem was solved. Thank you very much! |
Beta Was this translation helpful? Give feedback.
This is the standard way to escape these symbols in markdown. In markdown,
\,
means exactly the same as,
.If you're trying to include raw LaTeX to be passed through to LaTeX output, then using the raw attribute as you do is the way to go.
If that's unergonomic, you could consider using a Lua filter to make what you're doing easier. Or, e.g., if you always want
\,
before\textcelsius
, then define a new macro\mytextcelsius
that does both and use this.