summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/block/block.pdfbin0 -> 63967 bytes
-rw-r--r--Master/texmf-dist/doc/latex/block/block.tex17
-rw-r--r--Master/texmf-dist/tex/latex/block/block.sty33
3 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/block/block.pdf b/Master/texmf-dist/doc/latex/block/block.pdf
new file mode 100644
index 00000000000..8ec6f6f1392
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/block/block.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/block/block.tex b/Master/texmf-dist/doc/latex/block/block.tex
new file mode 100644
index 00000000000..0b95ea85abc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/block/block.tex
@@ -0,0 +1,17 @@
+\documentclass[DIV=7, pagesize=auto, version=last]{scrartcl}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \textsf{block} package}
+\author{Chua Eng Huang}
+\date{1999/07/19}
+
+
+\begin{document}
+
+\maketitle
+
+\noindent
+\textsf{block.sty} is a style file for use with the \textsf{letter} class that overwrites the \verb+\opening+ and \verb+\closing+ macros so that letters can be styled with the block letter style instead of the default style. Thus, the return address, the closing, and the signature appear flushed on the left margin.
+
+\end{document}
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'.