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

Some symbols are not correctly rendered, for example, - is rendered as x #23

Open
leozhangGit opened this issue Aug 26, 2023 · 3 comments

Comments

@leozhangGit
Copy link

                \begin{tikzpicture}
                \draw[->] (-5,0) -- (5,0) node[right] {$x$};
                \draw[->] (0,-5) -- (0,5) node[above] {$y$};
                \foreach \x in {-4,-3,-2,-1,1,2,3,4} 
                    \draw (\x cm,1pt) -- (\x cm,-1pt) node[anchor=north] {$\x$};
                \foreach \y in {-4,-3,-2,-1,1,2,3,4} 
                    \draw (1pt,\y cm) -- (-1pt,\y cm) node[anchor=east] {$\y$};
                \draw[domain=-2:3,smooth,variable=\x,blue] plot ({\x},{2*\x - 4});
                \end{tikzpicture}

image

@leozhangGit
Copy link
Author

Also this case: "\node at (2, -5) {$y=2x-4$}".

@AhmedSalih3d
Copy link

Did you ever find a fix?

The same is true for Omega, doesnt render:

image

<script type="text/tikz">
  \begin{tikzpicture}
      % Draw dashed zero line
    \draw [dashed, thick] (-1,0) -- (1,0) node {$\Omega$};
    \draw [dashed, thick] (-1,-4) -- (1,-4) node {this renders};
  \end{tikzpicture}
</script>

A lot of the greek symbols this happens with.

@leozhangGit
Copy link
Author

leozhangGit commented Feb 27, 2024 via email

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

No branches or pull requests

2 participants