Re: Rechnen in LaTeX

"Reinhard Kotucha" (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
On 2024-12-17 at 10:12:35 +0100, "Henning Hraban Ramm" (via tex-d-l Mailing List) wrote:

 > Am 17.12.24 um 09:42 schrieb Dirk Hünniger (via tex-d-l Mailing List):
 > > vielen Dank für das Beispiel. Jetzt sehe ich entlich mal wie man in tex 
 > > rechnen kann. Daran werde ich mich entlanghangeln könne. Ich hatte 
 > > wirklich bisher keine Ahnung wie man in tex selbst rechnen kann.
 > 
 > Das Beispiel zeigt expl3; es gibt auch noch \numexpr und \dimexpr; 
 > soweit ich weiß, verhalten die sich aber in LaTeX anders als in ConTeXt.

\dimexpr und \numexpr sind Primitive und sollten sich überall gleich
verhalten.

  *\show\dimexpr
  > \dimexpr=\dimexpr.
  <*> \show\dimexpr
                 
  *\show\numexpr
  > \numexpr=\numexpr.
  <*> \show\numexpr

Alles Gute,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:[email protected]
------------------------------------------------------------------

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.