5

Do you know of any latex example or a package that I could use to print a pocket sized paper? All records will have a format like this:

| name | phone | e-mail |

It would contain only 15 records for now so I think an A6 or A7 would be a good paper size.

UPDATE: It would be nice to have cropping marks to help me cutting the A6 or A7 paper shape. I would like to fill an A4 paper with those pocket-sized phone books and then cut them for my 15 friends in the list.

1
  • It seems as if the directory package could do this for you (although I've never used it).
    – Thorsten
    Commented Jun 11, 2011 at 13:59

2 Answers 2

4

Cant u just make a file like this on a6 paper:

\begin{tabbing}
namename \= phonephone \= email \kill
John Doe \> 555-555 \> [email protected] \\
\end{tabbing}

Or with a simple table?

\begin{tabular}{p{1.5cm}p{1.5cm}p{1.5cm} }
John Doe & 555-555 & [email protected] \\
\end{tabular}
\end{document}

My testfile:

\documentclass{article}
\usepackage{wasysym} 
\usepackage{marvosym}
\usepackage[dutch]{babel}
\usepackage{geometry}
\geometry{
paperwidth=4.13in,
paperheight=5.83in,
margin=2em,
bottom=1.5em,
nohead
}
\usepackage[cam, a4]{crop}
\begin{document}
\crop[cross]
\begin{tabbing}
name name name \= phonephone \= email \kill
\male \ John Doe \> \phone \ 555-555 \> \Letter\ [email protected] \\
\end{tabbing}


\begin{tabular}{p{2cm}p{2cm}p{2cm} }
\male \ John Doe & \phone \ 555-555 &\Letter [email protected] \\
\end{tabular}
\end{document}

Output: enter image description here

9
  • thx but, if it's possible, can you post the complete latex code?
    – microspino
    Commented Jun 11, 2011 at 13:52
  • Added =) This works for u?
    – Elmer
    Commented Jun 11, 2011 at 13:53
  • Sure, It's a start. So you got my +1, but I'm searching for a little more :) like cropping marks and some symbol (a phone and a mail envelope for example)
    – microspino
    Commented Jun 11, 2011 at 14:01
  • U can do so using the tex.ac.uk/tex-archive/fonts/psfonts/marvosym/marvodoc.pdf package
    – Elmer
    Commented Jun 11, 2011 at 14:05
  • 1
    @microspino: most often you can't expect a solution custom-tailored for your needs that is already made -- especially if you didn't specify what you really wanted in the first place. Telephone and mail symbols are really easy to add (ctan.ijs.si/tex-archive/info/symbols/comprehensive/…, or tex.ac.uk/tex-archive/fonts/psfonts/marvosym/marvodoc.pdf as Elmer suggested). What kind of cropping marks did you want? You might consider editing your question to include those additional requirements. As-is, you have been given a complete, simple and useful answer.
    – ipavlic
    Commented Jun 11, 2011 at 14:09
9

enter image description here

\documentclass[dvipsnames,10pt]{article}
\usepackage
[
a6paper,
margin=5mm
]
{geometry}
\usepackage[table]{xcolor}
\usepackage{longtable,array}
\usepackage{marvosym}
\usepackage{graphicx}
\pagestyle{empty}

\begin{document}
\centering\sf
\rowcolors{2}{Green!10}{Yellow!10}
\begin{longtable}{*{4}{>{\scriptsize}c}}
\rowcolor{Gray!20}
\raisebox{-0.5pt}{\textbf{Gender}} & \raisebox{-0.5pt}{\textbf{Name}} & \raisebox{-0.8pt}{\Large\Telefon} & \raisebox{-2.5pt}{\Large\Email} \\
\Mars  & Barrack Obama        & 01234567 & [email protected] \\ 
\Mars  & Steven Spielberg     & 01234567 & [email protected] \\ 
\Venus & Sarah Louise Palin   & 01234567 & [email protected] \\ 
\Mars  & Donald E. Knuth      & 01234567 & [email protected] \\ 
\Mars  & Steve Jobs           & 01234567 & [email protected] \\ 
\Venus & xport                & 01234567 & [email protected] \\ 
\end{longtable}
\end{document}
4
  • You could also look at auto-generating the table using the datatool package, say from a .csv original. (That of course is most useful for bigger tables.)
    – Joseph Wright
    Commented Jun 11, 2011 at 14:38
  • 1
    Nice answer, not sure about the gender symbol if needed or not, seems a bit unecessary. I would also suggest a clickable mail address.
    – yannisl
    Commented Jun 11, 2011 at 19:06
  • So that is how you can spend so much time here, xport! You are in fact six people at the same time! Nice answer, by the way. Commented Jun 11, 2011 at 19:19
  • As you're already using marvosym at any rate, I suggest using its \Male and \Female symbols instead of \Mars and \Venus. This would be semantically cleaner and I think the astronomical symbols, which you're using, would have an odd look for gender symbols, they look more like the letter "O" with something attached to it rather than a circle with something.
    – doncherry
    Commented Aug 3, 2011 at 18:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .