Skip to content

Commit ea508b6

Browse files
authored
Add LaTeX note
Updated image dimensions in Markdown example and added note about length units for images in LaTeX articles.
1 parent 9ab2666 commit ea508b6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

article-edit.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
For more information on the Markdown markup language, visit this <a href='https://www.markdownguide.org/basic-syntax/' target="_blank">Markdown Guide</a>.<br/>
8484
<br/>
8585
<i>Note 1</i>: You can insert an image from your media library into the body of the article with an expression like this:
86-
<b>{{ img('image-id.jpg', a, {'width': '725', 'height': '400', 'title': true, 'caption': true, 'style': 'float: right', 'version': 'small'}) }}</b>.
86+
<b>{{ img('image-id.jpg', a, {'width': '5cm', 'height': '4cm', 'title': true, 'caption': true, 'float': 'right', 'version': 'small'}) }}</b>.
8787
Remark: You can enter a <i>string</i> in the <i>title/caption</i> attribute if you want to use a text other than the one defined in the image record.
8888
For example: <b>{{ img('image-id.jpg', a, {'title': 'My tooltip'}) }}</b>.<br/>
8989
<br/>
@@ -109,6 +109,8 @@
109109
<i>Note 6</i>: You don't need to write raw LaTeX to create a <b>LaTeX article</b>. Basic Markdown is automatically converted to LaTeX, references become footnotes, images are inserted, and the summary becomes the abstract.<br/>
110110
<br/>
111111
<i>Note 7</i>: LaTeX articles are not rendered in the preview window.<br/>
112+
<br/>
113+
<i>Note 8</i>: In LaTeX articles you can only use these length units with image width and height: pt, bp, in, mm, cm, pc, em, ex, dd, cc and sp. Image captions and titles (alt) are not displayed.<br/>
112114
</code></div>
113115
</details>
114116
</div>

0 commit comments

Comments
 (0)