[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: label printing
Am Mittwoch, den 04.02.2009, 23:30 +0100 schrieb Levente Kovacs:
> I would like to print labels. For this I'd generate N times some labels, with
> slight different content. Then I have N *.eps file.
>
> Question. How do I merge them into one A4 postscript page?
>
> Options I have so far.
>
> * LaTex. It is pain to do it, but once it's done, it's okay.
I think this is not too much related to gEDA :-[
I made some with LaTeX some time ago, try something like
stefan@AMD64-X2 ~/LaTeX/Labels $ cat RLabel.tex
% Simple rectangular labels with adjustable size
% S. Salewski, 21-MAI-2006
\documentclass{article}[12pt,a4paper]
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
% Use Times font:
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\newlength{\mylabelwidth}
\newlength{\mylabelheight}
\setlength{\mylabelwidth}{5cm} % width of labels
\setlength{\mylabelheight}{2cm} % height of labels
\setlength{\fboxrule}{0.5mm} % thickness of frame
\setlength{\fboxsep}{5mm} % minimum distance frame to text
\addtolength{\mylabelwidth}{-2\fboxrule}
\addtolength{\mylabelwidth}{-2\fboxsep}
\addtolength{\mylabelheight}{-2\fboxrule}
\addtolength{\mylabelheight}{-2\fboxsep}
\newcommand{\rlabel}[1]{
\fbox{%
\begin{minipage}[c][\mylabelheight]{\mylabelwidth}
\centering% center text horizontally
\large% textsize
#1
\end{minipage}}}
\begin{document}
\setlength{\parindent}{0pt}
\rlabel{Etikett 1}
\rlabel{Etikett 2}
\rlabel{Etikett 3}
\rlabel{Und noch ein Etikett mit mehr Text.}
\end{document}
And you can make CD-Covers too:
stefan@AMD64-X2 ~/LaTeX/CD-Covers $ cat New.tex
% Simple retangular labels for CD- and DVD-Covers
% S. Salewski, 21-MAI-2006
\documentclass[12pt, a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
% Use Times font:
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
%\usepackage{extsizes} % larger text sizes
\usepackage[a4paper]{geometry}
\usepackage[cam,a4,center]{crop}
\geometry{
paperwidth=12cm,
paperheight=12cm,
margin=2em,
nohead
}
\begin{document}
\pagestyle{empty}
\setlength{\parindent}{0pt}
\newpage
\section*{Datensicherung auf DVD-RAM\\Rechner AMD64X2 (Gentoo AMD64)\
\Juni 2008}
\subsection*{Kopien wichtiger Dateien (/mnt/data/stefan)}
\begin{itemize}
\item Bibliothek
\item Briefe
\item gEDA
\item HTML
\item LaTeX
\item Notizen
\item Projekte
\item Tresor
\end{itemize}
%\end{document}
\newpage
\section*{Datensicherung auf DVD-RAM\\Rechner Salewski1\\2006}
\subsection*{Fortlaufende Sicherung}
Methode: cp bzw. rsync
\begin{itemize}
\item Notizen
\item HTML
\item \LaTeX
\end{itemize}
\end{document}
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user