summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/graphpaper/graphpaper.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/graphpaper/graphpaper.dtx')
-rw-r--r--macros/latex/contrib/graphpaper/graphpaper.dtx17
1 files changed, 8 insertions, 9 deletions
diff --git a/macros/latex/contrib/graphpaper/graphpaper.dtx b/macros/latex/contrib/graphpaper/graphpaper.dtx
index 071f40b1de..293edec2a0 100644
--- a/macros/latex/contrib/graphpaper/graphpaper.dtx
+++ b/macros/latex/contrib/graphpaper/graphpaper.dtx
@@ -11,7 +11,7 @@
\preamble
________________________________________
The graphpaper class for generating several types of graph paper
- Copyright (C) 2020 C. Beccari & F. Biccari
+ Copyright (C) 2020 - 2022 C. Beccari & F. Biccari
All rights reserved
License information appended
@@ -19,7 +19,7 @@
\endpreamble
%^^A insert this text at the end of the generated file
\postamble
-Copyright (C) 2020 Claudio Beccari & Francesco Biccari
+Copyright (C) 2020 - 2022 Claudio Beccari & Francesco Biccari
Distributable under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -55,16 +55,15 @@ and the derived files graphpaper.cls and graphpaper.pdf.
%<*driver>
\ProvidesFile{graphpaper.dtx}
%</driver>
-%<class>\NeedsTeXFormat{LaTeX2e}[2018-01-01]
+%<class>\NeedsTeXFormat{LaTeX2e}[2021-10-10]
%<class>\ProvidesClass{graphpaper}%
%<*class>
- [2020-10-10 1.0 A LaTeX class to generate several types of graph papers]
+ [2022-04-23 1.1 A LaTeX class to generate several types of graph papers]
%</class>
%<*driver>
\documentclass[11pt,a4paper]{ltxdoc}
-\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
-\usepackage{lmodern,textcomp}
+\usepackage{lmodern}
\usepackage[a4paper,lines=50]{geometry}
\usepackage{multicol}
\hfuzz 10pt
@@ -168,7 +167,7 @@ and the derived files graphpaper.cls and graphpaper.pdf.
% \fi
%
% It has three class options to specify the paper format:
-% \texttt{a4paper}, \texttt{a3paper}, \texttt{letterpaper}.
+% \texttt{a4paper} (default), \texttt{a3paper}, \texttt{letterpaper}.
% The paper orientation cannot be changed and it is always set
% to landscape.
%
@@ -1016,8 +1015,8 @@ and the derived files graphpaper.cls and graphpaper.pdf.
% \begin{macrocode}
\NewDocumentCommand{\setgridcolor}{m}{\colorlet{gridcolor}{#1}}
\NewDocumentCommand{\setmajorlinethickness}{m}{\setlength{\lwa}{#1}}
-\NewDocumentCommand{\setmediumlinethickness}{m}{\setlength{\lwa}{#1}}
-\NewDocumentCommand{\setminorlinethickness}{m}{\setlength{\lwa}{#1}}
+\NewDocumentCommand{\setmediumlinethickness}{m}{\setlength{\lwb}{#1}}
+\NewDocumentCommand{\setminorlinethickness}{m}{\setlength{\lwc}{#1}}
\NewDocumentCommand{\setminimumdistance}{m}{\setlength{\mindistanceunit}{#1}}
\NewDocumentCommand{\setxside}{m}{%
\ifnum\fpeval{#1 > \paperwidth}=1 \ClassError{graphpaper}{X side too wide!} \fi