From da81f5ddede1a2e77b696387d4e95932c71c9b2d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 15 Oct 2016 22:59:03 +0000 Subject: ticket (11oct16) git-svn-id: svn://tug.org/texlive/trunk@42280 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/ticket/README.txt | 8 +-- Master/texmf-dist/doc/latex/ticket/comment | 4 +- .../doc/latex/ticket/ex_flashcard_dup.pdf | Bin 0 -> 49243 bytes .../doc/latex/ticket/ex_flashcard_rm.pdf | Bin 0 -> 73214 bytes .../doc/latex/ticket/ex_flashcard_rm.tex | 76 +++++++++++++++++++++ Master/texmf-dist/doc/latex/ticket/logo.png | Bin 0 -> 10175 bytes Master/texmf-dist/doc/latex/ticket/manual.pdf | Bin 115160 -> 115068 bytes Master/texmf-dist/doc/latex/ticket/manual.tex | 10 +-- Master/texmf-dist/tex/latex/ticket/ticket.sty | 10 +-- 9 files changed, 93 insertions(+), 15 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf create mode 100644 Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.pdf create mode 100644 Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex create mode 100644 Master/texmf-dist/doc/latex/ticket/logo.png diff --git a/Master/texmf-dist/doc/latex/ticket/README.txt b/Master/texmf-dist/doc/latex/ticket/README.txt index c879e91807a..95f81dbc187 100644 --- a/Master/texmf-dist/doc/latex/ticket/README.txt +++ b/Master/texmf-dist/doc/latex/ticket/README.txt @@ -1,18 +1,18 @@ - ticket.sty v0.4c - Creation of labels, visting cards, pins with LaTeX + ticket.sty v0.4d + Creation of labels, business cards, pins with LaTeX Author: Thomas Emmel +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -This is README.txt, last changed September 6, 2016 +This is README.txt, last changed October 11, 2016 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Idea of ticket: ticket.sty provides an easy to handle interface to create -visiting cards, labels for your files, stickers, pins and +business cards, labels for your files, stickers, pins and other stuff for your office, conferences etc. All you need is a definition of your "ticket" included in a ticket definition file and the two commands diff --git a/Master/texmf-dist/doc/latex/ticket/comment b/Master/texmf-dist/doc/latex/ticket/comment index beb56b34227..979ca1a349b 100644 --- a/Master/texmf-dist/doc/latex/ticket/comment +++ b/Master/texmf-dist/doc/latex/ticket/comment @@ -1,3 +1,3 @@ -Make labels, visiting-cards, pins and flash-cards with LaTeX. -Provides an easy to handle interface to produce visiting-cards, labels for your files, stickers, pins and other stuff for your office, conferences etc. +Make labels, business-cards, pins and flash-cards with LaTeX. +Provides an easy to handle interface to produce business-cards, labels for your files, stickers, pins and other stuff for your office, conferences etc. All you need is a definition of your "ticket" included in a ticket definition file and the two commands \ticketdefault and \ticket. diff --git a/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf new file mode 100644 index 00000000000..f5c858f749c Binary files /dev/null and b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf differ diff --git a/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.pdf b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.pdf new file mode 100644 index 00000000000..d00f0a86bae Binary files /dev/null and b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.pdf differ diff --git a/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex new file mode 100644 index 00000000000..998592c5da0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex @@ -0,0 +1,76 @@ +%%% +% +% ticket.sty example file for flashcards for word learning +% +%%%% +% use the corresponding paper size for your ticket definition +\documentclass[a4paper,10pt]{letter} + +\usepackage[flashCard,boxed,rowmode]{ticket} +\usepackage{graphicx} % load misc stuff +\usepackage{syntonly} %to test without output +\usepackage{fancybox} + +% make your default ticket. \ticketdefault is somewhat like a background +\renewcommand{\ticketdefault}{%no background +} + +% now what do you like to put in your ticket +\newcommand{\card}[2]{\ticket{% + \put(32.5,15){\makebox[0mm]{\centering{\huge{\textbf{#1}}}}} + }} + +\newcommand{\entryroot}[2]{} + +\newcommand{\raiz}[3]{\ticket{% + \put(2,31){{$\sqrt{\enspace}$}} + \put(32.5,15){\makebox[0mm]{{\huge{\textit{{ #1 }}}}}} +}} + +%puts a bullet on the word. +\newcommand{\blt}{$\bullet$\enspace} + +%command for the synonyms +\newcommand{\syn}[1]{ + \begin{center} + \fbox{\parbox[t]{50mm}{\centering{#1}}} + \end{center} +} + +%command for the related words. +\newcommand{\relwords}[1]{$\mathbf{\sim}$ #1} + +%command for the examples +\newcommand{\example}[1]{\\[1.5mm]\textit{#1}} + + + + +%% you can generate this part from a database! +\begin{document} +\input{words} +% change the commands for the backside +\renewcommand{\card}[2]{\ticket{% + \put(3,30){\parbox{58mm}{\large{\textbf{ #1:}}}}% + \put(4,23){\parbox[t]{58mm} {\small {\blt #2}}}% + }} + +\renewcommand{\entryroot}[2]{\small{\textbf{#1 }}\textit{\scriptsize{{#2}}}$\|$} + +\renewcommand{\raiz}[3]{\ticket{% + \put(3,30){\parbox{58mm}{\textbf{#1:} #2}}% + \put(3,13){\parbox{58mm}{#3}}% + }} + +\backside% +\oddsidemargin=8pt +\input{words} +\end{document} + + + + + + + + diff --git a/Master/texmf-dist/doc/latex/ticket/logo.png b/Master/texmf-dist/doc/latex/ticket/logo.png new file mode 100644 index 00000000000..41b14c2e49b Binary files /dev/null and b/Master/texmf-dist/doc/latex/ticket/logo.png differ diff --git a/Master/texmf-dist/doc/latex/ticket/manual.pdf b/Master/texmf-dist/doc/latex/ticket/manual.pdf index 3814b592559..2f69e07c2a9 100644 Binary files a/Master/texmf-dist/doc/latex/ticket/manual.pdf and b/Master/texmf-dist/doc/latex/ticket/manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/ticket/manual.tex b/Master/texmf-dist/doc/latex/ticket/manual.tex index 2bfd2527986..6c0450bea90 100644 --- a/Master/texmf-dist/doc/latex/ticket/manual.tex +++ b/Master/texmf-dist/doc/latex/ticket/manual.tex @@ -24,8 +24,8 @@ \sffamily \title{\begin{minipage}[t]{0.98\textwidth}\begin{center} - {\mdseries \ticket{} v0.4c September 6, 2016}\\[1ex] - Making labels, visiting cards, pins and flash-cards with \LaTeX\\[1ex] + {\mdseries \ticket{} v0.4d October 11, 2016}\\[1ex] + Making labels, business cards, pins and flash-cards with \LaTeX\\[1ex] A short introduction \end{center}\end{minipage}} @@ -43,7 +43,7 @@ \begin{block}{\ticket{}} provides a simple interface to produce \end{block} - visiting (or calling) cards, labels for your files, stickers, pins and + business cards, labels for your files, stickers, pins and other stuff for your office, conferences etc.\\[2ex] All you need is a definition of your \lq{}ticket\rq{} included in a ticket definition file (\code{.tdf}),\\ @@ -53,7 +53,7 @@ See these examples to get an idea what you can get:\\ \begin{exampleblock}{\href{ex_file.pdf}{\code{ex\_file}}}back labels for your files...\end{exampleblock} \begin{exampleblock}{\href{ex_pin.pdf}{\code{ex\_pin}}}pins for a conference...\end{exampleblock} - \begin{exampleblock}{\href{ex_vcard.pdf}{\code{ex\_vcard}}} visiting-cards (also business cards, name cards...)\end{exampleblock} + \begin{exampleblock}{\href{ex_vcard.pdf}{\code{ex\_vcard}}} business-cards...\end{exampleblock} \begin{exampleblock}{\href{ex_marks.pdf}{\code{ex\_marks}}} different markers used...\end{exampleblock} \begin{exampleblock}{\href{ex_flashcard.pdf}{\code{ex\_flashcard}}} flash-cards, try it...\end{exampleblock} \begin{exampleblock}{\href{ex_flashcard_dup.pdf}{\code{ex\_flashcard\_dup}}}in duplex mode\end{exampleblock} @@ -327,7 +327,7 @@ And fill the tickets: \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[fragile]\vspace*{-4mm} -\begin{block}{Visiting-cards} +\begin{block}{Business-cards} In this example, the \code{\bs{}ticketdefault} is empty, since we need a front and and background that differs: \end{block} \begin{quote} diff --git a/Master/texmf-dist/tex/latex/ticket/ticket.sty b/Master/texmf-dist/tex/latex/ticket/ticket.sty index 6821c7ad730..7718ded647f 100644 --- a/Master/texmf-dist/tex/latex/ticket/ticket.sty +++ b/Master/texmf-dist/tex/latex/ticket/ticket.sty @@ -2,12 +2,12 @@ %% %% This is file `ticket.sty', %% -%% File: ticket.sty Copyright (c) 1999,2000,2005 Thomas Emmel +%% File: ticket.sty Copyright (c) 1999-2016 Thomas Emmel %% %% %% % This package may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.2 +% conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt @@ -37,12 +37,14 @@ % v0.4c added \ticketskip to allow for empty tickets % at the start such that you can re-use used sheets % by Maximilian Appel +% v0.4d lost some examples in last package +% no new features % % Many thanks for all contributions % % -\def\fileversion{v0.4c} -\def\filedate{2016/09/06} +\def\fileversion{v0.4d} +\def\filedate{2016/10/11} \ProvidesPackage{ticket}[\filedate\space\fileversion] \typeout{Package: `ticket' \fileversion\space <\filedate> (Thomas Emmel)} -- cgit v1.2.3