[Vegan-commits] r2245 - pkg/vegan/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Aug 12 18:18:06 CEST 2012


Author: jarioksa
Date: 2012-08-12 18:18:06 +0200 (Sun, 12 Aug 2012)
New Revision: 2245

Added:
   pkg/vegan/inst/doc/vegan.sty
Modified:
   pkg/vegan/inst/doc/intro-vegan.Rnw
Log:
blind watch maker fix #3: revert to amsart from tweaked jss.cls

Modified: pkg/vegan/inst/doc/intro-vegan.Rnw
===================================================================
--- pkg/vegan/inst/doc/intro-vegan.Rnw	2012-08-03 05:22:12 UTC (rev 2244)
+++ pkg/vegan/inst/doc/intro-vegan.Rnw	2012-08-12 16:18:06 UTC (rev 2245)
@@ -1,13 +1,16 @@
 % -*- mode: noweb; noweb-default-code-mode: R-mode; -*-
 %\VignetteIndexEntry{Introduction to ordination in vegan}
-\documentclass[article,nojss]{jss}
-\usepackage{veganjss} % vegan settings
-\usepackage{ucs} %% needed for R output: signif stars etc, quotes
+\documentclass[a4paper,10pt]{amsart}
+\usepackage{vegan}
+\usepackage{ucs}
 \usepackage[utf8x]{inputenc}
 \usepackage[T1]{fontenc}
+\usepackage{graphicx}
 \usepackage{sidecap}
-\usepackage{amsmath}
+\setlength{\captionindent}{0pt}
+\usepackage{url}
 
+
 \renewcommand{\floatpagefraction}{0.8}
 
 
@@ -15,32 +18,13 @@
 
 \author{Jari Oksanen}
 
-\Abstract{The document describes typical, simple work pathways of
-  vegetation ordination. Unconstrained ordination uses as examples
-  detrended correspondence analysis and non-metric multidimensional
-  scaling, and shows how to interpret their results by fitting
-  environmental vectors and factors or smooth environmental surfaces
-  to the graph. The basic plotting command, and more advanced plotting
-  commands for congested plots are also discussed, as well as adding
-  items such as ellipses, convex hulls, and other items for
-  classes. The constrained ordination uses constrained (canonical)
-  correspondence analysis as an example. It is first shown how a model
-  is defined, then the document discusses model building and
-  signficance tests of the whole analysis, single constraints and
-  axes.}
 
-\Keywords{ordination, correspondence analysis, non-metric
-  multidimensional scaling, CCA, RDA, NMDS, fitted environmental
-  vector, fitted environmental surface, permutation tests}
-
 %% misuse of the address field for revision data
-\Address{$ $Id$ $
+\date{$ $Id$ $
   processed with vegan
 \Sexpr{packageDescription("vegan", field="Version")}
 in \Sexpr{R.version.string} on \today}
-\Footername{About this version}
 
-%% need no \usepackage{Sweave}
 \begin{document}
 
 \setkeys{Gin}{width=0.55\linewidth}
@@ -53,6 +37,29 @@
 options("prompt" = "R> ", "continue" = "+  ")
 @
 
+\maketitle
+
+\begin{abstract}
+  The document describes typical, simple work pathways of
+  vegetation ordination. Unconstrained ordination uses as examples
+  detrended correspondence analysis and non-metric multidimensional
+  scaling, and shows how to interpret their results by fitting
+  environmental vectors and factors or smooth environmental surfaces
+  to the graph. The basic plotting command, and more advanced plotting
+  commands for congested plots are also discussed, as well as adding
+  items such as ellipses, convex hulls, and other items for
+  classes. The constrained ordination uses constrained (canonical)
+  correspondence analysis as an example. It is first shown how a model
+  is defined, then the document discusses model building and
+  signficance tests of the whole analysis, single constraints and
+  axes.
+\end{abstract}
+
+\keywords{ordination, correspondence analysis, non-metric
+  multidimensional scaling, CCA, RDA, NMDS, fitted environmental
+  vector, fitted environmental surface, permutation tests}
+
+
 \tableofcontents
 
 \section*{~}

Added: pkg/vegan/inst/doc/vegan.sty
===================================================================
--- pkg/vegan/inst/doc/vegan.sty	                        (rev 0)
+++ pkg/vegan/inst/doc/vegan.sty	2012-08-12 16:18:06 UTC (rev 2245)
@@ -0,0 +1,7 @@
+% vegan style: copy entries from jss.cls of the R distribution 
+\let\proglang=\textsf
+\makeatletter
+\newcommand\code{\bgroup\@makeother\_\@makeother\~\@makeother\$\@codex}
+\def\@codex#1{{\normalfont\ttfamily\hyphenchar\font=-1 #1}\egroup}
+\makeatother
+\newcommand{\pkg}[1]{{\fontseries{b}\selectfont #1}}
\ No newline at end of file



More information about the Vegan-commits mailing list