aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2018-10-29 17:11:03 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2018-11-01 14:15:09 -0700
commit614b1c0c6188589128c4bfebeab65fa6306a916c (patch)
tree436cfe21ca2c399785c66324d349e78340e10d51
parent2f579193ae79b4dd9868951fd096def7d3bb4085 (diff)
downloadpandoc-614b1c0c6188589128c4bfebeab65fa6306a916c.tar.gz
MANUAL: clarify LaTeX image dimensions output
-rw-r--r--MANUAL.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 5bf611d15..5a4710474 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -3711,10 +3711,12 @@ For example:
formats. Use the `--dpi` option to specify the number of pixels per
inch. The default is 96dpi.
- The `%` unit is generally relative to some available space.
- For example the above example will render to
- `<img href="file.jpg" style="width: 50%;" />` (HTML),
- `\includegraphics[width=0.5\textwidth]{file.jpg}` (LaTeX), or
- `\externalfigure[file.jpg][width=0.5\textwidth]` (ConTeXt).
+ For example the above example will render to the following.
+ - HTML: `<img href="file.jpg" style="width: 50%;" />`
+ - LaTeX: `\includegraphics[width=0.5\textwidth,height=\textheight]{file.jpg}`
+ (If you're using a custom template, you need to configure `graphicx`
+ as in the default template.)
+ - ConTeXt: `\externalfigure[file.jpg][width=0.5\textwidth]`
- Some output formats have a notion of a class
([ConTeXt](http://wiki.contextgarden.net/Using_Graphics#Multiple_Image_Settings))
or a unique identifier (LaTeX `\caption`), or both (HTML).