summaryrefslogtreecommitdiff
path: root/info/mathtrip/src/T3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'info/mathtrip/src/T3.tex')
-rw-r--r--info/mathtrip/src/T3.tex55
1 files changed, 55 insertions, 0 deletions
diff --git a/info/mathtrip/src/T3.tex b/info/mathtrip/src/T3.tex
new file mode 100644
index 0000000000..51072ee8ab
--- /dev/null
+++ b/info/mathtrip/src/T3.tex
@@ -0,0 +1,55 @@
+\begingroup
+
+ \input{T3Def.tex}
+
+ \begin{NiceTabular}{|wl{\ColOne}|wl{\ColTwo}|wl{\ColThree}|wl{\ColFour}|wl{\ColFive}|}\hline
+ %Line 1: Global title
+ \Block[c]{1-5}{\titleTable}&&&&\\\hline
+ %Line 2: few mathematical constant
+ \Block[c]{1-5}{%
+ \deflength{\MathContentSize}{\ColOne+\ColTwo+\ColThree+\ColFour+\ColFive-8\tabcolsep}%
+ \TThreeConstants{\MathContentSize}} & & & & \\\hline
+ %Line 3: Title of the five columns
+ \Block[c]{1-1}{$i$} &
+ \Block[c]{1-1}{$2^i$} &
+ \Block[c]{1-1}{$p_i$} &
+ \Block[c]{1-1}{General} &
+ \Block[c]{1-1}{Probability cont.} \\\hline
+ %Line 4: The list of numbers (i, power 2, prime), the general formulae,
+ %and first part prob.
+ \Block[c]{\value{TThreeNumbersPart}-1}{%
+ \deflength{\MathContentSize}{\ColOne-2\tabcolsep}%
+ \TThreeSeqNb{\MathContentSize}}&
+ \Block[c]{\value{TThreeNumbersPart}-1}{%
+ \deflength{\MathContentSize}{\ColTwo-2\tabcolsep}%
+ \TThreePowerTwo{\MathContentSize}} &
+ \Block[c]{\value{TThreeNumbersPart}-1}{%
+ \deflength{\MathContentSize}{\ColThree-1\tabcolsep}%
+ \TThreeFirstPrimes{\MathContentSize}} &
+ \Block[c]{\value{TThreeGeneralPart}-1}{%
+ \deflength{\MathContentSize}{\ColFour-2\tabcolsep}%
+ \TThreeGeneral{\MathContentSize}} &
+ \Block[c]{\value{TThreeProbBPart}-1}{%
+ \deflength{\MathContentSize}{\ColFive-1\tabcolsep}%
+ \vspace{\TThreeMoveProbA}%
+ \TThreeProb{\MathContentSize}}\\
+ \BiggestNbLines{\value{TThreeNumbersPart}}
+ {\value{TThreeGeneralPart}}
+ {\value{TThreeProbBPart}}
+ \AddBlankLines{\value{NbBlankLines}-2}{\TThreeEmptyLine}\\\cline{1-4}
+ %Line 5 the intermediary title
+ \Block[c]{1-3}{Pascal's Triangle} &&&\Block[c]{1-1}{Probability}&\\\cline{1-4}
+ %Line 6 the triangle of pascal and some text on probability.
+ \Block[c]{\value{TThreePascalPart}-3}{%
+ \deflength{\MathContentSize}{\ColOne+\ColTwo+\ColThree-2\tabcolsep}%
+ \TThreePascal{\MathContentSize}}& & &
+ \Block[c]{\value{TThreeProbAPart}-1}{%
+ \vspace*{\TThreeMoveProbB}%
+ \deflength{\MathContentSize}{\ColFour-2\tabcolsep}%
+ \TThreeProbTwo{\MathContentSize}} & \\
+ \BiggestNbLines{\value{TThreePascalPart}}
+ {\value{TThreeProbAPart}}
+ {0}
+ \AddBlankLines{\value{NbBlankLines}-2}{\TThreeEmptyLine}\\\hline
+ \end{NiceTabular}
+\endgroup