Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom proof environments from LaTeX #1606

Open
eugeniokisho opened this issue Oct 28, 2024 · 1 comment
Open

Custom proof environments from LaTeX #1606

eugeniokisho opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement New feature or request LaTeX

Comments

@eugeniokisho
Copy link

The following exemplaratory command defined the original LaTex document is not taken over by curvenote after deploying with CLI:

    \newcounter{Hypothesis}
    \setcounter{Hypothesis}{1}
    \newcommand{\Hypothesis}[0] { \textbf{Hypothesis \arabic{Hypothesis}: } }
    \renewcommand*{\Hypothesis} { \textbf{Hypothesis \arabic{Hypothesis}: } \addtocounter{Hypothesis}{1} 

Same issue if instead using:

\usepackage{amsthm}
\newtheorem{hypothesis}{Hypothesis}
\begin{document}
  Unnumbered theorem-like environments are also possible.
\begin{hypothesis}
This is my hypothesis
\end{hypothesis}
@eugeniokisho
Copy link
Author

as discussed with Rowan Cocket from Curvenote

@rowanc1 rowanc1 changed the title LaTex defined commands to Curvenote Custom proof environments from LaTeX Oct 29, 2024
@rowanc1 rowanc1 added enhancement New feature or request LaTeX labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request LaTeX
Projects
None yet
Development

No branches or pull requests

2 participants