From 07bb3ae20ed88951d1ca11c2e48b7db349ec3195 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 26 Feb 2010 00:52:26 +0000 Subject: block doc update git-svn-id: svn://tug.org/texlive/trunk@17209 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/block/block.sty | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/block/block.sty (limited to 'Master/texmf-dist/tex/latex/block') 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'. -- cgit v1.2.3