(zettel (meta (back "00001007030000 00001012920513") (backward "00001007030000 00001012920513") (box-number "1") (created "20220311173226") (forward "00001007031300 00001007050000 00001008000000 00001012920516") (modified "20230109105340") (published "20230109105340") (role "manual") (syntax "zmk") (tags "#manual #zettelmarkup #zettelstore") (title "Zettelmarkup: Math-mode Blocks")) (rights 4) (encoding "") (content "Math-mode blocks are used to enter mathematical formulas / equations in a display style mode.\nSimilar to a [[evaluation blocks|00001007031300]], the block content will be interpreted by either Zettelstore or an external software.\nThey begin with at least three dollar sign characters (\"\"''$''\"\", U+0024) at the first position of a line.\n\nYou can add some [[attributes|00001007050000]] on the beginning line of a verbatim block, following the initiating characters.\nA math-mode block supports the default attribute[^Depending on the syntax value.]: when given, all spaces in the text are rendered in HTML as open box characters (U+2423).\nIf you want to give only one attribute and this attribute is the generic attribute, you can omit the most of the attribute syntax and just specify the value.\nIt will be interpreted as a [[syntax|00001008000000]] value to evaluate its content.\nAlternatively, you could provide an attribute with the key \"\"syntax\"\" and use the value to specify the syntax.\nNot all syntax values are supported by Zettelstore.[^Currently: none.]\nExternal software might support several values via the [[sz encoding|00001012920516]].\n\nAny other character in this line will be ignored\n\nText following the beginning line will not be interpreted, until a line begins with at least the same number of the same characters given at the beginning line.\nThis allows to enter some dollar-sign characters in the text that should not be interpreted.\n\nFor example:\n`````zmk\n$$$$\n$$$\n$$$$\n`````\nwill be rendered in HTML as:\n:::example\n$$$$\n$$$\n$$$$\n:::\n\n`````zmk\n$$${-}\nThis is some\ntext with no \n real sense.\n$$$$\n`````\nwill be rendered as:\n:::example\n$$${-}\nThis is some\ntext with no \n real sense.\n$$$$\n:::\n\nIn the future, Zettelstore might somehow support mathematical formulae with a $$\\TeX$$-like syntax.\nUntil then,\n`````zmk\n$$$\n\\begin{align*}\n f(x) &= x^2\\\\\n g(x) &= \\frac{1}{x}\\\\\n F(x) &= \\int^a_b \\frac{1}{3}x^3\n\\end{align*}\n$$$\n`````\nis rendered as:\n:::example\n$$$\n\\begin{align*}\n f(x) &= x^2\\\\\n g(x) &= \\frac{1}{x}\\\\\n F(x) &= \\int^a_b \\frac{1}{3}x^3\n\\end{align*}\n$$$\n:::"))