aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorSean Soon <[email protected]>2025-09-01 19:41:14 +0100
committerGitHub <[email protected]>2025-09-01 20:41:14 +0200
commit5424d3eca0e127de7a59baea9b11649b1c17e5b2 (patch)
tree1413ff56fd3cac29487a8b7c643c8471ae64abf4 /MANUAL.txt
parentc74f2b8588cd58d40932e758aec9cb7fb963a76d (diff)
LaTeX writer: control figure placement with attribute (#11094)
If a `latex-pos` attribute is present on a figure, it will be used as the optional positioning hint in LaTeX (e.g. `ht`). With implicit figures, `latex-pos` will be added to the figure (and removed from the image) if it is present on the image. Closes #10369.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 385aa3860..381069e06 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -5643,9 +5643,13 @@ image's alt text will be used as the caption.
![This is the caption](/url/of/image.png)
How this is rendered depends on the output format. Some output
-formats (e.g. RTF) do not yet support figures. In those
+formats (e.g. RTF) do not yet support figures. In those
formats, you'll just get an image in a paragraph by itself, with
-no caption.
+no caption. For LaTeX output, you can specify a [figure's
+positioning](https://www.overleaf.com/learn/latex/Positioning_images_and_tables#The_figure_environment)
+by adding the `latex-pos` attribute.
+
+ ![This is the caption](/url/of/image.png){latex-pos="ht"}
If you just want a regular inline image, just make sure it is not
the only thing in the paragraph. One way to do this is to insert a