summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-07 20:57:57 +0000
committerKarl Berry <karl@freefriends.org>2019-10-07 20:57:57 +0000
commit9af6868b40af1b6846e27a57e317c48ab5399c34 (patch)
tree0f600c96f6af9051140c95940e458dd905e07a65
parente1d421bf06002cf4deb4df1cf80027c98da92674 (diff)
practicalreports (7oct19)
git-svn-id: svn://tug.org/texlive/trunk@52312 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdfbin183898 -> 184987 bytes
-rw-r--r--Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex31
-rw-r--r--Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty4
3 files changed, 25 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
index 6aee7762b14..36fa9ae4d0a 100644
--- a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
+++ b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
index de97a6c2f80..4ed5200f25c 100644
--- a/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
+++ b/Master/texmf-dist/doc/latex/practicalreports/practicalreports.tex
@@ -1,7 +1,6 @@
\documentclass[12pt]{article}
\usepackage[right=1in, top=1in, left=1in, bottom=1in]{geometry}
-\usepackage{amssymb,amsmath, mathtools}
\usepackage[parfill]{parskip}
@@ -13,9 +12,9 @@
\begin{titlepage}
\vspace*{\fill}
\begin{center}
-{\Huge Practical Reports Documentation}\\[0.5cm]
-{\Large Version: 2.0.2}\\[0.4cm]
-{\Large Date: $1^{st}$ of October 2019}\\[0.2cm]
+{\Huge \textbf{practicalreports} Documentation}\\[0.5cm]
+{\Large Version: 2.0.3}\\[0.4cm]
+{\Large Date: $7^{th}$ of October 2019}\\[0.2cm]
{\small Author: Justin Cawood}
\end{center}
\vspace*{\fill}
@@ -30,6 +29,22 @@ This package provides macros for displaying scientific notation, simple title pa
\section{Importing the Package}
Import the package by typing $\backslash$usepackage\{practicalreports\} at the top of the tex file.
+\section{Required Packages}
+All of the below packages are required for the macros within this package. They should be installed when you install this package
+
+\begin{itemize}
+\item \textbf{array}
+\item \textbf{mathtools}
+\item \textbf{longtable}
+\item \textbf{scrextend}
+\item \textbf{float}
+\item \textbf{fancyhdr}
+\item \textbf{lastpage}
+\item \textbf{pdfpages}
+\item \textbf{pdffor}
+\end{itemize}
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Exponent Macro}
@@ -94,12 +109,12 @@ $\backslash$newsfigure\{Caption\}\{Description\}\{file\_ name.jpg\}\{reference\}
\subsubsection{Shrink Example}
\reffigure{example-shrink-figure}, shows an example of decreasing the size of a figure.
-\newsfigure{Example Figure}{Result of using $\backslash$newfigure\{Caption\}\{Description\}\{file name\}\{reference\}\{0.4\}}{example_figure.jpeg}{example-shrink-figure}{0.4}
+\newsfigure{Example Figure}{Result of using $\backslash$newsfigure\{Caption\}\{Description\}\{file name\}\{reference\}\{0.4\}}{example_figure.jpeg}{example-shrink-figure}{0.4}
\subsubsection{Expand Example}
\reffigure{example-expand-figure}, shows an example of increasing the size of a figure.
-\newsfigure{Example Figure}{Result of using $\backslash$newfigure\{Caption\}\{Description\}\{file name\}\{reference\}\{1.6\}}{example_figure.jpeg}{example-expand-figure}{1.6}
+\newsfigure{Example Figure}{Result of using $\backslash$newsfigure\{Caption\}\{Description\}\{file name\}\{reference\}\{1.6\}}{example_figure.jpeg}{example-expand-figure}{1.6}
\subsection{Referencing a Figure}
This macro allows figures to be referenced by simply typing $\backslash$reffigure\{reference\}. If a figure is ever added or removed, this macro will take care of the numbering so the figures are always referenced correctly. An example is shown below.
@@ -313,9 +328,9 @@ Tables can be shifted.
The $\backslash$goodfoot macro will do the footer for you in the form "Page x of n". The page mus be set to fancy first though using the $\backslash$setpagefancy macro.
\subsection{Join Multiple Reports}
-To combine multiple pdf files together into one single pdf file use the macro $\backslash$joinreports\{\}. You don't need the file extension just list all the pdf files that you wish to join as follows.
+To combine multiple pdf files together into one single pdf file use the macro $\backslash$joinpdfs\{\}. You don't need the file extension just list all the pdf files that you wish to join as follows.
-$\backslash$joinreports\{pdf\_1, pdf\_2, pdf\_3, pdf\_4, .....\}.
+$\backslash$joinpdfs\{pdf\_1, pdf\_2, pdf\_3, pdf\_4, .....\}.
This macro should be used in a new tex file because the pdf files will be joined as one file with the name of the tex file this macro is used in.
diff --git a/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty b/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty
index d574797bcfb..e46dfb4ef7f 100644
--- a/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty
+++ b/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty
@@ -2,7 +2,7 @@
%%License: LPPL 1.3c
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{practicalreports}[01/10/2019 v2.0.2 Practical Report Package]
+\ProvidesPackage{practicalreports}[071/10/2019 v2.0.3 Practical Report Package]
\RequirePackage{mathtools, array, longtable, scrextend, float, fancyhdr, lastpage, tikzducks, pdfpages, pgffor}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -192,7 +192,7 @@ tshirt=brown!50!black, jacket=brown!30!gray, speech={of},bubblecolour=cyan!20!wh
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Make sure yor filenames are all one word, this can include underscores and each report is separated by a comma.
-\newcommand{\joinreports}[1]{
+\newcommand{\joinpdfs}[1]{
\foreach \report in {#1} {
\includepdfmerge{\report, -}
}