This question led to a new package:
scrjrnl
I'm searching for packages to write a daily devotional such as this one (Click "Search inside this book" and see in the end of the preview for example). I could not find a suitable package on the CTAN to do that.
I'm thinking that I could use a book or scrbook class and either redefine or encapsulate:
\chapterfor each month, resetting a counter for every day;\sectionfor every day of the month, using and incrementing the counter.
What would be the best/easiest approach in this case?
- Making a
devotionalclass to replacebook; - Writing macros to encapsulate
\chapterand\section; - Redefining
\chapterand\sectionor playing with definitions used inside\chapterand\sectioncalls inbookorscrbook; - Any other enlightened suggestion...
The usage I'm thinking about would look like this:
\documentclass{scrbook} % or \documentclass{devotional}
\begin{document}
\tableofcontents
\month{January} % Set counter for month of January
\day*{} % Set a new day -- January 1, do not list in toc
\begin{verse}{Genesis 3.4}
% contents of the verse
\end{verse}
% commentary
% commentary
\begin{prayer}
% contents of prayer
\end{prayer}
\day*{} % Set a new day -- January 2, do not list in toc
% day contents
% etc.
\end{document}
memoirclass orscrbookrather than the regular book class, though. (I'm partial to memoir because the documentation is exemplary.) – Alan Munn Apr 10 '11 at 21:33makedtx, and thendocstrip. Is that a recommended way of doing it? – raphink Apr 10 '11 at 21:33scrbookas a matter of fact, I've been converted to koma already. But then if I can do a package that is compatible withbooktoo, it would be ever better. – raphink Apr 10 '11 at 21:35titlesecpackage, which allows you to create any sort of sectioning system you like. If you build things based on eitherscrbookormemoiryou'll be somewhat more restricted to those classes. But if you make it a class, that's less of a problem, since it can be based on one of them. It also depends on how wide an audience you may be aiming for. – Alan Munn Apr 10 '11 at 21:40titlesec. – yannisl Apr 10 '11 at 21:50