The Equation (

) form object can display LaTeX-rendered symbols, such as equations.
The Settings window contains the following sections.
Enter the equation or mathematical expression to show in the Enter equation in LaTeX syntax field. The program displays a preview of the rendered LaTeX syntax after leaving the text field. Otherwise, preview it manually by clicking the
Refresh Equation Preview button (

). The default expression is
-\nabla \cdot (k \nabla u), which displays as:
In the Equation section header, use the
Insert Expression (

) and
Replace Expression (

) buttons to select predefined LaTeX expressions for vector operations, Greek letters, big operators, sets, logic, and text formatting that you can insert into the equation or add as the start of a new equation.
The need to specify the alignment is most obvious when working in the grid mode, as it controls how the form object is aligned in its grid cell. Aligning the form object can be useful in the sketch mode too, and you can then use the alignment tools on the Arrange menu in the
Form toolbar’s
Sketch section. When running the application in any client other than the Windows client, the form objects may not be positioned exactly as seen in the Application Builder. This is because the form objects may have a different size in other clients, giving them a slightly different positioning. Specifying the alignment ensures that the form objects are aligned as you want them to be in all clients.
The Width and
Height fields are unavailable because the dimensions of the equation are determined by the software.
Additionally, in the sketch mode, you can specify the absolute position of the equation using the Position x and
Position y fields. In the grid mode, you can position the object in the grid and see the grid position as the
Row,
Column,
Row span, and
Column span values.
Under Cell margin (in grid mode only), you can control the margins around the form object. By default, the margins are taken from the parent form. From the
Cell margin list, choose:
From the Text color list, select
Inherit (the default) to use the setting from the form it is located in. You can also select one of the predefined colors or select
Custom to choose a custom text color from the color palette.
The default font size for the equation text is Default size, which uses the font size from the
Forms node. If needed, choose or enter a font size (in points) in the
Font size combo box.
Under State, you can control the initial state of the equation when users run the application. By default, the equation is visible and enabled. Clear the
Visible or
Enabled check box if you want to make the initial state of the equation hidden or unavailable. You can then make it visible or enable it using a method. In the Form Editor, the state of the form object is indicated by a change in its appearance. Objects that are hidden become visible when selected in the Form Editor.