diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/KOMA-Script-4/Kapitel-14 |
Initial commit
Diffstat (limited to 'info/examples/KOMA-Script-4/Kapitel-14')
-rw-r--r-- | info/examples/KOMA-Script-4/Kapitel-14/result/remarkexample.pdf | bin | 0 -> 51395 bytes | |||
-rw-r--r-- | info/examples/KOMA-Script-4/Kapitel-14/source/remarkbox.sty | 43 | ||||
-rw-r--r-- | info/examples/KOMA-Script-4/Kapitel-14/source/remarkexample.tex | 44 |
3 files changed, 87 insertions, 0 deletions
diff --git a/info/examples/KOMA-Script-4/Kapitel-14/result/remarkexample.pdf b/info/examples/KOMA-Script-4/Kapitel-14/result/remarkexample.pdf Binary files differnew file mode 100644 index 0000000000..d0a0a61ddc --- /dev/null +++ b/info/examples/KOMA-Script-4/Kapitel-14/result/remarkexample.pdf diff --git a/info/examples/KOMA-Script-4/Kapitel-14/source/remarkbox.sty b/info/examples/KOMA-Script-4/Kapitel-14/source/remarkbox.sty new file mode 100644 index 0000000000..4f354600e7 --- /dev/null +++ b/info/examples/KOMA-Script-4/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/info/examples/KOMA-Script-4/Kapitel-14/source/remarkexample.tex b/info/examples/KOMA-Script-4/Kapitel-14/source/remarkexample.tex new file mode 100644 index 0000000000..33ae2bdaba --- /dev/null +++ b/info/examples/KOMA-Script-4/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 |