Not signed in (Sign In)

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Site Tag Cloud

2-category 2-category-theory abelian-categories adjoint algebra algebraic algebraic-geometry algebraic-topology analysis analytic-geometry arithmetic arithmetic-geometry book bundles calculus categorical categories category category-theory chern-weil-theory cohesion cohesive-homotopy-type-theory cohomology colimits combinatorics complex complex-geometry computable-mathematics computer-science constructive cosmology deformation-theory descent diagrams differential differential-cohomology differential-equations differential-geometry digraphs duality elliptic-cohomology enriched fibration foundation foundations functional-analysis functor gauge-theory gebra geometric-quantization geometry graph graphs gravity grothendieck group group-theory harmonic-analysis higher higher-algebra higher-category-theory higher-differential-geometry higher-geometry higher-lie-theory higher-topos-theory homological homological-algebra homotopy homotopy-theory homotopy-type-theory index-theory integration integration-theory k-theory lie-theory limits linear linear-algebra locale localization logic mathematics measure-theory modal modal-logic model model-category-theory monad monads monoidal monoidal-category-theory morphism motives motivic-cohomology nforum nlab noncommutative noncommutative-geometry number-theory of operads operator operator-algebra order-theory pages pasting philosophy physics pro-object probability probability-theory quantization quantum quantum-field quantum-field-theory quantum-mechanics quantum-physics quantum-theory question representation representation-theory riemannian-geometry scheme schemes set set-theory sheaf sheaves simplicial space spin-geometry stable-homotopy-theory stack string string-theory superalgebra supergeometry svg symplectic-geometry synthetic-differential-geometry terminology theory topology topos topos-theory tqft type type-theory universal variational-calculus

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
    • CommentRowNumber1.
    • CommentAuthorjamievicary
    • CommentTimeMar 18th 2016
    • (edited Mar 18th 2016)

    On an nLab page, I want to make a commutative diagram whose nodes are PNGs. The obvious way to do this would be to have an array environment, and put images with the ! [ AltText ] (URL) syntax in some of the array locations. But embedding an image like this doesn’t seem to work in a math environment. Any ideas?

    • CommentRowNumber2.
    • CommentAuthorRodMcGuire
    • CommentTimeMar 18th 2016

    Well, iTex allows you to include SVG inside math, and svg allows you to display PNGs so you might be able to hack it that way.

    It used to be that MathJax would barf on such constructions which meant you could only view them in Firefox. I just checked one old example which caused Chrome problems and it now seems to work. To see how its done, look at the source for the first figure in:

    https://ncatlab.org/nlab/revision/unit+of+an+adjunction/7

    Strangely that figure is now messed up in Firefox, so this sort of hack for PNGs might not work in Firefox.

    If I had the time, I might test this out in the sandbox. Can you give a specific example (with hosted PGNs) of something similar to what you want?

    • CommentRowNumber3.
    • CommentAuthorRodMcGuire
    • CommentTimeMar 21st 2016

    Just for the record, here are some example nLab pages with figures that contain mixed math and SVG that display correctly in Firefox (MathML) but not in Chrome (MathJax).

    . https://ncatlab.org/nlab/revision/homotopy+coherent+diagram/18

    . https://ncatlab.org/nlab/revision/associahedron/22