-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblock-mod.sty
39 lines (37 loc) · 986 Bytes
/
block-mod.sty
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
% From https://www.ctan.org/pkg/block
\NeedsTeXFormat{LaTeX2e}[1996/06/01] \NeedsTeXFormat{LaTeX2e}
\usepackage{changepage}
\renewcommand*{\opening}[1]{\ifx\@empty\fromaddress
\thispagestyle{firstpage}%
{%\raggedleft
\@date\par}%
\else % home address
\thispagestyle{empty}%
{%\raggedleft\begin{tabular}{l@{}}\ignorespaces
\begin{adjustwidth}{-0.92cm}{0cm}%
\fromaddress%
\end{adjustwidth}%
\vspace{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'.