summaryrefslogtreecommitdiff
path: root/tex/context/base/s-present-tiles.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/s-present-tiles.mkiv')
-rw-r--r--tex/context/base/s-present-tiles.mkiv33
1 files changed, 6 insertions, 27 deletions
diff --git a/tex/context/base/s-present-tiles.mkiv b/tex/context/base/s-present-tiles.mkiv
index b68a34ef4..80ea5249f 100644
--- a/tex/context/base/s-present-tiles.mkiv
+++ b/tex/context/base/s-present-tiles.mkiv
@@ -13,7 +13,7 @@
%D The Bacho\TeX\ 2013 style.
-\setupbodyfont[pagella,14.4pt]
+\setupbodyfont[palatino,14.4pt]
\setuppapersize[S6][S6]
@@ -64,22 +64,8 @@
-\topspace
]
-\definemeasure [topiclistfontsize] [
- \ifcase\numexpr\structurelistsize\relax 2.5 % 0
- \or1.4\or1.4\or1.4\or1.4\or1.4\or1.4\or1.4\or1.4\or1.4 % 1 - 9
- \or1.3\or1.3\or1.3\or1.3\or1.3\or1.3\or1.3 % 10 - 16
- \or1.2\or1.2\or1.2\or1.2\or1.2 % 17 - 20
- \else1 % 21 - 25
- \fi
- \bodyfontsize
-]
-
-\definemeasure [topiclistfont] [\measured{topiclistfontsize}]
-\definemeasure [topictitlefont] [1.2\measured{layoutunit}]
-\definemeasure [titlepagefont] [2\measured{layoutunit}]
-
-\predefinefont[MyTopicTitleFont][SerifBold*default at \measure{topictitlefont}]
-\predefinefont[MyTopicListFont] [SerifBold*default at \measure{topiclistfont}]
+\definemeasure [topiclistfont] [\measured{topiclistwidth}/10]
+\definemeasure [titlepagefont] [2\measured{layoutunit}]
\defineframed
[topiclistentry]
@@ -87,7 +73,7 @@
height=\measure{topiclistheight},
background=color,
frame=off,
- foregroundstyle=MyTopicListFont,
+ foregroundstyle={\definedfont[Bold at \measure{topiclistfont}]},
backgroundcolor=primarycolor,
foregroundcolor=white]
@@ -122,6 +108,8 @@
\stoptopicmakeup
\stopsetups
+\predefinefont[MyTopicTitleFont][SerifBold*default at \measure{layoutunit}]
+
\definehead
[topic]
[chapter]
@@ -228,15 +216,6 @@
% end of buttons
-\defineframed
- [conclusion]
- [location=low,
- width=max,
- align={flushleft,lohi},
- background=color,
- backgroundcolor=white,
- foregroundcolor=secondarycolor]
-
\startsetups [document:titlepage]
\definebodyfontenvironment