Document Classesflashcards | Paper Size Configuration

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
jarevalo
Posts: 1
Joined: Tue Jul 24, 2012 9:47 am

flashcards | Paper Size Configuration

Post by jarevalo »

Hey there,

I am using the flashcards package and I am having a hard time in configuring the paper size (Avery c2318 - the equivalent in Europe to Avery 5388) with the parameters listed in the manual (cardpaper, cardpapermode, cardrows, cardcolumns, cardheight, cardwidth, topoffset, oddoffset and evenoffset).

The thing is that I am using an A4 format(landscape orientation) in which the cards are separated by a 4mm (0.157in) column and a 5mm (0.197in) row; something that is not foreseen in the paper configuration parameters.

Can anyone please give me a hint on how to take into account the empty column and row?

The layout of the paper I am using can be found at:
http://www.avery.fr/vgnfiles//fr/A-0777-01.doc

I would be grateful for any help you could provide.

Cheers

Declare Lengths

Code: Select all

\newlength{\cardheight}
\newlength{\cardwidth}
\newlength{\topoffset}
\newlength{\oddoffset}
\newlength{\evenoffset}
\newlength{\oddevenshift}
%
\newlength{\cardmargin}
\newlength{\cardinnerheight}
\newlength{\cardinnerwidth}
Setup Paper

Code: Select all

\setlength{\oddevenshift}{\oddoffset}
\addtolength{\oddevenshift}{-\evenoffset}
\addtolength{\oddoffset}{-\oddevenshift}
\addtolength{\evenoffset}{\oddevenshift}
\geometry{\cardpapermode,
\cardpaper,
top=\topoffset,
113 left=\oddoffset,
114 right=\evenoffset,
115 bottom=0.0in,
116 noheadfoot}
117 \ifthenelse{\boolean{flashcards@dvips}}{\geometry{dvips}}{}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply