summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/sitem
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/sitem
Initial commit
Diffstat (limited to 'macros/latex/contrib/sitem')
-rw-r--r--macros/latex/contrib/sitem/sitem.dtx65
-rw-r--r--macros/latex/contrib/sitem/sitem.ins46
-rw-r--r--macros/latex/contrib/sitem/sitem.pdfbin0 -> 78570 bytes
3 files changed, 111 insertions, 0 deletions
diff --git a/macros/latex/contrib/sitem/sitem.dtx b/macros/latex/contrib/sitem/sitem.dtx
new file mode 100644
index 0000000000..b8fe1e6251
--- /dev/null
+++ b/macros/latex/contrib/sitem/sitem.dtx
@@ -0,0 +1,65 @@
+% \iffalse meta-comment
+%
+% sitem.dtx
+% Copyright 2011 Piotr Majkrzak <petrol.91@gmail.com>
+%
+% This work may be distributed and/or modified under the
+% 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
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Piotr Majkrzak.
+%
+% This work consists of the files sitem.dtx and sitem.ins
+% and the derived file sitem.sty.
+%
+% \fi
+%%
+%\iffalse
+%<*driver>
+\documentclass[a4paper]{ltxdoc}
+ \EnableCrossrefs
+ \CodelineIndex
+ \RecordChanges
+ \usepackage{sitem}
+\usepackage[utf8x]{inputenc}
+\usepackage{url}
+\usepackage{hyperref}
+ \hypersetup%
+ {%
+ unicode,
+ pdftitle=sitem LaTeX package documentation,
+ pdfauthor=Piotr Majkrzak,
+ pdfborder={0 0 0},
+ pdfhighlight={/N}
+ }
+\title{sitem \fileversion\\{\large\fileinfo}}
+\author{Piotr Majkrzak\\\href{mailto:petrol.91@gmail.com}{\texttt{<petrol.91@gmail.com>}}}
+\date{\filedate}
+\begin{document}
+ \DocInput{sitem.dtx}
+\end{document}
+%</driver>
+%\fi
+% \GetFileInfo{sitem.sty}
+% \maketitle
+% \begin{macro}{\sitem[]}
+% is the only macro provided by the |sitem| package.
+% It is a save equivalent of standard |\item[]| command, where normally |\texttt|,|\lstinline| and other similar commands wont work.
+% Implementation isn't long, and you can see it bellow:
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{sitem}
+ [2011/04/18 v1.0 save item environment]
+\makeatletter
+\newsavebox{\@sitem}
+\def\sitem[#1]{\sbox{\@sitem}{#1}\item[\usebox{\@sitem}]}
+\makeatother
+% \end{macrocode}
+% \end{macro}
+\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/sitem/sitem.ins b/macros/latex/contrib/sitem/sitem.ins
new file mode 100644
index 0000000000..c0feb0417d
--- /dev/null
+++ b/macros/latex/contrib/sitem/sitem.ins
@@ -0,0 +1,46 @@
+%% sitem.ins
+%% Copyright 2011 Piotr Majkrzak <petrol.91@gmail.com>
+%
+% This work may be distributed and/or modified under the
+% 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
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Piotr Majkrzak.
+%
+% This work consists of the files sitem.dtx and sitem.ins
+% and the derived file sitem.sty.
+
+\def\batchfile{sitem.ins}
+\input docstrip.tex
+\keepsilent
+
+
+\preamble
+Copyright 2011 Piotr Majkrzak <petrol.91@gmail.com>
+
+This work may be distributed and/or modified under the
+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
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Piotr Majkrzak.
+
+This work consists of the files sitem.dtx and sitem.ins
+and the derived file sitem.sty.
+\endpreamble
+
+
+\askforoverwritefalse
+\generate{\file{sitem.sty}{\from{sitem.dtx}{sitem}}}
+\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/sitem/sitem.pdf b/macros/latex/contrib/sitem/sitem.pdf
new file mode 100644
index 0000000000..7332c2cda0
--- /dev/null
+++ b/macros/latex/contrib/sitem/sitem.pdf
Binary files differ