Quantcast
  • Register
PhysicsOverflow is a next-generation academic platform for physicists and astronomers, including a community peer review system and a postgraduate-level discussion forum analogous to MathOverflow.

Welcome to PhysicsOverflow! PhysicsOverflow is an open platform for community peer review and graduate-level Physics discussion.

Please help promote PhysicsOverflow ads elsewhere if you like it.

News

New printer friendly PO pages!

Migration to Bielefeld University was successful!

Please vote for this year's PhysicsOverflow ads!

Please do help out in categorising submissions. Submit a paper to PhysicsOverflow!

... see more

Tools for paper authors

Submit paper
Claim Paper Authorship

Tools for SE users

Search User
Reclaim SE Account
Request Account Merger
Nativise imported posts
Claim post (deleted users)
Import SE post

Users whose questions have been imported from Physics Stack Exchange, Theoretical Physics Stack Exchange, or any other Stack Exchange site are kindly requested to reclaim their account and not to register as a new user.

Public \(\beta\) tools

Report a bug with a feature
Request a new functionality
404 page design
Send feedback

Attributions

(propose a free ad)

Site Statistics

146 submissions , 123 unreviewed
3,953 questions , 1,403 unanswered
4,889 answers , 20,761 comments
1,470 users with positive rep
506 active unimported users
More ...

Can we install Latex packages for making commutative diagrams?

+ 2 like - 0 dislike
5168 views

In the comment of an answer of this post: When can we take the Brillouin zone to be a sphere? , I tried to make a commutative diagram out of latex codes, but it seems we don't have the packages yet, can we install them?

"amscd" package codes is the one I used in the comment, it is simple but can only generate rectangular diagrams.

"tikz" package is much more powerful, but I haven't learn it.

Can we install both?

Update: Thanks to dimension10's answer, I realize it is a matter of MathJax, and there are versions of MathJax that support amscd, but no version supports tikz, see this post and this post.  It seems our MathJax is below version 2.2 since my codes wouldn't get displayed as diagrams.

The rationale of asking for this is that it makes much less collective efforts to communicate, one user posts a diagrams, another user can just extract the codes and modify it, which is frequently needed in a discussion. 

asked Jun 2, 2014 in Feature Request by Jia Yiyang (2,505 points) [ revision history ]
retagged Jun 2, 2014 by dimension10

Since we are using the latest MathJaX version (our MathJaX snippet actually just links to the latest JS for MathJaX, so we will always be using the latest version!), and AMScd can be used, and TikZ is incompatible with MathJaX, I'm marking this as status-featureexists. 

2 Answers

+ 0 like - 0 dislike

Sorry, I don't think this is possible. 

PhysicsOverflow, like Stack Exchange and most other sites, uses MathJaX for mathematical rendering. We cannot install packages, because MathJax isn't actually LaTeX, it's just a script which mimicks LaTeX in HTML webpages. 

Maybe a viable option would be to create the drawing offline, export to SVG, and embed the SVG file in the post?  

answered Jun 2, 2014 by dimension10 (1,950 points) [ no revision ]

Maybe I've used the wrong terminology, sorry. But clearly SE at least supports displaying diagrams written in "amscd", so I guess it can be done by mathjax somehow?

I did find this post on math SE, it seems mathjax 2.2 beta (and supposedly any newer version) supports displaying "amscd"

and I guess there is not yet any version for mathjax taking care of tikz package, see here

+ 0 like - 0 dislike

We are using the latest MathJaX version, and I was wrong that AMScd doesn't work. It does, see here:

http://physicsoverflow.org/5811/sandbox?show=10232#a10232

answered Jun 2, 2014 by dimension10 (1,950 points) [ no revision ]

Your answer

Please use answers only to (at least partly) answer questions. To comment, discuss, or ask for clarification, leave a comment instead.
To mask links under text, please type your text, highlight it, and click the "link" button. You can then enter your link URL.
Please consult the FAQ for as to how to format your post.
This is the answer box; if you want to write a comment instead, please use the 'add comment' button.
Live preview (may slow down editor)   Preview
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
If you are a human please identify the position of the character covered by the symbol $\varnothing$ in the following word:
p$\hbar$ysic$\varnothing$Overflow
Then drag the red bullet below over the corresponding character of our banner. When you drop it there, the bullet changes to green (on slow internet connections after a few seconds).
To avoid this verification in future, please log in or register.




user contributions licensed under cc by-sa 3.0 with attribution required

Your rights
...