summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-08-17 04:09:46 -0700
committerJames E. Blair <corvus@gnu.org>2016-11-20 10:39:56 -0800
commit01d8f282a472da248d2a70cc2319797974a12501 (patch)
tree8e535ec2bdd25271202d605226cd6c8ebbed9810 /example
parentde6deb817bd374e2d8ad44623348061fee20f280 (diff)
Allow scaling of images
Diffstat (limited to 'example')
-rw-r--r--example/demo.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/example/demo.rst b/example/demo.rst
index c105e7d..e202bc2 100644
--- a/example/demo.rst
+++ b/example/demo.rst
@@ -154,3 +154,15 @@ Images
154.. image:: gg.jpg 154.. image:: gg.jpg
155 155
156"Golden Gate Bridge" by Kevin Cole (CC-BY: https://flic.kr/p/7L2Rdu) 156"Golden Gate Bridge" by Kevin Cole (CC-BY: https://flic.kr/p/7L2Rdu)
157
158Scaling Images
159==============
160.. container:: handout
161
162 You can also give the image directive a scale parameter to scale the image.
163 the image will be centered within the slide.
164
165.. image:: gg.jpg
166 :scale: 75
167
168"Golden Gate Bridge" by Kevin Cole (CC-BY: https://flic.kr/p/7L2Rdu)