PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
266 stars 208 forks source link

Left and right margins for side-by-side #698

Closed rbeezer closed 7 years ago

rbeezer commented 7 years ago

To push a sidebyside panel flush-right, it seems necessary to have asymmetric margins.

And then maybe the internal XML layout data structure should be n panel widths, with n preceding gaps (which should all add up to 100%).

Alex-Jordan commented 7 years ago

Is this about having one panel be flush right? By doing things like widths="47% 47%" margins="0% I seem to be getting flush right (and left) panels.

rbeezer commented 7 years ago

Right. I mean "correct."

Joe C is pushing a single panel far-right with an empty "p" as a faux first panel.

I've always meant to allow

margins="50% 0%"

but was saving the complication for later.

On 08/24/2017 08:15 AM, Alex Jordan wrote:

Is this about having /one/ panel be flush right? By doing things like |widths="47% 47%" margins="0%| I seem to be getting flush right (and left) panels.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rbeezer/mathbook/issues/698#issuecomment-324665980, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy2cvDdKPEqUA_3ak-QxX8sz6o7xdU_ks5sbZOrgaJpZM4PBhSY.

rbeezer commented 7 years ago

Implemented at 5ae4cbd9