Feat: README with examples
This commit is contained in:
18
examples/01_add_fraction.tex
Normal file
18
examples/01_add_fraction.tex
Normal file
@@ -0,0 +1,18 @@
|
||||
% vim:ft=tex:
|
||||
%
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\section{Ajouts de fractions}
|
||||
|
||||
Adding two fractions
|
||||
\[
|
||||
A = \frac{- 2}{4} + \frac{7}{8}
|
||||
\]
|
||||
Solution
|
||||
\[
|
||||
\frac{- 2}{4} + \frac{7}{8}=\frac{- 2 \times 2}{4 \times 2} + \frac{7}{8}=\frac{- 4}{8} + \frac{7}{8}=\frac{- 4 + 7}{8}=\frac{3}{8}
|
||||
\]
|
||||
|
||||
\end{document}
|
||||
18
examples/02_add_fraction.tex
Normal file
18
examples/02_add_fraction.tex
Normal file
@@ -0,0 +1,18 @@
|
||||
% vim:ft=tex:
|
||||
%
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\section{Ajouts de fractions}
|
||||
|
||||
Adding two fractions
|
||||
\[
|
||||
A = \frac{8}{9} + \frac{3}{63}
|
||||
\]
|
||||
Solution
|
||||
\[
|
||||
\frac{8}{9} + \frac{3}{63}=\frac{8 \times 7}{9 \times 7} + \frac{3}{63}=\frac{56}{63} + \frac{3}{63}=\frac{56 + 3}{63}=\frac{59}{63}
|
||||
\]
|
||||
|
||||
\end{document}
|
||||
BIN
examples/all_add_fraction.pdf
Normal file
BIN
examples/all_add_fraction.pdf
Normal file
Binary file not shown.
19
examples/tpl_add_fraction.tex
Normal file
19
examples/tpl_add_fraction.tex
Normal file
@@ -0,0 +1,19 @@
|
||||
% vim:ft=tex:
|
||||
%
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\section{Ajouts de fractions}
|
||||
|
||||
Adding two fractions
|
||||
%- set e = Expression.random("{a} / {b} + {c} / {k*b}", ["b > 1", "k>1"])
|
||||
\[
|
||||
A = \Var{e}
|
||||
\]
|
||||
Solution
|
||||
\[
|
||||
\Var{e.simplify().explain() | join('=')}
|
||||
\]
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user