Math plugin #12273008/HEAD / v100 |
1Math PluginThis page demonstrates the math plugin with its parameters, syntax and other details.Math plugin is capable of rendering mathematical formulas in wiki. These formulas 1.1Supported LaTeX CommandsThe plugin renders the LaTeX commands with MathJax 2.7.7. For the supported LaTeX commands, see https://docs.mathjax.org/en/v2.7-latest/tex.html#supported-latex-commands 1.2Math Plugin Parameters
![]() "latexPlugin" : { "defaultFontSizePx" : 24 } The default, as well as the minimum, value for defaultFontSizePx is 12. Individual font size settings on the plugin markup level overrides the global setting, therefore, the size can be less than 12 px.
Deprecated parameters (not processed):
1.3Inline Mathematics Expressions1.3.1Syntax for Inline MathWhen [{Math a \ne 0 }]
there are two solutions to [{Math ax^2 + bx + c = 0 }]
Rendered When
there are two solutions to
1.3.2Alternative SyntaxInline math mode delimiters \(...)\ or $...$ can be used, however, are not necessary. The preferred syntax does not contain any start-stop commands.
[{Math \(E=mc^2\) }]
[{Math $E=mc^2$ }] 1.4Centered EquationSyntax for centered equations:
[{Math align='center' x = {-b \pm \sqrt{b^2-4ac} \over 2a}. }]
1.5Display Style SyntaxDisplay style delimiters are not processed, and are rendered as inline style. Use the align='center' syntax to achieve display (centered) style.
\[...\] or $$...$$
[{Math \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}\] }]
[{Math $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$ }] \begin{equation} works, but is rendered as inline math:
[{Math \begin{equation} e^{\pi i} + 1 = 0 \end{equation} }]
1.6Changing Font SizeBy default, the math plugin uses 12 px font size, however, this value can be changed by modifying the fontsize attribute. The unit is pixels.
[{Math fontsize='32' align='center' \frac{a\bcancel{b}}{\bcancel{b}}=a }] [{Math fontsize='32px' align='center' \ce{ C6H5-CHO } }]
1.7Loading Text from a FileFiles in .txt format can be uploaded to the Documents page of the relevant project and linked with their ids to the LaTeX plugin. Use only one equation without control characters. [{Math id='12345' }] |
Fast Links
![]() codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, and help us understand your interests and provide more personalized services to you, both on this website and through other media. With your permission, we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server to improve the Codebeamer user experience.