This is for creating flashcards in LaTeX. My printer doesn't support duplex printing - which packages like flashcards and flacards seem to require - so I am trying to create a two-column arrangement as follows on each page:
[Col1: Front side of the card] [Col2: Back side of the card]
Each row would correspond to a single flashcard. The plan is to cut each row up, fold them along the middle and staple them to create a "card".
The question: how best can I create a single box with a specified height and width, and with the text in it aligned vertically?
I am relatively new to Latex, so this cripples my options. I don't need full, detailed answers necessarily - any pointers at all in the right direction would help immensely! Any suggestions on alternative methods to achieve what I'm shooting for would also be helpful.
Many thanks!
\makebox{text}, \mbox{text} enclose text into a box and then print, can be used in math mode. \framebox{text}, \fbox{text} enclose text into a framed box and then print.
You can use \fbox{...} to put a frame around a \parbox{...} containing your text.
\vbox , vertical box with reference point at the last line inside it. \vtop , vertical box with reference point at the first line inside it.
You can use \framebox(200,300){} where the size is given in multiples of \unitlength , defaulting to 1pt .
Suppose you want to create the box of 40pt height and 3cm width:
\vbox to 40pt {\vfil \hbox to 3cm{Some info}% \vfil }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With