ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* All Equations
@ 2021-12-10 16:59 Henning Hraban Ramm via ntg-context
  2021-12-10 17:03 ` Aditya Mahajan via ntg-context
  2021-12-10 17:06 ` Wolfgang Schuster via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2021-12-10 16:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

[-- Attachment #1: Type: text/plain, Size: 2425 bytes --]

Since I never used math with ConTeXt, I tried to replicate XKCD 2034 as 
an exercise (see below and attached). I’d like to put it on the wiki and 
in my book.

I know this is nonsense, but I’d like to do it right.

In some cases I’m unsure which symbol the author meant, e.g. p or \rho, 
0 or O, 1 or I or | ...
Yes, I could have used proper Unicode characters (ρ, π etc.).

Can you answer my questions (%? in the source)? (Partly TeX related, 
partly math/physics related.)


"""
\setupinteraction[state=start]

\starttext
\subject{All equations\footnote{according to 
\goto{XKCD}[url(https://xkcd.com/2034/)]}...}

... of Kinematics:
\startformula E = K_0t + \frac{1}{2}\rho vt^2 \stopformula
% ? Should it be v or \nu?

... of Number Theory:
\startformula K_\Lambda = 
\sum^\infty_{i=0}\sum^\infty_{\pi=0}(n-\pi)(i+e^{\pi-\infty})\stopformula

... of Fluid Dynamics:
\startformula \frac{\delta}{\delta_t}\nabla\cdot\rho = 
\frac{8}{23}\oiint\rho d_s 
d_t\cdot\rho\frac{\delta}{\delta_\nabla}\stopformula
% ? Would ds dt be better than d_s d_t?

... of Quantum Mechanics:
\startformula I\Psi_{x,y}>=A(\Psi)A(I\times>\oplus Iy>)\stopformula
% ? Should those be I, 1 or |, > or some angle bracket?

... of Chemistry:
\startformula CH_4 + OH + HEAT \rightarrow H_2O + CH_2 + H_2EAT\stopformula
% ? Should we something different for chem. formulae?

... of Quantum Gravity:
\startformula SU(2)U(I) \times SU(U(2))\stopformula
% It’s not even an equation...

... of Gauge Theory:
\startformula
S_g =
\frac{-I}{2\bar{\epsilon}} i \delta
\left(
\xi_{\delta_0} \mathring{+} \rho_\epsilon \rho_v^{abc}\cdot\eta_0
\right)
f_a^0 a\lambda(\rotate[rotation=180,location=high]{\xi})\Psi(O_a)
\stopformula
% ? I guess the first \delta should be crossed somehow?
% ? Is it possible to get \hat accents over the brackets? \hat{\left(} 
doesn’t work.
% ? What’s that symbol after \right) ? (f with two bars, maybe kind of 
integral?)

... of Cosmology:
\startformula h(t) + \Omega + G \cdot \Lambda ...
\startmathcases
\NC ... > 0 \TC (Hubble Model) \NR
\NC ... = 0 \TC (Flat Squere Model) \NR
\NC ... < 0 \TC (Bright Dark Matter Model) \NR
\stopmathcases
\stopformula

... of Truly Deep Physics: \startformula \hat{H} - \c{u}_0 = O\stopformula
% ? How can I get a cedilla under the u? \c{u} is wrong.

\page
\subject{Original}
\externalfigure[https://imgs.xkcd.com/comics/equations.png][width=\textwidth]
\stoptext
"""

Hraban

[-- Attachment #2: allformula.tex --]
[-- Type: application/x-tex, Size: 1424 bytes --]

[-- Attachment #3: allformula.pdf --]
[-- Type: application/pdf, Size: 72213 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: All Equations
  2021-12-10 16:59 All Equations Henning Hraban Ramm via ntg-context
@ 2021-12-10 17:03 ` Aditya Mahajan via ntg-context
  2021-12-10 18:06   ` Henning Hraban Ramm via ntg-context
  2021-12-10 17:06 ` Wolfgang Schuster via ntg-context
  1 sibling, 1 reply; 4+ messages in thread
From: Aditya Mahajan via ntg-context @ 2021-12-10 17:03 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

On Fri, 10 Dec 2021, Henning Hraban Ramm via ntg-context wrote:

> Since I never used math with ConTeXt, I tried to replicate XKCD 2034 as an
> exercise (see below and attached). I’d like to put it on the wiki and in my
> book.
> 
> I know this is nonsense, but I’d like to do it right.

https://www.explainxkcd.com/wiki/index.php/2034:_Equations

Aditya

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: All Equations
  2021-12-10 16:59 All Equations Henning Hraban Ramm via ntg-context
  2021-12-10 17:03 ` Aditya Mahajan via ntg-context
@ 2021-12-10 17:06 ` Wolfgang Schuster via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2021-12-10 17:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Henning Hraban Ramm via ntg-context
  Cc: Wolfgang Schuster

Henning Hraban Ramm via ntg-context schrieb am 10.12.2021 um 17:59:
> Since I never used math with ConTeXt, I tried to replicate XKCD 2034 
> as an exercise (see below and attached). I’d like to put it on the 
> wiki and in my book.
>
> I know this is nonsense, but I’d like to do it right.
>
> In some cases I’m unsure which symbol the author meant, e.g. p or 
> \rho, 0 or O, 1 or I or | ...
> Yes, I could have used proper Unicode characters (ρ, π etc.).
>
> Can you answer my questions (%? in the source)? (Partly TeX related, 
> partly math/physics related.)

https://www.explainxkcd.com/wiki/index.php/2034:_Equations

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: All Equations
  2021-12-10 17:03 ` Aditya Mahajan via ntg-context
@ 2021-12-10 18:06   ` Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2021-12-10 18:06 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Am 10.12.21 um 18:03 schrieb Aditya Mahajan via ntg-context:
> On Fri, 10 Dec 2021, Henning Hraban Ramm via ntg-context wrote:
> 
>> Since I never used math with ConTeXt, I tried to replicate XKCD 2034 as an
>> exercise (see below and attached). I’d like to put it on the wiki and in my
>> book.
>>
>> I know this is nonsense, but I’d like to do it right.
> 
> https://www.explainxkcd.com/wiki/index.php/2034:_Equations

Thank you, Aditya & Wolfgang! (Aditya posted first, but Wolfgang’s 
message arrived earlier – geography seems to matter ;)

So I could fix most of my issues, just the “gauge theory” and “truly 
deep physics” examples I can’t complete, and the website unfortunately 
doesn’t contain the (LaTeX) code of those.

- How can I put a hat accent on \left( and \right) ?
– f̵ and u̧ use combining accents; the characters show correctly in my 
editor, but not in the resulting PDF.

Hraban

[-- Attachment #2: allformula.tex --]
[-- Type: application/x-tex, Size: 1515 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-10 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 16:59 All Equations Henning Hraban Ramm via ntg-context
2021-12-10 17:03 ` Aditya Mahajan via ntg-context
2021-12-10 18:06   ` Henning Hraban Ramm via ntg-context
2021-12-10 17:06 ` Wolfgang Schuster via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).