diff --git a/resources/TEX.org b/resources/TEX.org new file mode 100644 index 0000000..952e21d --- /dev/null +++ b/resources/TEX.org @@ -0,0 +1,19 @@ +#+header: :exports results :results file raw +#+header: :file svg/pp1zad2.svg +LaTeX dla [[../Podstawy Programowania I/README.org::*Zadanie 2][zadania]] +#+begin_src latex :headers '("\\usepackage{anyfontsize}""\\usepackage{amsmath}" "\\usepackage{xcolor}" "\\usepackage{fontspec}") +\setmainfont{Hack Nerd Font} +\begin{document} +\color{gray}{ +{\Large y(x) = +\begin{cases} + \frac{3}{4} * x^{3} * \frac{7}{8} x & \text{dla x ∈ <-10, 0>} \\ + \frac{1}{sin(x) + 3} & \text{dla x ∈ (0, 4>} \\ + -2x/3 & \text{dla pozostałych}} +\end{cases} +} +\end{document} +#+end_src + +#+RESULTS: +[[file:svg/pp1zad2.svg]] diff --git a/resources/svg/pp1zad2.svg b/resources/svg/pp1zad2.svg index af98c13..ba03ab2 100644 --- a/resources/svg/pp1zad2.svg +++ b/resources/svg/pp1zad2.svg @@ -1,249 +1,934 @@ - -y left-parenthesis x right-parenthesis equals StartLayout Enlarged left-brace 1st Row 1st Column three-fourths asterisk x cubed asterisk seven-eighths x 2nd Column dla x element-of less-than hyphen 10 comma 0 greater-than 2nd Row 1st Column StartFraction 1 Over s i n left-parenthesis x right-parenthesis plus 3 EndFraction 2nd Column dla x element-of left-parenthesis 0 comma 4 greater-than 3rd Row 1st Column minus 2 x slash 3 2nd Column dla pozostalych EndLayout - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/tex/pp1zad2.tex b/resources/tex/pp1zad2.tex deleted file mode 100644 index 323c905..0000000 --- a/resources/tex/pp1zad2.tex +++ /dev/null @@ -1,7 +0,0 @@ -\color{grey}{ -y(x) = -\begin{cases} - \frac{3}{4} * x^{3} * \frac{7}{8} x & \text{dla x ∈ <-10, 0>} \\ - \frac{1}{sin(x) + 3} & \text{dla x ∈ (0, 4>} \\ - -2x/3 & \text{dla pozostalych} -\end{cases}}