diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
commit | 5c6357cdb820b4f628d036ba7b2248f221d50c0b (patch) | |
tree | 6365552f2737faaffe63a395272da242ee2c4f03 /Master/texmf-dist/tex/context/modules/mkiv/s-article-titlepage.mkiv | |
parent | b4568bc71e054f3d1fd6404b45d2322631778284 (diff) |
ConTeXt version 2019.02.22 19:35
git-svn-id: svn://tug.org/texlive/trunk@50086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/modules/mkiv/s-article-titlepage.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/modules/mkiv/s-article-titlepage.mkiv | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/modules/mkiv/s-article-titlepage.mkiv b/Master/texmf-dist/tex/context/modules/mkiv/s-article-titlepage.mkiv new file mode 100644 index 00000000000..abfb957c2fa --- /dev/null +++ b/Master/texmf-dist/tex/context/modules/mkiv/s-article-titlepage.mkiv @@ -0,0 +1,65 @@ +%D \module +%D [ file=s-article-titlepage, +%D version=2018.05.20, +%D title=\CONTEXT\ Style File, +%D subtitle=Article Title Page, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +\startmodule[article-titlepage] + +\unprotect + +% \startalignment[middle] +% \let\\=\par +% \bfb +% \setupinterlinespace +% \documentvariable {subject} +% \par +% \stopalignment + +\defineframed + [titlepageframed] + [\c!frame=\v!off, + \c!align=\v!middle] + +\startsetups document:titlepage + \startstandardmakeup[\c!align=\v!middle] + \doifdocumentvariable {title} { + \dontleavehmode \titlepageframed + [\c!foregroundstyle=\bfd\setupinterlinespace] + {\documentvariable {title}} + } + \doifdocumentvariable {subject} { + \blank[2*\v!big] + \dontleavehmode \titlepageframed + [\c!foregroundstyle=\bfb\setupinterlinespace] + {\documentvariable {subject}} + } + \doifdocumentvariable {author} { + \blank[4*\v!big] + \dontleavehmode \titlepageframed + [\c!foregroundstyle=\bfa\setupinterlinespace] + {\documentvariable {author}} + } + \vfill + \doifdocumentvariable {affiliation} { + \dontleavehmode \titlepageframed + [\c!foregroundstyle=\bfa\setupinterlinespace] + {\documentvariable {affiliation}} + } + \doifdocumentvariable {date} { + \blank[\v!big] + \dontleavehmode \titlepageframed + [\c!foregroundstyle=\bfa\setupinterlinespace] + {\documentvariable {date}} + } + \stopstandardmakeup +\stopsetups + +\stopmodule |