FiguresFigures |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Figures should in particular be included to examples to discuss the problems and results of the respective model. The library developers are yet encouraged to add figures to the documentation of other components to support the understanding of the users of the library.
src
and an alt
attribute defined to be HTML compliant.
The PNG
files should be placed in a folder which exactly represents the package structure.
This example shows how an illustration should be embedded in the Example PID_Controller of the Blocks package.
<img src="modelica:///Modelica.UsersGuide.Conventions.Documentation.Format.Figures/"modelica://Modelica/Resources/Images/Blocks/PID_controller.png" alt="PID_controller.png">
This is a simple example of a technical figure with caption.
<table border="0" cellspacing="0" cellpadding="2"> <caption align="bottom">Caption starts with a capital letter</caption> <tr> <td> <img src="modelica:///Modelica.UsersGuide.Conventions.Documentation.Format.Figures/"modelica://Modelica/Resources/Images/Blocks/PID_controller.png" alt="PID_controller.png"> </td> </tr> </table>
To refer to a certain figure, a figure number may be added. In such case the figure name (Fig.) including the figure enumeration (1,2,...) have to be displayed bold using <strong>
and </strong>
.
The figure name and enumeration should look like this: Fig. 1:
Figures have to be enumerated manually.
<table border="0" cellspacing="0" cellpadding="2"> <caption align="bottom"><strong>Fig. 2:</strong> Caption starts with a capital letter</caption> <tr> <td> <img src="modelica:///Modelica.UsersGuide.Conventions.Documentation.Format.Figures/"modelica://Modelica/Resources/Images/Blocks/PID_controller.png" alt="PID_controller.png"> </td> </tr> </table>