Skip to content

DOC: Make LaTeX math definitions LaTeX compatible#80

Closed
mgeier wants to merge 1 commit into
masterfrom
latex-definitions
Closed

DOC: Make LaTeX math definitions LaTeX compatible#80
mgeier wants to merge 1 commit into
masterfrom
latex-definitions

Conversation

@mgeier

@mgeier mgeier commented Feb 10, 2019

Copy link
Copy Markdown
Member

Our math definitions cause problems when creating LaTeX output because they are not actually LaTeX compatible, they just happen to work with MathJax.

There are two reasons why this doesn't work in LaTeX:

  • the definitions are included multiple times, leading to \newcommand complaining about already defined macros
  • While in MathJax we need to be in math mode for anything to work, in LaTeX the \newcommand doesn't work in math mode.

My work-around is admittedly a bit non-obvious, does anyone have a better idea how to fix this?

mgeier added a commit that referenced this pull request Feb 11, 2019
An alternative to #80 and #81.
@mgeier mgeier mentioned this pull request Feb 11, 2019
@mgeier

mgeier commented Feb 28, 2019

Copy link
Copy Markdown
Member Author

I've merged #90 instead.

@mgeier mgeier closed this Feb 28, 2019
@mgeier
mgeier deleted the latex-definitions branch February 28, 2019 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant