ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* spreadsheet
@ 2005-10-13 16:16 Peter Münster
  2005-10-24 22:53 ` spreadsheet Hans Hagen Test
  2005-10-25  5:10 ` spreadsheet VnPenguin
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Münster @ 2005-10-13 16:16 UTC (permalink / 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/

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

end of thread, other threads:[~2005-10-25 13:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-13 16:16 spreadsheet Peter Münster
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

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