%% %% This is file `papermas-example.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% papermas.dtx (with options: `example') %% %% This is a generated file. %% %% Project: papermas %% Version: 2023-04-12 v1.1a %% Info: Computes paper mass of a printout %% %% Copyright (C) 2010 - 2023 by %% H.-Martin Muench %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. This version of this license is in %% https://www.latex-project.org/lppl/lppl-1-3c.txt %% and the latest version of this license is in %% https://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005-12-01 or later. %% %% This work has the LPPL maintenance status "maintained". %% %% The Current Maintainer of this work is H.-Martin Muench. %% %% This work consists of the main source file papermas.dtx %% the README, and the derived files %% papermas.sty, papermas.pdf, %% papermas.ins, papermas.drv, %% papermas-example.tex, papermas-example.pdf. %% %% In memoriam %% Claudia Simone Barth + 1996-01-30 %% Tommy Muench + 2014-01-02 %% Hans-Klaus Muench + 2014-08-24 %% \NeedsTeXFormat{LaTeX2e}[2022-11-01] \documentclass[british,a4paper]{article}[2022/07/02]% v1.4n Standard LaTeX document class \pdfinfo{ /Author (H.-Martin Muench) /Title (papermas package example) /Subject (Example for the papermas package) /Keywords (LaTeX;papermas;papermass;paper mass;paper;mass;weight) } \usepackage[format=4,masss=80,pagespersheet=2,decimalsep={.}]{papermas}[2023-04-12] %% v1.1a Computes paper mass of a printout (HMM) %% These are the default options. \DeclareMathAlphabet{\mathup}{OT1}{\familydefault}{m}{n} \DeclareRobustCommand{\unit}[1]{\ensuremath{\mathord{\thinspace\mathup{#1}}}} \listfiles \begin{document} \pagenumbering{arabic} \section*{Example for papermas} \markboth{Example for papermas}{Example for papermas} This example demonstrates the use of package\newline \textsf{papermas}, v1.1a as of 2023-04-12 (HMM).\newline The used options were \texttt{format=4} (ISO~A4), \texttt{masss=80} ($\unit{g}\unit{m}^{-2}$), and\newline \texttt{pagespersheet=2} (pages per sheet of paper, i.\,e. either duplex printing or\newline printing two pages on one side of a sheet of paper with blank back side).\newline (These are the default options.)\newline For more details please see the documentation! \bigskip This document consists of $\papermassPages$~pages. When printing $\papermaspagespersheet$~pages on one sheet of paper, $\papermassheets$~sheets will be needed. For ISO~A~\papermasformat{} paper of $\papermasmasss \unit{g}\unit{m}^{-2}$ specific mass, the printout will have a mass of about $\papermasstotal \unit{g}$. \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage \newpage Last page \thepage. \end{document} \endinput %% %% End of file `papermas-example.tex'.