Tikz at PF: \begin{tikzpicture} Help

  • Thread starter Thread starter bob012345
  • Start date Start date
  • Tags Tags
    Work
Click For Summary
SUMMARY

The forum discussion centers around the challenges of using TikZ within the PF platform, which utilizes MathJax instead of LaTeX, limiting the availability of certain libraries. Users cannot directly render TikZ diagrams in PF as they could on the MHB site, which had a dedicated server for converting TikZ code to images. Participants suggest using external tools like Overleaf for compiling TikZ code into PDFs, and mention LyX as a LaTeX-based word processor that supports TikZ but may slow down text rendering.

PREREQUISITES
  • Understanding of TikZ syntax and commands
  • Familiarity with MathJax and its limitations compared to LaTeX
  • Basic knowledge of LaTeX document preparation
  • Experience with PDF generation tools like Overleaf or LyX
NEXT STEPS
  • Explore TikZ documentation for advanced diagram creation
  • Learn how to use Overleaf for compiling LaTeX documents
  • Investigate the differences between MathJax and LaTeX for rendering mathematical content
  • Experiment with LyX for integrating TikZ into LaTeX documents
USEFUL FOR

Mathematicians, educators, and researchers who need to create and share TikZ diagrams, as well as users transitioning from MHB to PF looking for alternative methods to render TikZ content.

bob012345
Gold Member
Messages
2,307
Reaction score
1,030
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.
 
  • 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?
I believe they had tikz, yes, and posts using it are most likely ones from there.
 
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
 
  • Like
Likes   Reactions: bob012345

Similar threads

Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • Poll Poll
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 0 ·
Replies
0
Views
6K
Replies
2
Views
2K