Latex: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K
K (redir)
 
Zeile 1: Zeile 1:
<!-- latexify.py
+
#redirect [[LaTeX]]
random import choice, random
 
from string import letters, uppercase
 
text = '''
 
Latex ist eine Programmiersprache die es erlaubt,
 
den Computer zum Schreiben von Texten zu verwenden.
 
'''
 
fonts_lowercase = ['mathfrak', 'mathsf', 'mathbf']
 
fonts_uppercase = ['mathcal', 'mathbb'] + fonts_lowercase
 
accents = ['acute', 'breve', 'tilde', 'vec', 'hat', 'dot', 'bar']
 
def tex(command, arg):
 
  return '\\' + command + '{' + arg + '}'
 
output = ''
 
for c in text.strip():
 
  if c == ' ':
 
    output += '~'
 
  elif c == '\n':
 
    output += '</math><br>\n<math>'
 
  elif c in letters:
 
    if random() < 0.3:
 
      c = c.upper()
 
    if c in uppercase:
 
      symbol = tex(choice(fonts_uppercase), c)
 
    else:
 
      symbol = tex(choice(fonts_lowercase), c)
 
      if random() < 0.6:
 
        symbol = tex(choice(accents), symbol)
 
    output += symbol
 
  else:
 
    output += c
 
print '<math>' + output + '</math>'
 
-->
 
<math>\mathbf{L}\mathbf{a}\bar{\mathfrak{t}}\tilde{\mathfrak{e}}\vec{\mathfrak{x}}~\mathsf{i}\acute{\mathbf{s}}\tilde{\mathsf{t}}~\mathbb{E}\acute{\mathsf{i}}\mathfrak{n}\hat{\mathbf{e}}~\mathfrak{P}\mathbb{R}\mathcal{O}\mathsf{g}\hat{\mathbf{r}}\mathbb{A}\acute{\mathbf{m}}\hat{\mathsf{m}}\mathsf{I}\dot{\mathsf{e}}\dot{\mathbf{r}}\acute{\mathbf{s}}\mathfrak{p}\tilde{\mathsf{r}}\hat{\mathbf{a}}\vec{\mathbf{c}}\mathfrak{h}\mathbf{e}~\breve{\mathfrak{d}}\mathbb{I}\mathbb{E}~\mathsf{e}\vec{\mathbf{s}}~\vec{\mathbf{e}}\mathbf{R}\bar{\mathbf{l}}\mathcal{A}\mathfrak{U}\acute{\mathsf{b}}\mathbf{t},</math><br>
 
<math>\mathfrak{d}\mathbf{E}\mathbf{n}~\mathfrak{C}\mathsf{o}\mathbb{M}\vec{\mathbf{p}}\mathfrak{u}\mathsf{t}\acute{\mathfrak{e}}\dot{\mathfrak{r}}~\acute{\mathbf{z}}\dot{\mathsf{u}}\mathsf{m}~\mathsf{S}\bar{\mathfrak{c}}\mathfrak{H}\mathfrak{R}\mathbf{e}\tilde{\mathsf{i}}\mathbf{B}\mathfrak{e}\mathfrak{n}~\mathsf{v}\mathbb{O}\mathbf{N}~\mathbb{T}\mathbf{e}\mathfrak{x}\mathsf{t}\bar{\mathfrak{e}}\mathfrak{n}~\hat{\mathfrak{z}}\mathsf{u}~\tilde{\mathsf{v}}\mathsf{e}\tilde{\mathfrak{r}}\mathfrak{W}\acute{\mathbf{e}}\mathfrak{n}\mathbf{d}\mathbf{E}\dot{\mathbf{n}}.</math>
 
 
 
 
 
<math>Allerdings~\exists~schon~lange~\underline{\mathsf{SCHREIBMASCHINE}} \in Tippger\bar{a}te</math><br>
 
<math>\Rightarrow \overline{n\bar{o}tig}? \Rightarrow \sum M_{enschen} = \infty \cdot 0 \ldots zum~Gl\ddot{\bar{u}}ck~\frac{k\alpha nn}{\mathbb{K\alpha \bigcap\bigcap \in L}} damit</math><br>
 
<math>auch~Pyramiden~\frac{\Delta}{\cdots} \ldots \Delta \ldots \dot{u}\ddot{\ddot{n}}\dot{d}_{\cdots}
 
\ldots \cdots
 
\dot{\vdots}^{\ddots}\ddots_{\cdots}
 
\ddot{D}\ddot{\ddot{\ddot{u}}}\ddot{\dot{n}}\ddot{e}\dot{n} ~bauen.</math>
 
 
 
[[Kategorie:Mathematik]]
 

Aktuelle Version vom 19. Februar 2006, 12:50 Uhr

Weiterleitung nach: