diff options
Diffstat (limited to 'info/mathtrip/src/const.tex')
-rw-r--r-- | info/mathtrip/src/const.tex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/info/mathtrip/src/const.tex b/info/mathtrip/src/const.tex new file mode 100644 index 0000000000..f1b8668ad5 --- /dev/null +++ b/info/mathtrip/src/const.tex @@ -0,0 +1,20 @@ +%This command provides the value of few important mathematical +%constants in the first line of the page 3 +% +%The command has one parameter: +% 1) The width of the text +\newcommand\TThreeConstants[1]{% + \parbox[t]{#1}{% + \begin{DisplayFormulae}{1}{0pt}{3ex plus 1ex minus 1ex}{\SmallChar}{\StyleWithoutNumber} + %Since there is only few constants, a separator between equations + %is not needed. It may be useful however if more constants + %should be added. + %\def\FmSep{\unskip\text{,}} + \Fm{\pi \approx 3\SepDecimal 14159} + \Fm{e \approx 2\SepDecimal 71828} + \Fm{\gamma \approx 0\SepDecimal 57721} + \Fm{\phi = {\frac{1+\sqrt{5}}{2}} \approx 1\SepDecimal 61803} + \Fm{\hat\phi = {\frac{1-\sqrt{5}}{2}} \approx -0\SepDecimal 61803} + \end{DisplayFormulae} + } +} |