lateximgbot

[python] Latex image Telegram bot
git clone https://git.torresjrjr.com/lateximgbot.git
Log | Files | Refs | README | LICENSE

examples.tex (1149B)


      1 %TOTAL 9
      2 % This file is a list of example LaTeX to be used for the bot.
      3 % NOTE: The first line should always be "%TOTAL <n>", where n must be at most
      4 % the number of examples the file contains, and examples shall be tagged and
      5 % numbered uniquely and numerically.
      6 
      7 % An imperfect file will likely crash the bot when used,
      8 % so edit and add entries cautiously.
      9 
     10 %BEGIN 1
     11 \\
     12 \text{The quadratic formula} \\
     13 x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
     14 %END
     15 
     16 %BEGIN 2
     17 \text{Roses are red} \\
     18 \texttt{Violets are blue} \\
     19 \textsc{Sugar is sweet} \\
     20 \textit{And so are you~}
     21 %END
     22 
     23 %BEGIN 3
     24 \frac{dN}{dt} = -\lambda N
     25 %END
     26 
     27 %BEGIN 4  Euler identity
     28 e^{i\pi} - 1 = 0
     29 %END
     30 
     31 %BEGIN 5  calculus of variations
     32 I[y] = \int_a^b F(x, y, y') dx \\
     33 %END
     34 
     35 %BEGIN 6
     36 * \\
     37 * \text{jag \"alska dig} \ensuremath\heartsuit * \\
     38 * *
     39 %END
     40 
     41 %BEGIN 7
     42 \begin{pmatrix}
     43 a_{11} & \cdots & a_{1n} \\
     44 \vdots & \ddots & \vdots \\
     45 a_{m1} & \cdots & a_{mn} \\
     46 \end{pmatrix}
     47 %END
     48 
     49 %BEGIN 8
     50 \oint \vec{F} \cdot d\vec{s} = 0
     51 %END
     52 
     53 %BEGIN 9
     54 \text{Schr\"odinger equation} \\ \\
     55 \left[ \frac{-\hbar^2}{2m}\nabla^2 + V(r, t) \right] \Psi(r, t)
     56 = i \hbar \frac{\partial}{\partial t} \Psi(r, t)
     57 %END