I need equation numbers at the right text margin of the page (slightly inside or slightly outside the margin, it does not matter), like:
_______________________[my equation here, either as text or bitmap]______________________(1)
(I am using underscores because spaces are just eliminated when I post)
The paragraph style of the equation is centered. I tried autonumbering with:
mc-auto-number-position=outside-tail, produces: α = 2 arctan (d / 2f)(1) (no space between formula and equation number)
mc-auto-number-position=outside-frame, produces: α = 2 arctan (d / 2f) (no autonumber anywhere)
mc-auto-number-position=inside-tail, produces: α = 2 arctan (d / 2f)(1) (no space between formula and equation number)
mc-auto-number-position=float-right, produces: α = 2 arctan (d / 2f) (no autonumber anywhere)
I know that in theory I can use mc-auto-number-offset (in the above examples, set to zero) to insert a fixed space between equation and equation number (sometimes it works, sometimes the equation number just disappears), but this is not what I am after.
Has anyone succeeded in making this work?
Equation numbers in Word output
-
- Propeller Head
- Posts: 58
- Joined: Wed Apr 09, 2008 2:10 am
-
- Propeller Head
- Posts: 95
- Joined: Wed Feb 08, 2006 1:11 am
Re: Equation numbers in Word output
Well I want to bump this.
How to do a one-line formatting with auto-numbering?
cpede
How to do a one-line formatting with auto-numbering?
cpede
-
- Senior Propellus Maximus
- Posts: 2089
- Joined: Tue Mar 07, 2006 5:06 pm
- Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
- Contact:
Re: Equation numbers in Word output
Can you use a 2 column table?
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
-
- Propeller Head
- Posts: 95
- Joined: Wed Feb 08, 2006 1:11 am
Re: Equation numbers in Word output
I thought about that. But to make it easy I want to have a style like "p.Formula".
And I don't know if it is possible to write css that makes a 2 column table in a
paragraph style?
But, why does the "float-right" style for the number formatting span tag not
float the text right?
Does anyone have an example?
-cpede
And I don't know if it is possible to write css that makes a 2 column table in a
paragraph style?
But, why does the "float-right" style for the number formatting span tag not
float the text right?
Does anyone have an example?
-cpede
Re: Equation numbers in Word output
Try putting the float on the autonumber (setting the float on the mc-auto-number-position property doesn't work for me either).Carsten Pedersen wrote:I thought about that. But to make it easy I want to have a style like "p.Formula".
And I don't know if it is possible to write css that makes a 2 column table in a
paragraph style?
But, why does the "float-right" style for the number formatting span tag not
float the text right?
Does anyone have an example?
-cpede
This should work:
Code: Select all
p.formula
{
text-align: center;
mc-auto-number-class: formula_number;
mc-auto-number-format: '({n+})';
}
span.formula_number
{
float: right;
}
-
- Propeller Head
- Posts: 95
- Joined: Wed Feb 08, 2006 1:11 am
Re: Equation numbers in Word output
You are right. That was actually what I did, but I only looked in the UI in Flare, and here it is not correct.
But, when doing a preview of the topic it is correctly positioned
Now my next problem is, that I want the number to vertically centered to the formula.
I tried vertical-alignment: middle and position:absolute and 50% on the span, but nothing works.
Maybe you have an idea of this?
-cpede
But, when doing a preview of the topic it is correctly positioned
Now my next problem is, that I want the number to vertically centered to the formula.
I tried vertical-alignment: middle and position:absolute and 50% on the span, but nothing works.
Maybe you have an idea of this?
-cpede
-
- Propeller Head
- Posts: 95
- Joined: Wed Feb 08, 2006 1:11 am
Re: Equation numbers in Word output
Just bringing this up again.
What is the correct way of numbering equations in MadCap Flare.
The suggestion above does not seem to work with PDF output ?
-cpede
What is the correct way of numbering equations in MadCap Flare.
The suggestion above does not seem to work with PDF output ?
-cpede