Re: Rechnen in LaTeX

"Henning Hraban Ramm" (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
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.

Ich finde so etwas wie

\dimexpr\linewidth - 2\tabcolsep + \arrayrulesep\relax

immer noch deutlich übersichtlicher als die expl3-Ausdrücke.


Grüße, Hraban

-- 
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.