Leedehai / typst-physics

physica: vectors, fields, differentials, derivatives, Dirac brakets, tensors, and more. See examples in the manual PDF.
https://github.com/Leedehai/typst-physics
MIT License
343 stars 11 forks source link

Request: Symbol of Assigning Differental Equation #33

Closed naoppy closed 2 months ago

naoppy commented 2 months ago

image

I am not sure if this notation is common in the world, but how about supporting the notation of assigning values to differentiated functions in physica?

below code shows above image with normal typst.

$
  lr((dif) / (dif t) L(x(t))|)_(t=0)
$

or with physica,

$
  lr(dv(, t)L(x(t))|)_(t=0)
$

Since this needs lr and is difficult for the public to understand, how about giving some support with physica?

YDX-2147483647 commented 2 months ago

Maybe #28 would help?

naoppy commented 2 months ago

Oh I had missed eval function. Thank you for telling.