diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-15 16:09:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-15 16:09:12 +0000 |
commit | 31f69448fda960c6678974e0db06daf0b507e7ed (patch) | |
tree | 7174eebd40e0b88143b7723fb2ae67bcfa89d993 /Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14 | |
parent | 4832537e619cf56cb156239805fec6b970d2d179 (diff) |
koma-script-examples
git-svn-id: svn://tug.org/texlive/trunk@29940 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14')
3 files changed, 87 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/result/remarkexample.pdf b/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/result/remarkexample.pdf Binary files differnew file mode 100644 index 00000000000..d0a0a61ddce --- /dev/null +++ b/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/result/remarkexample.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/source/remarkbox.sty b/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/source/remarkbox.sty new file mode 100644 index 00000000000..4f354600e7c --- /dev/null +++ b/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/source/remarkbox.sty @@ -0,0 +1,43 @@ +% remarkbox.sty +% Copyright 2008 Markus Kohm +% +% 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 Markus Kohm. +% +% This work consists of this file only. +%----------------------------------------------------------------------- +\ProvidesPackage{remarkbox}[2008/09/01 Beispielpaket ohne Support aus dem Buch: + ``KOMA-Script, Eine Sammlung von Klassen und Paketen fuer LaTeX2e'', + ISBN 978-3-86541-459-5, Kapitel 14] +\ProcessOptions\relax +% Umgebung +\newenvironment{remarkbox}{% + \@float{remarkbox}% +}{% + \end@float +} +\newcommand*{\fps@remarkbox}{tbp} +\newcommand*{\ftype@remarkbox}{4} +\newcounter{remarkbox} +\newcommand*{\remarkboxformat}{% + Merksatz~\theremarkbox\csname autodot\endcsname} +\newcommand*{\fnum@remarkbox}{\remarkboxformat} +% Verzeichnis +\newcommand*{\ext@remarkbox}{lor} +\RequirePackage{tocbasic} +\addtotoclist[float]{lor} +\newcommand*{\listoflorname}{Verzeichnis der Merks\"atze} +\newcommand*{\l@remarkbox}{\l@figure} +\setuptoc{lor}{chapteratlist} +\newcommand*{\listofremarkboxes}{\listoftoc{lor}} +\newcommand*{\setupremarkboxes}{\setuptoc{lor}} +\endinput diff --git a/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/source/remarkexample.tex b/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/source/remarkexample.tex new file mode 100644 index 00000000000..33ae2bdaba3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/koma-script-examples/Kapitel-14/source/remarkexample.tex @@ -0,0 +1,44 @@ +% Copyright 2008 Markus Kohm +% +% 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 Markus Kohm. +% +% This work consists of this file only. +%----------------------------------------------------------------------- +\documentclass{scrartcl} +\usepackage[ngerman]{babel} +\usepackage{lipsum} +\usepackage{remarkbox} +\begin{document} +\title{Remarkbox-\kern-.2emTest} +\author{Markus Kohm} +\date{2008-09-28} +\maketitle +\listofremarkboxes +\section{Test} +Siehe auch Merksatz~\ref{rem:A} und \ref{rem:B}. +\lipsum[1-4] +\begin{remarkbox} +\centering +\fbox{\parbox{.9\textwidth}{\lipsum[1]}} +\caption{Eine erste Anmerkung} +\label{rem:A} +\end{remarkbox} +\lipsum[5-6] +\begin{remarkbox} +\centering +\fbox{\parbox{.9\textwidth}{\lipsum[3]}} +\caption{Eine zweite Amerkung} +\label{rem:B} +\end{remarkbox} +\lipsum +\end{document}
\ No newline at end of file |