LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joseph Wright <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Sun, 6 Mar 2011 17:50:49 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
On 06/03/2011 12:50, Arno Trautmann wrote:
> Ok, to go into detail: I wrote a class for typesetting flashcards to
> prepare for exams. The user writes something like
> 
> \card
> question1
> 
> answer1
> 
> etc. The blank lines are just to minimize writing effort. The questions
> are then set on the front side of a paper, the answers on the back side.
> Now, question and answer have to fit together, so I have to store
> content in boxes and putting them in the correct order onto a grid on
> both sides of a page.
> Using LaTeX2ε, I stored the content in macros with names given by a
> counter (question@page) that is raised for every question on one page:
> 
> \expandafter\def\csname answer@\thequestion@page \endcsname{#3}
> 
> and placed them using minipages and reversed textdirection (rtl) for the
> answers. That was not very robust and the code looks ugly, so I am
> looking for a more stable way and coffins seem to be helpful here.

Seems like a good enough reason for "c" variants at a code level to me.
Expect them to pop up later today or tomorrow.
-- 
Joseph Wright

ATOM RSS1 RSS2