Am 04.12.2008 um 15:09 schrieb Wolfgang Schuster:
Am 04.12.2008 um 14:39 schrieb Steffen Wolfrum:
Am 04.12.2008 um 14:28 schrieb Wolfgang Schuster:
Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum:
Hi,
this code \setupformulas[location=left] \placeformula \startformula K = V + W(V) × S (Gleichung 1) \stopformula
gives, as expected: (1.1) K = V + W(V ) × S
But I need the following label ("Gleichung" means "formula"): (Gleichung 1) K = V + W(V ) × S
How can this be done (in Mk II) ?
In the same way as you do it in MkIV :)
\setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~]
Two remarks:
1) In this case the equation is not centered to textwidth anymore. It is centered to the space that's left.
\define[1]\FormulaNumber {\rlap{(Gleichung~#1)}}
\setupformulas [left=, right=, numbercommand=\FormulaNumber, location=left]
2) And what about if the author wants to add a footnote to this respective formula?
An example could look like the following fake: \noindent(Gleichung 2)\note[339]\hfill{$1 = -W'(V^*) × S$}\hfill \hphantom{(Gleichung 2)\note[339]}
Duno, I'm unable to use footnotes in math mode.
\starttext
foo\footnote{foo}
$bar\footnote{bar}$
\stoptext
Wolfgang
Me too. That's the problem ;o) Steffen