diff options
author | Karl Berry <karl@freefriends.org> | 2013-06-29 15:39:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-06-29 15:39:27 +0000 |
commit | f947fc5dcc8614464257532183cf33dde5becf4d (patch) | |
tree | f9105f1e5173b8b9173ac631a9bdda97622d170e /Master/texmf-dist | |
parent | 7c5a8e92c1da86e6be7d70415a93a1fd582afe63 (diff) |
mbenotes (3jun13)
git-svn-id: svn://tug.org/texlive/trunk@31040 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/mbenotes/README | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mbenotes/mbenotes.pdf | bin | 344846 -> 344396 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mbenotes/mbenotes.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mbenotes/mbenotes.sty | 20 |
4 files changed, 11 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/mbenotes/README b/Master/texmf-dist/doc/latex/mbenotes/README deleted file mode 100644 index 61cd670575d..00000000000 --- a/Master/texmf-dist/doc/latex/mbenotes/README +++ /dev/null @@ -1,11 +0,0 @@ - Name of contribution: mbenotes - Version 2 2012-09-21 - Author's name: Matthias Borck-Elsner - Author's email: matthias at kleinesnetzwerk.net - Location on CTAN: http://mirror.ctan.org/macros/latex/contrib/mbenotes/mbenotes.sty - Summary description: Flexible notes in texts,tables,equations and images. - License type: lppl - Announcement text: sty file to place notes into text,tables, equations and images and list them. - New commands are defined:\ruler \imgsize \imgwidth and \imgheight. - The endnotes still work! mbenotes is based on endnotes.sty - Copyright 2002 John Lavagnino. Thanks to John.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/mbenotes/mbenotes.pdf b/Master/texmf-dist/doc/latex/mbenotes/mbenotes.pdf Binary files differindex e595bc4fa6b..885b1664d82 100644 --- a/Master/texmf-dist/doc/latex/mbenotes/mbenotes.pdf +++ b/Master/texmf-dist/doc/latex/mbenotes/mbenotes.pdf diff --git a/Master/texmf-dist/doc/latex/mbenotes/mbenotes.tex b/Master/texmf-dist/doc/latex/mbenotes/mbenotes.tex index 367ff4d6b59..ce087815553 100644 --- a/Master/texmf-dist/doc/latex/mbenotes/mbenotes.tex +++ b/Master/texmf-dist/doc/latex/mbenotes/mbenotes.tex @@ -1 +1 @@ -\documentclass[a4paper,10pt]{article}\usepackage{array,/home/mbe/mbenotes/mbenotes,endnotes,longtable,color,graphicx,picture,amsmath}\usepackage[utf8]{inputenc}\title{mbenotes}\author{Matthias Borck-Elsner}\begin{document} \maketitle \begin{longtable}{p{5cm}p{7cm}} Name of contribution:& mbenotes \\ Version & 2 2012-09-21 \\ Author's name:& Matthias Borck-Elsner \\ Author's email:& matthias at kleinesnetzwerk.net \\ Location on CTAN:& http://mirror.ctan.org/ macros/ latex/ contrib/mbenotes/ mbenotes.sty \\ Summary description:& Flexible notes in texts, tables and images, like footnotes and endnotes. \\ License type:& lppl \\ Announcement text:& sty file to place notes into text, tables, equations and images and list them. \\ & For every purpose a note command is defined: mbenote, tab.., math., img... \\ & New commands are defined: \textbackslash ruler \textbackslash imgwidth and \textbackslash imgheight\\ & The endnotes still work! \\ &mbenotes is based on endnotes.sty Copyright 2002 John Lavagnino. \\ \end{longtable} \section{mbenotes}The mbenotes are similar to endnotes, you put a \textbackslash mbenote\{textofmbenote\} \mbenote{textofmbenote} into your text, a mark is displayed and by calling \textbackslash thembenotes[mbenotes] the notes are listed. All notes up to this point will be listed \mbenote{textof2mbenote} \thembenotes[mbenotes] Next call will list the following notes up to the second call, if no new note is set, the last known note will be repeated.\mbenote{textof3mbenote} As you can see, the name of the notes is optional \mbenote{, you may leave it empty} and formatted as a subsubsection \thembenotes[optional]. \section{tabnotes}\begin{longtable}{p{6cm}p{6cm}} \caption{newtable} \\ \textbackslash tabnote\{tabnotetext\} is used in the same way, they can be set into tables \tabnote{This is a longtable} and texts and are called by \textbackslash thetabnotes[tabnotes] \thetabnotes[column1]& The difference\tabnote{difference} is, that \textbackslash thetabnotes\lbrack \rbrack, if called inside the table, displays the notes up to that point, if you do not call the notes in columns or the table, you might call them at the end of the table, under the table or at end document. \thetabnotes[column2]\end{longtable} \begin{longtable}{|p{6cm}|p{6cm}|} \caption{outside} \\ \hline \newline In this example, the notes are called after the table and outside \tabnote{outside}& \newline of the environment. If you like, you may \tabnote{put your notes under the table} and impress someone.\\ \hline \end{longtable}\thetabnotes[outside] \section{imgnotes} You might want to put notes into images with some help of a ruler... \\ \\ \imgsize{3cm}{3cm} \includegraphics[width=\imgwidth,height=\imgheight]{mbe} \ruler{-0}{0} \putimgnote{-0.50}{0.5}{Hot air balloon} \putimgnote{-1}{1}{There's something special \dots}\theimgnotes[imgnotes] Use \textbackslash putimgnote\{-1\}\{+1\}\{There's something special \dots\} or any value you take from the ruler. The ruler takes its values from \textbackslash imgsize, therefore it has to be called right after the image. If not called, the ruler will not be displayed. \section{mathnote}You might even put notes into equations\dots notes in equations are colored red . \\\begin{equation}42\mathnote{The answer,for now}=\sqrt{mc\textsuperscript{2}} \end{equation} \themathnotes[] \section{Why this was called "tablenotes" at first}When I first was involved, the question was, how to set notes into tables \textbf{and} to display them as tables. \begin{longtable} {|p{4cm}|p{4cm}|} \caption{tablenotes} \\ This is a tabnote \tabnote{This is a tabnote} \thetabnotes[]& This is a tabnote\tabnote{This is a tabnote} \thetabnotes[] \\ \end{longtable} The namings and functions collided with the threeparttable package, so I decided to rename my package "mbenotes"\endnote{Thanks to John Lavagnino \dots to be continued \dots} \theendnotes\end{document}
\ No newline at end of file +\documentclass[a4paper,10pt]{article}\usepackage{array,/home/mbe/mbenotes/mbenotes,endnotes,longtable,color,graphicx,picture,amsmath}\usepackage[utf8]{inputenc}\title{mbenotes}\author{Matthias Borck-Elsner}\begin{document} \maketitle \begin{longtable}{p{5cm}p{7cm}} Name of contribution:& mbenotes \\ Version & 2 2013-06-01 \\ Author's name:& Matthias Borck-Elsner \\ Author's email:& matthias at kleinesnetzwerk.net \\ Location on CTAN:& http://mirror.ctan.org/ macros/ latex/ contrib/mbenotes/ mbenotes.sty \\ Summary description:& Flexible notes in texts, tables and images, like footnotes and endnotes. \\ License type:& lppl \\ Announcement text:& sty file to place notes into text, tables, equations and images and list them. \\ & For every purpose a note command is defined: mbenote, tab.., math., img... \\ & New commands are defined: \textbackslash ruler \textbackslash imgwidth and \textbackslash imgheight\\ & The endnotes still work! \\ &mbenotes is based on endnotes.sty Copyright 2002 John Lavagnino. \\ \end{longtable} \section{mbenotes}The mbenotes are similar to endnotes, you put a \textbackslash mbenote\{textofmbenote\} \mbenote{textofmbenote} into your text, a mark is displayed and by calling \textbackslash thembenotes[mbenotes] the notes are listed. All notes up to this point will be listed \mbenote{textof2mbenote} \thembenotes[mbenotes] Next call will list the following notes up to the second call, if no new note is set, the last known note will be repeated.\mbenote{textof3mbenote} As you can see, the name of the notes is optional \mbenote{, you may leave it empty} and formatted as a subsubsection \thembenotes[optional]. \section{tabnotes}\begin{longtable}{p{6cm}p{6cm}} \caption{newtable} \\ \textbackslash tabnote\{tabnotetext\} is used in the same way, they can be set into tables \tabnote{This is a longtable} and texts and are called by \textbackslash thetabnotes[tabnotes] \thetabnotes[column1]& The difference\tabnote{difference} is, that \textbackslash thetabnotes\lbrack \rbrack, if called inside the table, displays the notes up to that point, if you do not call the notes in columns or the table, you might call them at the end of the table, under the table or at end document. \thetabnotes[column2]\end{longtable} \begin{longtable}{|p{6cm}|p{6cm}|} \caption{outside} \\ \hline \newline In this example, the notes are called after the table and outside \tabnote{outside}& \newline of the environment. If you like, you may \tabnote{put your notes under the table} and impress someone.\\ \hline \end{longtable}\thetabnotes[outside] \section{imgnotes} You might want to put notes into images with some help of a ruler... \\ \\ \imgsize{3cm}{3cm} \includegraphics[width=\imgwidth,height=\imgheight]{mbe} \ruler{-0}{0} \putimgnote{-0.50}{0.5}{Hot air balloon} \putimgnote{-1}{1}{There's something special \dots}\theimgnotes[imgnotes] Use \textbackslash putimgnote\{-1\}\{+1\}\{There's something special \dots\} or any value you take from the ruler. The ruler takes its values from \textbackslash imgsize, therefore it has to be called right after the image. If not called, the ruler will not be displayed. \section{mathnote}You might even put notes into equations\dots notes in equations are colored red . \\\begin{equation}42\mathnote{The answer,for now}=\sqrt{mc\textsuperscript{2}} \end{equation} \themathnotes[] \section{Why this was called "tablenotes" at first}When I first was involved, the question was, how to set notes into tables \textbf{and} to display them as tables. \begin{longtable} {|p{4cm}|p{4cm}|} \caption{tablenotes} \\ This is a tabnote \tabnote{This is a tabnote} \thetabnotes[]& This is a tabnote\tabnote{This is a tabnote} \thetabnotes[] \\ \end{longtable} The namings and functions collided with the threeparttable package, so I decided to rename my package "mbenotes"\endnote{Thanks to John Lavagnino \dots to be continued \dots} \theendnotes\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/mbenotes/mbenotes.sty b/Master/texmf-dist/tex/latex/mbenotes/mbenotes.sty index 781059d8523..faceddc9896 100644 --- a/Master/texmf-dist/tex/latex/mbenotes/mbenotes.sty +++ b/Master/texmf-dist/tex/latex/mbenotes/mbenotes.sty @@ -4,7 +4,7 @@ % * mbeNOTES % **************************************** % -% Date of this version: 2012-9-21 +% Date of this version: 2013-06-1 % Matthias Borck-Elsner % %% Based on endnotes.sty Copyright 2002 John Lavagnino @@ -104,7 +104,7 @@ %% **************************************** %% %% -\ProvidesPackage{mbenotes}[2012/09/21 (Version 2) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor}\@definecounter{mbenote} +\ProvidesPackage{mbenotes}[2013/06/01 (Version 3) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor,amsmath}\@definecounter{mbenote} \def\thembenote{\@arabic\c@mbenote} \def\@makembemark{\hbox{\@textsuperscript{{\tiny\@thembemark}}}} @@ -267,7 +267,7 @@ % * tabNOTES % **************************************** % -% Date of this version: 2012-9-21 +% Date of this version: 2013-06-1 % Matthias Borck-Elsner % %% Based on endnotes.sty Copyright 2002 John Lavagnino @@ -367,7 +367,7 @@ %% **************************************** %% %% -\ProvidesPackage{mbenotes}[2012/09/21 (Version 2) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor}\@definecounter{tabnote} +\ProvidesPackage{mbenotes}[2013/06/01 (Version 3) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor,amsmath}\@definecounter{tabnote} \def\thetabnote{\@arabic\c@tabnote} \def\@maketabmark{\hbox{\@textsuperscript{{\tiny\@thetabmark}}}} @@ -530,7 +530,7 @@ % * imgNOTES % **************************************** % -% Date of this version: 2012-9-21 +% Date of this version: 2013-06-1 % Matthias Borck-Elsner % %% Based on endnotes.sty Copyright 2002 John Lavagnino @@ -630,7 +630,7 @@ %% **************************************** %% %% -\ProvidesPackage{mbenotes}[2012/09/21 (Version 2) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor}\@definecounter{imgnote} +\ProvidesPackage{mbenotes}[2013/06/01 (Version 3) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor,amsmath}\@definecounter{imgnote} \def\theimgnote{\@arabic\c@imgnote} \def\@makeimgmark{\hbox{\@textsuperscript{{\tiny\@theimgmark}}}} @@ -820,7 +820,7 @@ % * mathNOTES % **************************************** % -% Date of this version: 2012-9-21 +% Date of this version: 2013-06-1 % Matthias Borck-Elsner % %% Based on endnotes.sty Copyright 2002 John Lavagnino @@ -920,7 +920,7 @@ %% **************************************** %% %% -\ProvidesPackage{mbenotes}[2012/09/21 (Version 2) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor}\@definecounter{mathnote} +\ProvidesPackage{mbenotes}[2013/06/01 (Version 3) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor,amsmath}\@definecounter{mathnote} \def\themathnote{\@arabic\c@mathnote} \def\@makemathmark{\hbox{\@textsuperscript{ \textcolor{red}{\tiny(\@themathmark)}}}} @@ -1081,7 +1081,7 @@ % * bibNOTES % **************************************** % -% Date of this version: 2012-9-21 +% Date of this version: 2013-06-1 % Matthias Borck-Elsner % %% Based on endnotes.sty Copyright 2002 John Lavagnino @@ -1181,7 +1181,7 @@ %% **************************************** %% %% -\ProvidesPackage{mbenotes}[2012/09/21 (Version 2) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor}\@definecounter{bibnote} +\ProvidesPackage{mbenotes}[2013/06/01 (Version 3) Notes for Text,tables,images and equations ]\RequirePackage{graphicx,xcolor,amsmath}\@definecounter{bibnote} \def\thebibnote{\@arabic\c@bibnote} \def\@makebibmark{\hbox{\@textsuperscript{{\tiny\@thebibmark}}}} |