To put a blank line between two images in Doxygen, you can use HTML code to add a line break. Simply add or between the image tags of the two images in your Doxygen documentation. This will create a blank line separating the two images and improve the readability of your documentation.
How to override the default spacing between images in doxygen?
To override the default spacing between images in Doxygen, you can use CSS to set custom styles for the images.
Here's how you can do it:
- Create a custom CSS file (e.g., custom.css) and add the following code to adjust the spacing between images:
1 2 3 |
img { margin: 10px; /* Set the desired margin value */ } |
- In your Doxygen configuration file (Doxyfile), specify the custom CSS file to be included in the HTML output:
1
|
HTML_EXTRA_STYLESHEET = custom.css
|
- Regenerate the Doxygen documentation to apply the custom styles.
By adding the custom CSS file and setting the margin property for images, you can override the default spacing between images in Doxygen. Adjust the margin value according to your preferences to achieve the desired spacing between images.
What is the HTML tag to create a space between two images in doxygen?
In Doxygen, you can use the HTML <br>
tag to create a space between two images. This tag creates a line break, which will move the content following it to the next line.
Here is an example of how you can use the <br>
tag to create a space between two images in Doxygen:
1 2 3 |
<img src="image1.jpg" alt="Image 1"> <br> <img src="image2.jpg" alt="Image 2"> |
In this example, the <br>
tag is used to create a line break between the two <img>
tags, which will result in a space between the two images when the HTML document is rendered.
How to use doxygen comments to include a space between images?
To include a space between images using Doxygen comments, you can use HTML tags within the comments. Here is an example of how to include a space between two image links in a Doxygen comment:
1 2 3 4 5 |
/** * \image html image1.png * <br> <!-- Line break to add space --> * \image html image2.png */ |
In the above example, the <br>
tag is used to create a line break in the generated HTML output, which will create a space between the two image links. Make sure to replace image1.png
and image2.png
with the actual file names of your images.