I am currently working on a book which has formula numbers down the right hand side of the page.
In ADE, it seems to drop the formula number down a line, instead of floating to the right edge of the same line. (Sigil looks as I expected).
I was wondering if anyone out there has run into this same problem, and what sort of code they used to fix the situation.
Currently, I am using this code:
Code:
<p class="center margintop">Formula Formula Formula <span class="floatright">(##)</span></p>
Where the relevant CSS:
Code:
.center {
text-indent: 0;
text-align: center;
}
.margintop {
margin-top: 1em;
}
span.floatright {
float: right;
}
I have attached four things to this post:
- image of the original book
- the way my EPUB currently looks in ADE (marked with arrows)
- the way it looks in Sigil (marked with arrows)
- WIP EPUB