summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tex-label/tex-label-doc.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/tex-label/tex-label-doc.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/tex-label/tex-label-doc.tex')
-rw-r--r--macros/latex/contrib/tex-label/tex-label-doc.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/macros/latex/contrib/tex-label/tex-label-doc.tex b/macros/latex/contrib/tex-label/tex-label-doc.tex
new file mode 100644
index 0000000000..5ce605d8a7
--- /dev/null
+++ b/macros/latex/contrib/tex-label/tex-label-doc.tex
@@ -0,0 +1,30 @@
+\documentclass{article}
+
+\newcommand{\texlabel}{{\em tex-label}}
+\newcommand{\labelscom}{{\em \textbackslash labels}}
+
+\begin{document}
+
+\section{Introduction}
+The \texlabel{} package allows you to label parts of your document
+just like labelling e-mail.
+
+\section{Usage}
+You can use the \labelscom{} command when you want to label some part of
+your document. The labels remain effective until you issue the next
+\labelscom{} command.
+
+\section{Example}
+See tex-label-demo.tex and tex-label-demo.pdf
+
+\section{Customizing}
+You can change the color of label text and label background by
+redefining {\em label-color} and {\em label-bg-color} respectievely.
+
+For ex:- to redefine label text to white use
+
+\begin{verbatim}
+\definecolor{label-color}{rgb}{1,1,1}
+\end{verbatim}
+
+\end{document}