diff options
author | Karl Berry <karl@freefriends.org> | 2010-02-26 00:52:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-02-26 00:52:26 +0000 |
commit | 07bb3ae20ed88951d1ca11c2e48b7db349ec3195 (patch) | |
tree | 0dfb3844eef35d0dc3429f0ba9e9b25f3a2b4b30 /Master/texmf-dist/tex/latex/block | |
parent | feaef89d3987fe1609ba68911dd14c7153f45406 (diff) |
block doc update
git-svn-id: svn://tug.org/texlive/trunk@17209 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/block')
-rw-r--r-- | Master/texmf-dist/tex/latex/block/block.sty | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/block/block.sty b/Master/texmf-dist/tex/latex/block/block.sty new file mode 100644 index 00000000000..ab1b7ecf6fe --- /dev/null +++ b/Master/texmf-dist/tex/latex/block/block.sty @@ -0,0 +1,33 @@ +\NeedsTeXFormat{LaTeX2e}[1996/06/01] \NeedsTeXFormat{LaTeX2e} + +\renewcommand*{\opening}[1]{\ifx\@empty\fromaddress + \thispagestyle{firstpage}% + {%\raggedleft + \@date\par}% + \else % home address + \thispagestyle{empty}% + {%\raggedleft\begin{tabular}{l@{}}\ignorespaces + \fromaddress \\*[2\parskip]% + \@date %\end{tabular} + \par}% + \fi + \vspace{2\parskip}% + {\raggedright \toname \\ \toaddress \par}% + \vspace{2\parskip}% + #1\par\nobreak} +\renewcommand{\closing}[1]{\par\nobreak\vspace{\parskip}% + \stopbreaks + \noindent + \ifx\@empty\fromaddress\else + %\hspace*{\longindentation} + \fi + %\parbox{\indentedwidth} + {\raggedright + \ignorespaces #1\\[6\medskipamount]% + \ifx\@empty\fromsig + \fromname + \else \fromsig \fi\strut}% + \par} +\endinput +%% +%% End of file `block.sty'. |