summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/titlesec/block.tss
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:09:20 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:09:20 +0000
commitdfa401eaa72183dde77ddd8e40d6893483a5260f (patch)
tree0d3b48ac2e8a4bbf29be5cd2c8ca41c1c33633d5 /Master/texmf-dist/tex/latex/titlesec/block.tss
parent27a4bc056250bdb3a69f7214928dec0001cb4bf6 (diff)
titlesec
git-svn-id: svn://tug.org/texlive/trunk@1393 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/titlesec/block.tss')
-rw-r--r--Master/texmf-dist/tex/latex/titlesec/block.tss37
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/titlesec/block.tss b/Master/texmf-dist/tex/latex/titlesec/block.tss
new file mode 100644
index 00000000000..93055c573b7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/titlesec/block.tss
@@ -0,0 +1,37 @@
+% +--------------------------------------------------+
+% | Typeset titlesec.tex to get the documentation. |
+% +--------------------------------------------------+
+%
+% Copyright (c) 1998-2005 by Javier Bezos.
+% All Rights Reserved.
+%
+% This file is part of the titlesec distribution release 2.6
+% -----------------------------------------------------------
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License Distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or any later version.
+
+\ProvidesFile{block.tss}[2005/01/22]
+
+\gdef\ttlh@block#1#2#3#4#5#6#7#8{%
+ \gdef\ttl@makeline##1{\ttl@calc\hspace{#6}##1\ttl@calc\hspace{#7}}%
+ \setlength\leftskip{#6}%
+ \setlength\rightskip{#7}%
+ \interlinepenalty\@M
+ \ttl@changecentercr
+ \ttl@beginlongest
+ #1% \ifhmode\ttl@hmode@error\fi
+ \ttl@glcmds
+ \parindent\z@
+ \leavevmode
+ \ifttl@label
+ {#2}%
+ \setlength\@tempskipa{#3}%
+ \ifdim\@tempskipa=\z@\else\ttl@calc\hspace{#3}\fi
+ \fi
+ #4{#8}%
+ \kern\z@\strut\@@par
+ \nobreak\ttl@midlongest#5\@@par
+ \ttl@endlongest}