From e5ffc42ed260285f76383ae18dd0f4a603c07fa8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 8 Oct 2019 03:00:28 +0000 Subject: CTAN sync 201910080300 --- .../contrib/practicalreports/practicalreports.pdf | Bin 183898 -> 184987 bytes .../contrib/practicalreports/practicalreports.sty | 4 +-- .../contrib/practicalreports/practicalreports.tex | 31 +++++++++++++++------ 3 files changed, 25 insertions(+), 10 deletions(-) (limited to 'macros/latex/contrib/practicalreports') diff --git a/macros/latex/contrib/practicalreports/practicalreports.pdf b/macros/latex/contrib/practicalreports/practicalreports.pdf index 6aee7762b1..36fa9ae4d0 100644 Binary files a/macros/latex/contrib/practicalreports/practicalreports.pdf and b/macros/latex/contrib/practicalreports/practicalreports.pdf differ diff --git a/macros/latex/contrib/practicalreports/practicalreports.sty b/macros/latex/contrib/practicalreports/practicalreports.sty index d574797bcf..e46dfb4ef7 100644 --- a/macros/latex/contrib/practicalreports/practicalreports.sty +++ b/macros/latex/contrib/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, -} } diff --git a/macros/latex/contrib/practicalreports/practicalreports.tex b/macros/latex/contrib/practicalreports/practicalreports.tex index de97a6c2f8..4ed5200f25 100644 --- a/macros/latex/contrib/practicalreports/practicalreports.tex +++ b/macros/latex/contrib/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. -- cgit v1.2.3