Added «flacards» info to chapter 2
This commit is contained in:
parent
d9035fd2ef
commit
d3328ac530
@ -18,3 +18,7 @@ Date,Topic,Minutes
|
||||
2025.02.07,Flashcards (ch. 2),60
|
||||
,,60
|
||||
,,15
|
||||
2025.02.08,Updated Coda with tikz information,25
|
||||
,flacards (ch. 2),25
|
||||
,,60
|
||||
,,15
|
||||
|
|
@ -18,6 +18,7 @@ Fortunately, \LaTeX{} has a number of packages that make the production of flash
|
||||
|
||||
I had a lot of fun playing around with these packages, and have created a number of example documents for you to download and play around with. I've posted these to both my personal git repository and Codeberg. You can see them here:
|
||||
|
||||
\label{online-examples}
|
||||
\begin{itemize}
|
||||
\item \textbf{Personal:} \kref{https://git.kjodle.net/kjodle/flashcard-examples}{https://git.kjodle.net/kjodle/flashcard-examples}
|
||||
\item \textbf{Codeberg:} \kref{https://codeberg.org/kjodle/flashcard-examples}{https://codeberg.org/kjodle/flashcard-examples}
|
||||
@ -206,4 +207,43 @@ I re-compiled the project, and indeed, I now had the Ferengi Rules of Acquistion
|
||||
|
||||
\section{The flacards Package}
|
||||
|
||||
Next is the \textsf{flacards} package, which is not quite as straighforward as \textsf{FlashCards} because you have to do more work up front to set up the page layout. But this package does offer more options for laying out each card, so if you need a more complex card layout, the trade-off is worth it.
|
||||
|
||||
This package also creates a new document class (``\texttt{flacards}'') which is based on the \texttt{article} class. To create a flash card, you use the \texttt{card} environment, which has two required options, one for the front of the card, and one for the back.
|
||||
|
||||
You will probably need to change the default pagelayout options, as the default margins are one centimeter on all sides, and the default card layout is eight rows of three cards each. Because this package already loads the \textsf{geometry} package, you can just add the new margin declarations to your \texttt{documentclass} declaration. For example, to use the Avery 5371 business cards I have on hand, I would use this in my preamble:
|
||||
|
||||
\begin{Verbatim}[frame=lines, numbers=left, xleftmargin=5mm, framesep=3mm, breaklines=true, label=\fbox{geometry options for Avery5371 cards}]
|
||||
\geometry{
|
||||
top=0.5in,
|
||||
bottom=0.5in,
|
||||
inner=0.75in,
|
||||
outer=0.75in,
|
||||
}
|
||||
\end{Verbatim}
|
||||
|
||||
\noindent{}and then add this just after \verb|\begin{document}|:
|
||||
|
||||
\begin{Verbatim}[]
|
||||
\pagesetup{2}{5}
|
||||
\end{Verbatim}
|
||||
|
||||
The \textsf{flacards} packages include options for left, center, and right headers and footers, which allows you to add a great deal of information to your flash cards. The documentation includes a chart and a diagram that shows the commands for modifying these. For example, if I wanted to add ``Botany'' the bottom center of the front of my flash cards, I would use this command:
|
||||
|
||||
\begin{Verbatim}[]
|
||||
\renewcommand{\fcfoot}{Botany}
|
||||
\end{Verbatim}
|
||||
|
||||
I set up a set of botany flashcards which you can see in either of the repos I mentioned on page \pageref{online-examples}, where I use this code to set up my cards:
|
||||
|
||||
\begin{Verbatim}[frame=lines, numbers=left, xleftmargin=5mm, framesep=3mm, breaklines=true, label=\fbox{Card options for Botany flash cards}]
|
||||
\renewcommand{\frfoot}{}
|
||||
\renewcommand{\fcfoot}{\vspace{4mm}\scshape{Botany}}
|
||||
\renewcommand{\cardtextstylef}{\rmfamily\Large}
|
||||
\renewcommand{\cardtextstyleb}{\raggedright\rmfamily\normal size}
|
||||
\fboxsep=10pt
|
||||
\end{Verbatim}
|
||||
|
||||
Note that you can also renew any of these commands whenever you want. If you look at that example, you'll see that I threw in a geometry card at the very end.
|
||||
|
||||
\section{The elzcards Package}
|
Loading…
Reference in New Issue
Block a user