2

I'm trying to get my margin content (flush)left aligned, but contrary to all examples and documentation I can find, this does not work:

\setuplayout[backspace=6cm,leftmargin=4cm,width=14cm]

\setupmargindata[inmargin][align=flushleft]

\starttext
\showframe
\inmargin{ 

\input ward 

\startitemize
  \item Something something this should be aligned just as if it was in the main text
  \item But it is not, it just looks weird and wrong.
\stopitemize

\externalfigure[cow.pdf][width=\marginwidth]

}

\input ward

\stoptext

enter image description here

What am I missing?

3

This here seems to do the trick:

\setuplayout[backspace=6cm,leftmargin=4cm,width=14cm]
\setupmarginframed[inmargin][align=flushleft]
\starttext
\showframe
\inmargin{

\input ward

\startitemize
  \item Something something this should be aligned just as if it was in the main text
  \item But it is not, it just looks weird and wrong.
\stopitemize

\externalfigure[cow.pdf][width=\marginwidth]

}

\input ward

\stoptext

enter image description here

  • It did, thank you! :-) Do you happen to know what options setupmarginframed is used for and which ones setupmargindata? I don't really understand the difference conceptually yet. – DP. Jun 29 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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