| 1 |
%% |
| 2 |
%% This is file `papermas-example.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% papermas.dtx (with options: `example') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Project: papermas |
| 12 |
%% Version: 2023-04-12 v1.1a |
| 13 |
%% Info: Computes paper mass of a printout |
| 14 |
%% |
| 15 |
%% Copyright (C) 2010 - 2023 by |
| 16 |
%% H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de> |
| 17 |
%% |
| 18 |
%% This work may be distributed and/or modified under the |
| 19 |
%% conditions of the LaTeX Project Public License, either |
| 20 |
%% version 1.3c of this license or (at your option) any later |
| 21 |
%% version. This version of this license is in |
| 22 |
%% https://www.latex-project.org/lppl/lppl-1-3c.txt |
| 23 |
%% and the latest version of this license is in |
| 24 |
%% https://www.latex-project.org/lppl.txt |
| 25 |
%% and version 1.3c or later is part of all distributions of |
| 26 |
%% LaTeX version 2005-12-01 or later. |
| 27 |
%% |
| 28 |
%% This work has the LPPL maintenance status "maintained". |
| 29 |
%% |
| 30 |
%% The Current Maintainer of this work is H.-Martin Muench. |
| 31 |
%% |
| 32 |
%% This work consists of the main source file papermas.dtx |
| 33 |
%% the README, and the derived files |
| 34 |
%% papermas.sty, papermas.pdf, |
| 35 |
%% papermas.ins, papermas.drv, |
| 36 |
%% papermas-example.tex, papermas-example.pdf. |
| 37 |
%% |
| 38 |
%% In memoriam |
| 39 |
%% Claudia Simone Barth + 1996-01-30 |
| 40 |
%% Tommy Muench + 2014-01-02 |
| 41 |
%% Hans-Klaus Muench + 2014-08-24 |
| 42 |
%% |
| 43 |
\NeedsTeXFormat{LaTeX2e}[2022-11-01] |
| 44 |
\documentclass[british,a4paper]{article}[2022/07/02]% v1.4n Standard LaTeX document class |
| 45 |
\pdfinfo{ |
| 46 |
/Author (H.-Martin Muench) |
| 47 |
/Title (papermas package example) |
| 48 |
/Subject (Example for the papermas package) |
| 49 |
/Keywords (LaTeX;papermas;papermass;paper mass;paper;mass;weight) |
| 50 |
} |
| 51 |
\usepackage[format=4,masss=80,pagespersheet=2,decimalsep={.}]{papermas}[2023-04-12] |
| 52 |
%% v1.1a Computes paper mass of a printout (HMM) |
| 53 |
%% These are the default options. |
| 54 |
\DeclareMathAlphabet{\mathup}{OT1}{\familydefault}{m}{n} |
| 55 |
\DeclareRobustCommand{\unit}[1]{\ensuremath{\mathord{\thinspace\mathup{#1}}}} |
| 56 |
\listfiles |
| 57 |
\begin{document} |
| 58 |
\pagenumbering{arabic} |
| 59 |
\section*{Example for papermas} |
| 60 |
\markboth{Example for papermas}{Example for papermas} |
| 61 |
|
| 62 |
This example demonstrates the use of package\newline |
| 63 |
\textsf{papermas}, v1.1a as of 2023-04-12 (HMM).\newline |
| 64 |
The used options were \texttt{format=4} (ISO~A4), |
| 65 |
\texttt{masss=80} ($\unit{g}\unit{m}^{-2}$), and\newline |
| 66 |
\texttt{pagespersheet=2} (pages per sheet of paper, |
| 67 |
i.\,e. either duplex printing or\newline |
| 68 |
printing two pages on one side of a sheet of paper with blank back side).\newline |
| 69 |
(These are the default options.)\newline |
| 70 |
For more details please see the documentation! |
| 71 |
\bigskip |
| 72 |
|
| 73 |
This document consists of $\papermassPages$~pages. |
| 74 |
When printing $\papermaspagespersheet$~pages on one sheet of paper, |
| 75 |
$\papermassheets$~sheets will be needed. For ISO~A~\papermasformat{} |
| 76 |
paper of $\papermasmasss \unit{g}\unit{m}^{-2}$ specific mass, |
| 77 |
the printout will have a mass of about $\papermasstotal \unit{g}$. |
| 78 |
|
| 79 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 80 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 81 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 82 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 83 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 84 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 85 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 86 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 87 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 88 |
\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage\newpage Page \thepage |
| 89 |
\newpage Last page \thepage. |
| 90 |
\end{document} |
| 91 |
\endinput |
| 92 |
%% |
| 93 |
%% End of file `papermas-example.tex'. |