From 74d5eba1f2b1707bfc98e257fa5fb2010db8ab25 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 26 Oct 2011 00:55:25 +0000 Subject: new latex package tram (25oct11) git-svn-id: svn://tug.org/texlive/trunk@24395 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tram/README | 12 ++++++++++ Master/texmf-dist/doc/latex/tram/tram-doc.pdf | Bin 0 -> 26324 bytes Master/texmf-dist/doc/latex/tram/tram-doc.tex | 32 ++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/tram/README create mode 100644 Master/texmf-dist/doc/latex/tram/tram-doc.pdf create mode 100644 Master/texmf-dist/doc/latex/tram/tram-doc.tex (limited to 'Master/texmf-dist/doc/latex/tram') diff --git a/Master/texmf-dist/doc/latex/tram/README b/Master/texmf-dist/doc/latex/tram/README new file mode 100644 index 00000000000..1b03b8f6567 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tram/README @@ -0,0 +1,12 @@ +__________________ +The tram package + +This package implements tram environment that can be used +for producing tram boxes in LaTeX. + +______________ +Vafa Khalighi +vafaklg@gmail.com + +Copyright 2011 +Distributed under the LaTeX Project Public License diff --git a/Master/texmf-dist/doc/latex/tram/tram-doc.pdf b/Master/texmf-dist/doc/latex/tram/tram-doc.pdf new file mode 100644 index 00000000000..573ed32d6c3 Binary files /dev/null and b/Master/texmf-dist/doc/latex/tram/tram-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/tram/tram-doc.tex b/Master/texmf-dist/doc/latex/tram/tram-doc.tex new file mode 100644 index 00000000000..4e4c4cac3b2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tram/tram-doc.tex @@ -0,0 +1,32 @@ +\documentclass{article} +\usepackage[left=2.5cm,right=2.5cm,bottom=2.5cm,top=2.5cm]{geometry} +\usepackage{bidicode} +\usepackage{tram} +\title{The \textsf{tram} Package} +\author{Vafa Khalighi} +\begin{document} +\maketitle +\textsf{tram.sty} provides the \texttt{tram} environment for typesetting tram boxes. Tram is a collection of heaps of tiny dots that you can put it in different parts of your document to decorate/emphasize your text. To tramize our text, we use \texttt{tram} environment which has the following syntax: +\begin{BDef} +\LBEG{tram}\OptArg{\Larga{integer}}\\ +\ldots\ \Larga{text} \ldots\\ +\LEND{tram} +\end{BDef} +Where \Larga{integer} is the optional argument and $0\leq\langle integer\rangle\leq1535$. Specifying \Larga{integer} changes the overall shapes of dots. If your text is more than one line, then you should use \Lcs{parbox} command or \texttt{minipage} environment: + +\bigskip +\begin{lstlisting} +%\begin{tram}[209] +%\parbox{0.94\linewidth}{% +%Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +%} +%\end{tram} +\end{lstlisting} + +\bigskip +\begin{tram}[209] +\parbox{0.94\linewidth}{% +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +} +\end{tram} +\end{document} \ No newline at end of file -- cgit v1.2.3