Skip to content

Unknown environment: equation at position 1:1 in preview #3201

Answered by PHPirates
domen-thcs asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know about the exception, but I can't preview that either, I guess because jlatexmath doesn't have the equation environment loaded.
As a fallback option you can use the roundabout way using inkscape, see https://hannah-sten.github.io/TeXiFy-IDEA/tool-windows.html#equation-preview

This works for me:

\documentclass{article}
%! Begin preamble = math
\usepackage{amsmath}
%! End preamble = math

\begin{document}
    
    \begin{eqnarray}
        \tilde{g}{tot,i} = \tilde{g}{s,i} + \sum_{j} P_{rel,i,j} \tilde{g}_{mod,i,j}
    \end{eqnarray}

\end{document}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Lichtschalter-5000
Comment options

@PHPirates
Comment options

@PHPirates
Comment options

Answer selected by PHPirates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3185 on July 28, 2023 11:38.