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

I need page where is text column with pictures on the left side. Inside the text column I need on the right side floating letter. Here is code:

        {\externalfigure[ http://farm6.static.flickr.com/5260/5543764878_c5b27b5aed_s.jpg]
                \framed[frame=off,background=letteroverlay,height=1cm]{ A}
        {\bfb Bla bla bla}%

        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc lobortis
        accumsan sem vitae molestie. Mauris tincidunt elementum mi, semper aliquet
        sapien convallis sed.%

Problem is, that if I use the framed for letter "A" picture disapears. How to have floated framed box inside another frame? I cannot use margin, because this should be inside two columns.

Final document should look like this picture:

How document should look

share|improve this question
I have no idea what you want to achieve. You should improve your description or add a graphic that shows the intended result. Additionally your code doesn't compile (with latest beta). – Marco Jan 23 '12 at 12:49
I can compile code with: mtx-context | current version: 2011.05.18 18:04 – Pavel Dohnal Jan 23 '12 at 12:59

Still, I'm not sure if I got the idea what you want to do. According to your title you want one float inside another one. This doesn't make much sense. I think you don't really want several floating objects but particular features of the \placefloat command.

I do neither see columns in your example, nor how the example code matches the graphic you provided. However, this is a solution I can come up with:

% for the placeholder graphic
\useMPlibrary [dum]

\setuplayout [backspace=5cm, width=middle]

\definefloat      [innerfloat] [innerfloats]
\setupcaption     [innerfloat] [location=none]
\defineframedtext [innerfloat] [frame=off, width=1cm]


  {\bfb Bla bla bla}\par
  Some text…}

\input knuth

\startplaceinnerfloat [location={right,fit}]
    \bfc A

\input knuth


The result looks like this:


Since floats in columns are tricky I used the margin as a column.

share|improve this answer

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.