%%
%% This is file `catechis.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% catechis.dtx  (with options: `package')
%% This is a generated file.
%% 
%% This document is copyright 2014 by Donald P. Goodman, and is
%% released publicly under the LaTeX Project Public License.  The
%% distribution and modification of this work is constrained by the
%% conditions of that license.  See
%% http://www.latex-project.org/lppl.txt
%% for the text of the license.  This document is released
%% under version 1.3 of that license, and this work may be distributed
%% or modified under the terms of that license or, at your option, any
%% later version.
%% 
%% This work has the LPPL maintenance status 'maintained'.
%% 
%% The Current Maintainer of this work is Donald P. Goodman
%% (dgoodmaniii@gmail.com).
%% 
%% This work consists of catechis.dtx, catechis.ins, and
%% derived files catechis.sty and catechis.pdf.

\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{catechis}[2018/07/13 v2.3 Support for writing catechism questions and answers]
\RequirePackage{paralist}
\setdefaultenum{(a)}{(1)}{(i)}{(A)}
\setdefaultleftmargin{3.8em}{}{}{}{}{}
\newlength{\catquesindent}\setlength{\catquesindent}{0em}
\newlength{\catqueshindent}\setlength{\catqueshindent}{2em}
\newlength{\catansindent}\setlength{\catansindent}{2em}
\newlength{\catanshindent}\setlength{\catanshindent}{2em}
\newlength{\catquesnumwd}\setlength{\catquesnumwd}{2em}
\newcounter{catquesnum}\setcounter{catquesnum}{0}
\def\catquesnumsty{\bfseries}
\def\catquessty{\bfseries}
\def\catanssty{}
\renewcommand{\thecatquesnum}{\arabic{catquesnum}.}
\def\catques#1#2{%
\stepcounter{catquesnum}%
{\parindent=\catquesindent\hangindent=\catqueshindent\hangafter=1%
{\par\leavevmode\hbox to\catquesnumwd{\catquesnumsty\thecatquesnum\hfil}%
\catquessty #1}\par}%
{\parindent=\catansindent\hangindent=\catanshindent\hangafter=1%
{\par\catanssty #2}\par}%
}%
\def\catcommsty{}
\newlength{\commindent}\setlength{\commindent}{2em}
\newlength{\commhindent}\setlength{\commhindent}{2em}
\def\catcomment#1{%
{\parindent=\commindent\hangindent=\commhindent\hangafter=1%
{\par\catcommsty #1}\par}
}%
\def\catexplicsty{\small}
\newlength{\explicindent}\setlength{\explicindent}{4em}
\newlength{\explichindent}\setlength{\explichindent}{2em}
\long\def\catexplic#1{%
{\par\everypar={\parindent=\explicindent\hangindent=\explichindent\hangafter=1}%
{\par\catexplicsty\  #1}\par}%
}%
\def\restoreindents{%
\par%
\everypar={%
\parindent=\explicindent%
\hangindent=\explichindent%
\hangafter=1%
}%
\par%
}%
\def\catcitetitlesty{\Large\scshape}%
\def\catcitetitleword{Citations}%
\def\catcitetitle{%
\begin{center}%
\catcitetitlesty\catcitetitleword%
\end{center}%
}%
\newlength\catcitationbefskip\catcitationbefskip=1em%
\newlength\catcitationaftskip\catcitationaftskip=1em%
\def\catcitations{%
\leavevmode%
\vskip\catcitationbefskip%
\catcitetitle%
}%
\def\endcatcitations{%
\leavevmode%
\vskip\catcitationaftskip%
}%
\def\catcitesty{\itshape}%
\def\catsrcsty{}%
\newlength{\catciteindent}\setlength{\catciteindent}{0em}%
\newlength{\catcitehindent}\setlength{\catcitehindent}{0em}%
\newlength{\catsrcindent}\setlength{\catsrcindent}{2em}%
\newlength{\catsrchindent}\setlength{\catsrchindent}{2em}%
\def\catcite#1#2{%
{\parindent=\catciteindent\hangindent=\catcitehindent\hangafter=1%
{\par\catcitesty #1}\par}%
{\parindent=\catsrcindent\hangindent=\catsrchindent\hangafter=1%
{\par\catsrcsty#2}\par}%
}%
\let\scripture=\catcite
\endinput
%%
%% End of file `catechis.sty'.
