You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- No more 'dangerous' string searches to set reference links that appear before a label definition.
14
+
- No string searches to set reference links that appear before a label definition.
15
15
- Change syntax to allow multiple classes to be used eg. left, center, right.
16
-
- Add ability to have subfigures/tables if your template allows.
16
+
- Add ability to have subfigures/tables.
17
17
- Add option to change caption tag syntax.
18
18
- Code easy to expand to caption label more tags if needed.
19
-
- Updated some css styles.
19
+
- Updated some css styles to use flexbox.
20
20
21
21
The following outputs are using the bootstrap3 template. Please note that the `<caption></caption>` syntax conflicts with bootstraps' caption. I recommend to modify the boostrap3 syntax to use something like `<bscaption></bscaption>`, or alternatively I have provided a setting to change the syntax of this plugin.
- Caption behaviour: `cell-bottom`, `cell-top`. This enforces long captions to be no wider than the image/table. Top and bottom refers to position of caption in relation to figure. Most useful to use this with subfigure captions but also works with main captions. Keep in mind this adds the css style `display: table;` which conflicts with flex or other responsive classes.
51
+
- Alignment classes: `left`, `center`, `right`, `even`. `even` may only be used with figures.
53
52
- No colon: `blank`. Use this if you dont want to print a ':' after the figure number.
54
53
55
54
If you want to apply your own css stying to the figures. Any option input are added as a class in the form `plugin_latexcaption_{option}`.
@@ -58,20 +57,20 @@ If you want to apply your own css stying to the figures. Any option input are ad
58
57
Example with centering and caption number only:
59
58
60
59
```
61
-
<figure flex-center blank>
60
+
<figure center blank>
62
61
{{image1.jpg?direct&200}}
63
62
<caption></caption>
64
63
</figure>
65
64
```
66
65
67
66
Example subfigure with a long caption:
68
67
```
69
-
<figure flex-center>
70
-
<subfigure cell-bottom>
68
+
<figure center>
69
+
<subfigure>
71
70
{{image1.jpg?direct&200}}
72
71
<caption>A really long subfigure caption much longer than the image that needs to wrap</caption>
0 commit comments