TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In page 181 of texdoc memoir,

The marginfigure and margintable environments can of course be adjusted using \setfloatadjustment, default


The default alignment is \centering. I want to justify the text of a margintable. But I don't know what the command for explicit justification, so I tried the following


Of course that is only flushed to the left, with a ragged right edge. How do I justify the text inside a margintable environment of the memoir class?

share|improve this question
up vote 3 down vote accepted

Use the ragged2e package and its \justifying macro.

EDIT: I should have guessed that memoir provides its own macro for the task: \flushleftright.


% Variant A
% \usepackage{ragged2e}
% \setfloatadjustment{marginfigure}{\justifying}

% Variant B






enter image description here

share|improve this answer
it's nice to know that this can be done, but ragged was almost certainly used for a reason. just compare the appearance of the main text and the margin block, and you'll understand why. if your content really does naturally come out with good spacing in a justified environment, go with it, but look at the output with a critical eye before "freezing" it. that may mean resetting individual margin blocks selectively. – barbara beeton Dec 11 '11 at 13:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.