Tikz at PF: \begin{tikzpicture} Help

  • Thread starter Thread starter bob012345
  • Start date Start date
  • Tags Tags
    Work
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 4K views
bob012345
Gold Member
Messages
2,392
Reaction score
1,101
TL;DR
I cannot see any examples of tikz working.
I have this line;

\begin{tikzpicture} \mobiusstrip{1}{0.5} \end{tikzpicture}

What do I do to make it work? Thanks.
 
Physics news on Phys.org
bob012345 said:
TL;DR Summary: I cannot see any examples of tikz working.

I have this line;

\begin{tikzpicture} \mobiusstrip{1}{0.5} \end{tikzpicture}

What do I do to make it work? Thanks.
PF uses MathJax and not LaTeX. So not all libraries are available, and cannot be loaded either.
 
Reply
  • Like
Likes   Reactions: bob012345
Was it part of the MHB site that was merged?
 
IDK. It has been MathJax here since I joined. I have a tex editor running in parallel in case I want to write mathematical stuff that is more than a simple line. I rather copy, paste and finally adjust it than write it here. That means I have all environments that I want available and could copy tikz diagrams via screenshots.
 
bob012345 said:
Was it part of the MHB site that was merged?
fresh_42 said:
IDK. It has been MathJax here since I joined.
MHB had an implementation of LaTeX that allowed tikz to be rendered in the browser:
I like Serena said:
MHB had a dedicated server that converted TikZ code to pictures on the fly.

We don't have that here in PF. You can, however, always render the tikz on your system and post a picture of the result.
 
bob012345 said:
TL;DR Summary: I cannot see any examples of tikz working.

I have this line;

\begin{tikzpicture} \mobiusstrip{1}{0.5} \end{tikzpicture}

What do I do to make it work? Thanks.
If all you want is a compiler to make a pdf then I'd suggest looking into Overleaf. Now, I've been using a LaTeX based word processor, LyX,, that also incorporates TikZ, though to save some time I usually use it to generate pdfs as it slows down the rendering time for the text.

-Dan
 
Reply
  • Like
Likes   Reactions: bob012345