λ-wiki
::
latex
+
| 1 |
help
|
pages
|
skin
|
login
|
code
www!k! v.20120610
! CE SITE NECESSITE JAVASCRIPT !
λ-wiki :: éditeur
{h1 latex} {h6 λ-syntax has a look of Latex's one, isn'it ? } {p Let'us compare on a test page ({i found in « Latex pour l'impatient » in HK Editions}), written in Latex syntax and in λ-wiki syntax.} {h2 1) code} {pre {@ white-space:pre-wrap; float:left; width:48%;}{h2 latex}°° \documentclass{article} \usepackage[francais]{label} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \begin{document} {\LARGE L'harmonie des nombres} \medskip La légende raconte qu'au \textsc{xviii}\ième{} siècle, l'Impératrice Catherine II de Russie recevant le philosophe Denis Diderot et le mathématicien Leonhard Euler, leur demanda si Dieu existait. Tandis que le philosophe s'embrouillait dans ses explications, Euler répondit \begin{center} $e^{i\pi}+1=0$, \textit{donc} Dieu existe. \end{center} % L'histoire ne dit pas si la légende est vraie... % Mais la formule l'est et est exposée au Palais % de la Découverte à Paris dans la salle % consacrée au nombre \pi. \end{document} °°} {pre {@ white-space:pre-wrap; float:right; width:48%;}{h2 λ-wiki syntax}°° {div {@ width:300px; height:400px; margin:auto; border:1px solid grey; padding:50px 10px; font:normal 1em georgia;} {h6 L'harmonie des nombres} {p La légende raconte qu'au XVIII{sup e} siècle, l'Impératrice Catherine II de Russie recevant le philosophe Denis Diderot et le mathématicien Leonhard Euler, leur demanda si Dieu existait. Tandis que le philosophe s'embrouillait dans ses explications, Euler répondit} {div {@ text-align:center; margin-top:20px; } e{sup iπ} + 1 = 0, {i donc} Dieu existe. } {div {@ text-align:center; margin-top:150px;}1} ••• L'histoire ne dit pas si la légende est vraie... Mais la formule l'est et est exposée au Palais de la Découverte à Paris dans la salle consacrée au nombre π. ••• } °°} {div {@ clear:both;}} {div {@ float:left; width:48%;}{h2 2) result} {div {@ width:350px; height:400px;margin:auto; border:1px solid grey; font:normal 1em georgia; padding:50px 10px; } {h6 L'harmonie des nombres} {p La légende raconte qu'au XVIII{sup e} siècle, l'Impératrice Catherine II de Russie recevant le philosophe Denis Diderot et le mathématicien Leonhard Euler, leur demanda si Dieu existait. Tandis que le philosophe s'embrouillait dans ses explications, Euler répondit } {div {@ text-align:center; margin-top:20px;} e{sup iπ} + 1 = 0, {i donc} Dieu existe.} {div {@ text-align:center; margin-top:190px;}1} °°° L'histoire ne dit pas si la légende est vraie... Mais la formule l'est et est exposée au Palais de la Découverte à Paris dans la salle consacrée au nombre \pi. °°° } } {div {@ float:right; width:48%;}{h2 3) comments} {h6 1) syntax} {ul30 {b latex} uses a custom syntax with different specific forms with no real-time preview ;} {ul30 {b λ-wiki} uses classic HTML and CSS words wrapped in a systematic form : °°{first|rest}°° with a real-time preview ;} {h6 2) install} {ul30 {b latex} tools (200Mo) are installed and work localy in the computer ;} {ul30 {b λ-wiki} tools (32ko) are installed in the net and work in every browsers on every platforms ;} {h6 3) storage} {ul30 {b latex} documents are rich text files stored in the computer and cannot be collectively edited ;} {ul30 {b λ-wiki} documents are rich text files stored in the cloud, and can be collectively edited everywhere.} {h6 4) and ..} {ul30 {b latex} is more powerful but hard to master ;} {ul30 {b λ-wiki} is less powerful but easier to master.} } {div {@ clear:both;}} {h3 4) math expressions with λ-wiki} {div {@ float:left; width:48%;text-align:center; font:normal 2em times; border:1px solid;} {center easy to write but approx. :} {div ax{sup 2} + bx + c = 0} {div √(a{sup 2} + b{sup 2})} {div ∫{sub 0}{sup 1} f(t).dt} {div Σ{sub k=0}{sup n} a{sub k}} {div ∇f = ∂{sup 2}f/∂x{sup 2} + ∂{sup 2}f/∂y{sup 2} + ∂{sup 2}f/∂z{sup 2} } } {div {@ float:right; width:48%;text-align:center; font:normal 2em times; border:1px solid;} {center closer but much complicated :} {div {span {@ font-size:1.2em;}√}{span {@ border-top:1px solid; padding-top:10px;}a{sup 2} + b{sup 2}}} {div {span {@ font-size:1.7em;}∫}{sub 0}{sup {@ margin-left:-0.3em;}1} f(t).dt} {div {span {@ font-size:1.7em;}Σ}{sub k=0}{sup {@ margin-left:-1em; margin-right:1em;}n} a{sub k}} } {div {@ clear:both;}} {p Nothing but a few tests with HTML/CSS basics, {span {@ color:red;}not suitable but readable for a draft !} } {p Have a look at {a {@ href:https://eyeasme.com/Joe/MathML/MathML_browser_test.html;}MathML}.}