git.iko.soy/typeable/pandoc
on master help sign in
MANUAL: clarify LaTeX image dimensions output
commit614b1c0c6188589128c4bfebeab65fa6306a916c authorMauro Bieg <mb21@users.noreply.github.com> dateMon 29 Oct 2018, 17:11 (8 years ago) parent2f57919
1 file changed+6−4
MANUAL.txt+6−4
MANUAL.txt+6−4
@@ -3711,10 +3711,12 @@ For example:
37113711 formats. Use the `--dpi` option to specify the number of pixels per
37123712 inch. The default is 96dpi.
37133713- The `%` unit is generally relative to some available space.
3714− For example the above example will render to
3715− `<img href="file.jpg" style="width: 50%;" />` (HTML),
3716− `\includegraphics[width=0.5\textwidth]{file.jpg}` (LaTeX), or
3717− `\externalfigure[file.jpg][width=0.5\textwidth]` (ConTeXt).
3714+ For example the above example will render to the following.
3715+ - HTML: `<img href="file.jpg" style="width: 50%;" />`
3716+ - LaTeX: `\includegraphics[width=0.5\textwidth,height=\textheight]{file.jpg}`
3717+ (If you're using a custom template, you need to configure `graphicx`
3718+ as in the default template.)
3719+ - ConTeXt: `\externalfigure[file.jpg][width=0.5\textwidth]`
37183720- Some output formats have a notion of a class
37193721 ([ConTeXt](http://wiki.contextgarden.net/Using_Graphics#Multiple_Image_Settings))
37203722 or a unique identifier (LaTeX `\caption`), or both (HTML).