summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/crbox/crbox-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/crbox/crbox-doc.tex')
-rwxr-xr-xmacros/latex/contrib/crbox/crbox-doc.tex50
1 files changed, 50 insertions, 0 deletions
diff --git a/macros/latex/contrib/crbox/crbox-doc.tex b/macros/latex/contrib/crbox/crbox-doc.tex
new file mode 100755
index 0000000000..9b6abd3929
--- /dev/null
+++ b/macros/latex/contrib/crbox/crbox-doc.tex
@@ -0,0 +1,50 @@
+\documentclass[a4paper]{article}
+\usepackage{bidicode}
+\usepackage{crbox}
+\setlength{\fboxsep}{10pt}
+\title{The \textsf{crbox} Package}
+\author{Persian TeX Group\\ \texttt{persian-tex@tug.org}}
+\begin{document}
+\maketitle
+Provides \Lcs{crbox} which typesets boxes with crossing lines at corners. The syntax is:
+\begin{BDef}
+\Lcs{crbox}\OptArgs\Largb{\Larga{text}}
+\end{BDef}
+Options are \textsf{curved} and \textsf{hollowcurved}.
+
+\bigskip
+\begin{lstlisting}[morekeywords={crbox}]
+%\crbox{\parbox{0.8\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{lstlisting}
+
+\bigskip
+\crbox{\parbox{0.8\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.
+}}
+
+\bigskip
+\begin{lstlisting}[morekeywords={crbox}]
+%\crbox[curved]{\parbox{0.8\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{lstlisting}
+
+\bigskip
+\crbox[curved]{\parbox{0.8\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.
+}}
+
+\bigskip
+\begin{lstlisting}[morekeywords={crbox}]
+%\crbox[hollowcurved]{\parbox{0.8\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{lstlisting}
+
+\bigskip
+\crbox[hollowcurved]{\parbox{0.8\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{document}