[Vegan-commits] r2566 - pkg/vegan/inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jul 15 21:30:46 CEST 2013
Author: jarioksa
Date: 2013-07-15 21:30:46 +0200 (Mon, 15 Jul 2013)
New Revision: 2566
Modified:
pkg/vegan/inst/doc/vegan.sty
Log:
example font size depends on the number of columns in vignettes
Modified: pkg/vegan/inst/doc/vegan.sty
===================================================================
--- pkg/vegan/inst/doc/vegan.sty 2013-07-14 18:10:04 UTC (rev 2565)
+++ pkg/vegan/inst/doc/vegan.sty 2013-07-15 19:30:46 UTC (rev 2566)
@@ -21,5 +21,9 @@
\newcommand{\VAR}{\mathsf{VAR}}
\newcommand{\COV}{\mathsf{COV}}
\newcommand{\Prob}{\mathsf{P}}
-%% smaller examples
-\renewenvironment{Schunk}{\par\small}{}
+%% smaller examples, size depends on the no. of columns
+\if at twocolumn
+ \renewenvironment{Schunk}{\par\footnotesize}{}
+\else
+ \renewenvironment{Schunk}{\par\small}{}
+\fi
More information about the Vegan-commits
mailing list