% \iffalse % meta-comment
% This is the mpfnmark package 
% Copyright 1996
% The WK LaTeX Project
% W. Kowarschick (kowa@informatik.tu-muenchen.de)
% \fi
%
\def\filename{mpfnmark}
\def\fileversion{v1.0}
\def\filedate{1996/11/27}
\def\docdate{1996/11/27}
%  \CheckSum{49}
%
% \title{The \texttt{mpfnmark} Package\thanks{This file has version 
% number \fileversion, last revised \filedate, documentation dated \docdate}}
% \author{W. Kowarschick\\
%         \\
%         Technische Universiteat Muenchen\\
%         Orleansstr. 34\\
%         81667 Muenchen\\
%         \\
%         |kowa@informatik.tu-muenchen.de|\\
%        }
%
% \maketitle
%
% \section{Introduction}
% 
% The \texttt{mpfnmark} package provides the command |\mpfootnotemark|,
% which can be used in the same way as |\footnotemark|. The difference 
% between these two macros is that within minipage environments the latter 
% uses the standard footnote marker style (defined by |\thefootnote|), 
% while the new command uses the minipage footnote marker style (defined
% by |\thempfootnote|).
% 
% \section{A Sample Section Containing Only A Minipage}
% 
% \hfill
% \begin{minipage}{0.75\textwidth}
%   This is a sentence with a footnote inside a minipage.\footnote{This is
%     the footnote of the sentence with a footnote inside a minipage.} This is
%   a sentence with a footnote outside that minipage.\footnotemark\ This is a
%   sentence with the same footnote as the first sentence.\mpfootnotemark[1]\ 
% \end{minipage}
% \hfill
% \footnotetext{
%   This is the footnote of the sentence with a footnote outside the minipage.}
% 
% \section{A Sample Section Containing No Minipage}
% 
% This is a further sentence with a footnote outside the minipage.\footnote{
%   This is the footnote of the further sentence with a footnote outside the
%   minipage.} This is a sentence with the same footnote as the first sentence
% outside the minipage (marked by |\footnotemark[2]|).\footnotemark[2]\ 
% This is a further sentence with the same footnote as the first sentence
% outside the minipage (marked by |\mpfootnotemark[2]|).\mpfootnotemark[2]\ 
% 
% \newpage
% \section{Source of the First Two Sections}
% \footnotesize
% \begin{verbatim}
% \section{A Sample Section Containing Only A Minipage}
% 
% \hfill
% \begin{minipage}{0.75\textwidth}
%   This is a sentence with a footnote inside a minipage.\footnote{This is
%     the footnote of the sentence with a footnote inside a minipage.} This is
%   a sentence with a footnote outside that minipage.\footnotemark\ This is a
%   sentence with the same footnote as the first sentence.\mpfootnotemark[1]\ 
% \end{minipage}
% \hfill
% \footnotetext{
%   This is the footnote of the sentence with a footnote outside the minipage.}
% 
% \section{A Sample Section Containing No Minipage}
% 
% This is a further sentence with a footnote outside the minipage.\footnote{
%   This is the footnote of the further sentence with a footnote outside the
%   minipage.} This is a sentence with the same footnote as the first sentence
% outside the minipage (marked by |\footnotemark[2]|).\footnotemark[2]\ 
% This is a further sentence with the same footnote as the first sentence
% outside the minipage (marked by |\mpfootnotemark[2]|).\mpfootnotemark[2]\ 
% \end{verbatim}
% 
% \StopEventually{}
%
% \section{The driver file}
% Nothing fancy.
%    \begin{macrocode}
%<*driver>
\documentclass{ltxdoc}
\EnableCrossrefs
%    \end{macrocode}
% Some commonly used abbreviations for option names, filenames, 
% counters and packages.
%    \begin{macrocode}
\newcommand\Lopt[1]{\textsf {#1}}
\newcommand\file[1]{\texttt {#1}}
\newcommand\Lcount[1]{\textsl {\small#1}}
\newcommand\pstyle[1]{\textsl {#1}}
\date{\docdate}
%    \end{macrocode}
% The body of the style. Include all the details.
%    \begin{macrocode}
\usepackage{mpfnmark}
\begin{document}
% \OnlyDescription %uncomment to suppress the source listing
\DocInput{mpfnmark.dtx}
\PrintIndex
\PrintChanges
\end{document}
%</driver>
%    \end{macrocode}
%
% \section{The package}
%    \begin{macrocode}
%<*package>
%    \end{macrocode}
%
%    \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{mpfnmark}[1996/11/27 v1.0 W. Kowarschick LaTeX package]
\typeout{Package: `mpfnmark' v1.0\space<1996/11/27>}
\wlog{Documentation}
%    \end{macrocode}
%
% \begin{macro}{\mpfootnotemark}
% This is the new macro. It is a modified version of |\footnotemark| 
% found in latex.ltx distributed by the LaTeX3 project.
%    \begin{macrocode}
\def\mpfootnotemark{%
   \@ifnextchar[\@xmpfootnotemark
     {\stepcounter{footnote}%
      \protected@xdef\@thefnmark{\thempfn}%
      \@footnotemark}}
\def\@xmpfootnotemark[#1]{%
   \begingroup
      \c@footnote #1\relax
      \unrestored@protected@xdef\@thefnmark{\thempfn}%
   \endgroup
   \@footnotemark}
% </package>
%    \end{macrocode}
% \end{macro}
%
% That's us.  
%    \begin{macrocode}
\endinput
%    \end{macrocode}
%
%
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
% \Finale
