summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/mfpic/mfpicdef.tex
blob: 96d7d8d8cc57c3e295138f1b4c0b95b82959b3e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%%
%% This is file `mfpicdef.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% mfpic.dtx  (with options: `defs')
%% 
%% -------------------------------------------------------------------
%% 
%% Copyright 2002--2012, Daniel H. Luecking
%% 
%% Mfpic may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License, either version 1.3c 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.3c or later is part of all distributions of LaTeX version
%% 2008/12/01 or later.
%% 
%% Mfpic has maintenance status "author-maintained". The Current Maintainer
%% is Daniel H. Luecking. There are several Base Interpreters associated
%% with mfpic: plain TeX, LaTeX, plain Metafont and plain MetaPost.
%% 
\gdef\mpxshipout{\afterassignment\middlempxshipout\setbox0=\hbox}%
\gdef\middlempxshipout{\aftergroup\finishmpxshipout}%
\gdef\finishmpxshipout{\dimen1=\ht0 \dimen2=\dp0
  \dimen0=\dimen1 \advance\dimen0\dimen2
  \setbox0=\hbox{\hbox{\box0
    \ifnum\dimen0>0 \vrule width1sp height\dimen1 depth\dimen2
    \else \vrule width1sp height1sp depth0sp\relax
    \fi}}%
  \ht0=0pt \dp0=0pt \shipout\hbox{\box0}}%
\def\MFPtext#1{\vbox{\def\\{\cr}\MFPcfont\MFPeverylabel
  \halign{##\hfil\cr#1\crcr}}}%
\let\MFPbegingroup\begingroup
\let\MFPendgroup\endgroup
\endinput
%%
%% End of file `mfpicdef.tex'.