%%
%% This is file `swruler.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% schwalbe.dtx  (with options: `rulerstyle')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from swruler.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file schwalbe.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%%  File 'schwalbe.dtx'
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version
%% 1.2 of this license or (at your option) any later version.
%% The latest version of this license is in:
%%
%%    http://www.latex-project.org/lppl.txt
%%
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{swruler}[2022/06/19]
\RequirePackage{calc}
\newcommand{\Ruler}{%
\makebox{%
\setlength{\unitlength}{\textheight / 20}
\begin{picture}(1,20)
\put(0.4,-20){\line(0,1){20}}
\multiput(0.4,-20)(0,2){11}{\line(1,0){0.4}}
\multiput(0.4,-19)(0,2){10}{\line(1,0){0.2}}
\put(0,-20){10}
\put(0,-18){9}
\put(0,-16){8}
\put(0,-14){7}
\put(0,-12){6}
\put(0,-10){5}
\put(0,-8){4}
\put(0,-6){3}
\put(0,-4){2}
\put(0,-2){1}
\end{picture}
}}% Ruler
\providecommand{\AddToHook}[2]{%
\message{^^JWARNING: Your LaTeX is too old to activate a Ruler on each page.^^J}%
}%
\newcommand{\ShowRuler}[2]{%
\AddToHook{shipout/background}{\put(#1,#2){\Ruler}}%
}%
\endinput
%%
%% End of file `swruler.sty'.
