summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-26 00:55:25 +0000
committerKarl Berry <karl@freefriends.org>2011-10-26 00:55:25 +0000
commit74d5eba1f2b1707bfc98e257fa5fb2010db8ab25 (patch)
treeb62527850994265e1c2a2af6dde7c9e4e651964b /Master/texmf-dist/doc/latex
parent7ed807ef29f1caa222e89efe7542cf969725c79a (diff)
new latex package tram (25oct11)
git-svn-id: svn://tug.org/texlive/trunk@24395 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/tram/README12
-rw-r--r--Master/texmf-dist/doc/latex/tram/tram-doc.pdfbin0 -> 26324 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tram/tram-doc.tex32
3 files changed, 44 insertions, 0 deletions
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
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tram/tram-doc.pdf
Binary files 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