From 097f244236b682cc77c6ecf25be4150091d8daf9 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 2 Oct 2022 03:04:14 +0000
Subject: CTAN sync 202210020304

---
 info/mathtrip/src/T3Def.tex | 48 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 info/mathtrip/src/T3Def.tex

(limited to 'info/mathtrip/src/T3Def.tex')

diff --git a/info/mathtrip/src/T3Def.tex b/info/mathtrip/src/T3Def.tex
new file mode 100644
index 0000000000..f60127f027
--- /dev/null
+++ b/info/mathtrip/src/T3Def.tex
@@ -0,0 +1,48 @@
+%Basically the page 5 is divided in 3 horizontal
+%zones and 3 columns.
+%
+%The first column goes over all the zone, the second is splitted
+%over 2 zones and the third column is splitted over 3 zones.
+
+%Fix the dimentions of the 3 columns of this page
+\deflength{\ColOne}{\TThreeColOne}
+\deflength{\ColTwo}{\TThreeColTwo}
+\deflength{\ColThree}{\TThreeColThree}
+\deflength{\ColFour}{\TThreeColFour}
+\deflength{\ColFive}{\TableWidth - \ColOne - \ColTwo -\ColThree -\ColFour -8\tabcolsep}
+
+\input{const.tex} %The command produced is \TThreeConstants
+\input{power2.tex} %The command produced is \TThreePowerTwo
+\input{seq_nb.tex} %The command produced is \TThreeSeqNb
+\input{first_prime.tex} %The command produced is \TThreeFirstPrimes
+\input{misc.tex} %The command produced is \TThreeGeneral
+\input{prob.tex} %The command produced is \TThreeProb
+\input{prob2.tex} %The command produced is \TThreeProbTwo
+\input{pascal_triangle.tex} %The command produced is \TThreePascal
+
+%This command is to create Intertitle
+%The command has two parameters:
+%   1) Anything which expand to someting to avoid to put spacing
+%      command before the title. This parameter is optionnal.
+%   2) The text of the title
+\newcommand\TThreeTitle[2][\DoNothing]{%
+    \ifdefempty{#1}{\AdjustSpace{\TThreeInterTitle}}{}%
+    \noindent \IntertitleShape{#2}%
+    \par
+}
+
+%This macro is the separator used in the line of Pascal's triangle.
+%Between xelatex and lualatex, the management of space
+%is not identical and the separator should be changed.
+\newcommand\TThreePascalSep{%
+    \def\sep{~}%
+    \ifluatex
+        \def\sep{\,}%
+    \fi
+    \sep
+} 
+
+%This command defines a blank line for the tabular
+%used as the base of the page 10.
+\newcommand\TThreeEmptyLine{&&&&\\}
+
-- 
cgit v1.2.3

