Permalink
Browse files

Scale images'width to 0.6 pagewidth

  • Loading branch information...
1 parent 4938fbb commit c0d6909eeab4ba4074e3fc2eb8453f96a13c78ce @jnavila jnavila committed Mar 27, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 latex/template.tex
View
@@ -32,7 +32,8 @@
\makeatletter
\let\savedauthor=\@author
\let\savedtitle=\@title
-\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth
+\def\imgwidth{.6\linewidth}
+\def\maxwidth{\ifdim\Gin@nat@width>\imgwidth\imgwidth
\else\Gin@nat@width\fi}
\makeatother

0 comments on commit c0d6909

Please sign in to comment.