From: "Peter Münster" <pmlists@free.fr>
Subject: spreadsheet
Date: Thu, 13 Oct 2005 18:16:15 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.58.0510131756010.1962@gaston.free.fr> (raw)
Hello,
I would like to do some spreadsheet like calculations with ConTeXt. Before
using the same package, I've used once upon a time with LaTeX (realcalc), I
would like to know, if there are already some macros for calculations in
ConTeXt, or if you could recommend some method, how to do that.
FYI my old LaTeX-file:
\documentclass{article}
\usepackage{dcolumn}
\input{realcalc}% on CTAN
\newcommand*\cc[1]{\multicolumn{1}{c}{#1}}
\def\scanwert\ignorespaces#1\unskip{\gdef\WERT{#1}#1}
\begin{document}
\begin{tabular}{>{\scanwert}D{.}{,}{-1}%
>{\Rmul\res\WERT{6.55957}\Radd\res\res{0.005}\Rtrunc\res2\res\res}%
D{.}{,}{-1}}%
\cc{Euro}&\cc{FF}\\\hline
20.33 & \\
20.3 & \\
20 & \\
14.46 &
\end{tabular}
\end{document}
Cheers, Peter
--
http://pmrb.free.fr/contact/
next reply other threads:[~2005-10-13 16:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-13 16:16 Peter Münster [this message]
2005-10-24 22:53 ` spreadsheet Hans Hagen Test
2005-10-25 8:04 ` spreadsheet Jilani Khaldi
2005-10-25 9:56 ` spreadsheet Hans Hagen Test
2005-10-25 10:35 ` spreadsheet luigi.scarso
2005-10-25 13:20 ` spreadsheet Jilani Khaldi
2005-10-25 5:10 ` spreadsheet VnPenguin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0510131756010.1962@gaston.free.fr \
--to=pmlists@free.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).