Skip to end of banner
Go to start of banner

Configuration (Cloud)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This article will walk you through the process of configuring the LaTeX Math application.

Configuring LaTeX Math Application

You can configure the Math block template as per your requirement. To change the application configuration, go to Manage Apps > User-installed apps > LaTeX Math > Configure. The configuration page for the LaTeX Math application is displayed. The following table provides you with details of the parameters:

Parameter

Default

Description

PDF Scale

125

When rendering Maths in PDF format, LaTeX Math will apply this scale.

Caption Template

({number})

The caption numbers in Math Blocks and Math Block references displayed using this template.

Placeholders: {number}

Math Block Template

<table class="latexmath-mathblock" style="width: 50%; margin-left: 0; margin-right: 0; padding: 0 10px;">
  <tbody style="border: none;">
  <tr>
    <td nowrap class="latexmath-numbering" style="border: none; vertical-align: middle; width: 35px;">
      {caption}
    </td>
    <td nowrap class="latexmath-{alignment}" style="border: none; vertical-align: middle; text-align: {alignment};">
      {imgtag}
    </td>
  </tr>
  </tbody>
</table>

The Math Block macros are displayed using this template. You can change the template as per your requirement.

Placeholders: {caption}, {imgtag}, {alignment}

LaTeX Macros

Custom LaTeX macros can be defined and used in all LaTeX Math macros.

Example:

\def\E#1{E = mc^{#1}}

The above will render the following output for \E{2}

E=mc^2

Help us improve the product

Enabled

  • No labels