Figures
Figures
![]()
Library
Modelica/UsersGuide/Conventions/Documentation/Format
Description
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.
- Figures have to be placed outside of paragraphs to be HTML compliant.
- Figures need to have at least a
srcand analtattribute defined to be HTML compliant. - Technical figures should be placed within a table environment. Each technical figure should then also have a caption. The figure caption starts with a capital letter.
- Illustration can be embedded without table environment.
Location of files
The PNG files should be placed in a folder which exactly represents the package structure.
Examples
Example 1
This example shows how an illustration should be embedded in the ExamplePID_Controller of theBlocks package.
<img "modelica://Modelica/Resources/Images/Blocks/PID_controller.png" alt="PID_controller.png">
Example 2
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> <imgSee Also