Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Scale images'width to 0.6 pagewidth

  • Loading branch information...
commit c0d6909eeab4ba4074e3fc2eb8453f96a13c78ce 1 parent 4938fbb
Jean-Noël Avila authored March 27, 2011

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  latex/template.tex
3  latex/template.tex
@@ -32,7 +32,8 @@
32 32
 \makeatletter
33 33
 \let\savedauthor=\@author
34 34
 \let\savedtitle=\@title
35  
-\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth
  35
+\def\imgwidth{.6\linewidth}
  36
+\def\maxwidth{\ifdim\Gin@nat@width>\imgwidth\imgwidth
36 37
 \else\Gin@nat@width\fi}
37 38
 \makeatother
38 39
 

0 notes on commit c0d6909

Please sign in to comment.
Something went wrong with that request. Please try again.