ConTeXt images/floats in text and marginStack margin text in outer margin in ConTeXt Mk IVFloats that span...

Do authors have to be politically correct in article-writing?

Emit zero-width bash prompt sequence from external binary

4 Spheres all touching each other??

How should I state my MS degree in my CV when it was in practice a joint-program?

Why zero tolerance on nudity in space?

Why is c4 a better move in this position?

Meaning of すきっとした

Which branches of mathematics can be done just in terms of morphisms and composition?

Wanted: 5.25 floppy to usb adapter

How to mitigate "bandwagon attacking" from players?

What is Crew Dragon approaching in this picture?

F1 visa even for a three-week course?

Table enclosed in curly brackets

Incompressible fluid definition

What's the purpose of these copper coils with resitors inside them in A Yamaha RX-V396RDS amplifier?

Eww, those bytes are gross

Why didn't Eru and/or the Valar intervene when Sauron corrupted Númenor?

I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

Do any poskim exempt 13-20-year-olds from Mussaf?

'A' vs 'an' in newspaper article

raspberry pi change directory (cd) command not working with USB drive

Why can I easily sing or whistle a tune I've just heard, but not as easily reproduce it on an instrument?

For Loop and Sum

What do these brackets mean?



ConTeXt images/floats in text and margin


Stack margin text in outer margin in ConTeXt Mk IVFloats that span the text width and the marginConTeXt - Make text embody figure and respect marginsHow to wrap text around framed floats in ConTeXt?ConTeXt: Columnar section titles, floats, and imagesAdjusting label text and counter for custom floats in ConTeXt?ConTeXt : side floats and backgroundAdding Alt-Text to Images in ConTeXtConTeXt: uniform handling of whitespace in margin and textcontext: line between margin and text













2















In making a format for a Latin Textbook, I get problems when I insert images in margin and text. Because I fear that there is some interference in my document, I will paste the whole document setup (with errors that I don't understand).



%main settings
setuppapersize[A5]
setuppagenumbering
[alternative=doublesided,
command=doifoddpageelse{rightline}{leftline},
location={footer,inright}]

mainlanguage[la]
language[la]
setuphyphenation[method=traditional]
setuptolerance[horizontal,strict] %zorgt voor minder overfull boxes
definefontfeature
[default][default]
[protrusion=quality,
expansion=quality]
setupbodyfont[11pt]
setupalign[hz,hanging]
setuplinenumbering[step=5, location=inner, align=outer]
setupitemize[packed]
setupindenting[small,yes]
setupinterlinespace[line=3.8ex]

%page layout
setuplayout
[% vertical
header=lineheight,
headerdistance=6mm,
text=fill
footerdistance=0pt,
footer=lineheight,
% horizontal
backspace=15mm,
width=90mm,
rightmargin=30mm,
rightmargindistance=6mm]

%horizontal and vertical orange line
startuseMPgraphic{page}
path outer, text, head, ohead, p, q ;

StartPage ;

outer := Field[Text] [OuterMargin] ;
text := Field[Text] [Text] ;
head := Field[Header] [Text] ;
ohead := Field[Header] [OuterMargin] ;

if OnRightPage :
p := .5[lrcorner text,llcorner outer] -- .5[lrcorner head,llcorner ohead] ;
q := llcorner head -- lrcorner ohead ;
else :
p := .5[lrcorner outer,llcorner text] -- .5[lrcorner ohead,llcorner head] ;
q := llcorner ohead -- lrcorner head ;
fi ;

draw p withcolor MPcolor{orange} ;
draw q withcolor MPcolor{orange} ;

StopPage ;
stopuseMPgraphic

defineoverlay[page][useMPgraphic{page}]
setupbackgrounds[page][background=page]

%headers and sections
setupheadertexts
[text]
[subject][]
[][section]
setupheadertexts
[margin]
[][hfillllap{getmarking[section]}]
[rlap{getmarking[subject]}hfill][]
setupheader[style=sc]

setuphead
[section]
[textcolor=orange,
number=no,
textstyle=bfcap,
align=middle,
before={blank},
after={blank[1mm]}
]

setuphead
[subject]
[textcolor=black,
textstyle=smallsc,
align=middle,
before={blank[1mm]},
after={blank}
]

% setup the side notes
setupnarrower[left=2.5mm]
starttexdefinition unexpanded exdent #1
blank[-line] % Remove the newline from the following startnarrower
startnarrower[left]
setupindenting[-leftskip,yes]
#1
stopnarrower
stoptexdefinition
setupmargindata[margintext]
[location=outer,
align=flushleft,
width=3cm,
stack=yes,
style={tfxsetupinterlinespace[line=10pt]},
command=exdent]

setupcaptions[number=no, align=right]

showstruts
%showallmakeup
starttext


margintext{vulpes vulpis it f}
placefigure{}{externalfigure [vulpes][width=6cm]}
margintext{corvus ī it m}
startsection[title={Corvus et Vulpēs}]


startsubject[title={Apud capitulum X}]

startlinenumbering
Corvus margintext{placefigure{rōstrum -ī it n}{externalfigure[rostrum][width=30mm]}} est avis, quae nōn tanta est quanta aquila. Pedēs, cauda, ālae, rōstrum et cētera nigra sunt. Cum per āera volat, ālās movēre necesse est. Cum in arboribus sedet, nōn cadit. Pedibus enim sē rāmīs tenēre potest neque tam crassa est ut puer Rōmānus. Ergō etiam ā tenuibus rāmīs sustinērī potest. Corvus pedibus in terrā ambulāre potest. Nīdōs autem nōn in terrā, sed in rāmīs faciunt, quī in altīs arboribus sunt, quō multa animālia ascendere nōn possunt. Pullī nōn ex corvīs ipsīs, sed ex ōvīs eōrum veniunt. Nūlla avis vōcem tam foedam habet quam corvus. Cum enim corvus cantat, ''krra-krra-krra'' audītur.

Etiam vulpēs in terrā ambulāre potest. Nam ea quoque pedēs habet. Numerus pedum est quattuor. Vulpēs nōn est tanta quantus lupus neque tam parva quam mūs. margintext{placefigure{mūs mūris it m}{externalfigure[mus][width=30mm]}} Vulpēs dentibus parva animālia capit et ēst. Ab aliīs bēstiīs timētur, quia improba est. In silvā nēmō amīcus vulpis esse vult neque ūlla bēstia eās amat. Ecce textellipsis hic corvus in rōstrō frustum cāseī margintext{placefigure{frustum cāseī}{externalfigure[caseus][width=30mm]}}
tenet. Cāseus est cibus pāstōrum. Pāstores cāseōs ē lactemargintext{placefigure{lac lactis it n}{externalfigure[lac][width=20mm]}}
ovium faciunt. Lac album est et bibī potest. Cāseus nōn bibī, sed edī potest. Corvus ipse cāseum facere nōn potest, sed eum ā pāstōribus, quī dormiunt, capere potest. Unde hic corvus cāseum habet? Et quid agit illa vulpēs? Audītē!

placefigure[outer]{}{externalfigure[corvusetvulpes][width=30mm]}Corvus circum oppidum Tūsculum volat, ubi vīllam cum magnō hortō videt. Illīc fenestra aperītur. Corvus per illam fenestram parvum cubiculum videt, in quo ancilla stat. Quae est illa ancilla? Syra est, quae illīc saccōs cibī plenōs numerat. In aliīs saccīs aliī cibī sunt: pīra, māla, panis, cāseus et cētera. Inter illōs saccōs corvus magnum saccum esse videt. Ō quantusmargintext{quantus! = quam magnus!} est ille saccus! Quid inest?
Ecce textellipsis ancilla cubiculum relinquit. Corvus ex āere iam nūllum hominem apud illum saccum esse videt. Ergō ad vīllam volat et per fenestram cubiculum intrat.
placefigure[outer]{}{externalfigure[corvus_per_fenestram_volans][width=4cm]}
Corvus: ''Nēmō hīc est. Hic saccus plēnus est. Id, quod inest, vidērī nōn potest.” Corvus, quia vidēre vult, quod inest, līneam, quā saccus clauditur,margintext{placefigure{saccus, quī līneā clauditur}{externalfigure[saccus_qui_linea_clauditur]}}
rōstrō sūmit et eum aperit. In eō cāseum magnum reperit. Frustum cāseī rōstrō sumit et cubiculum relinquit.
Dum per fenestram volat, Syra accurrit et exclāmat: ''Improbe corve, revenī!margintext{re-venīre = rūrsus venīre} Reddemargintext{red-dere = rūrsus dare} mihimargintext{mihi it{dat} mē it{acc}} cāseum dominī meī!'' Sed corvus sē vertere nōn vult et abit. Iam procul ā Syrā est.

Etiam Iūlius cubiculum intrat et cāseum abesse videt. Ōstium post sē claudit et īrātus Syram interrogat accūsatque: ''Ubi est cāseus meus? Quis habet cāseum meum? Tūne?margintext{Tū-ne?} Improba ancilla! Mala est ancilla, quae cāseum dominī ēst!'' Dominus eam verberāre vult neque potest; nam baculum eius in ātriō est. Ergō exit ē cubiculō et cum baculō suō revenit.
Illīc videt ancillam suam, cui in oculīs parvae lacrimae sunt, quia ea baculum timet. Dominus verba eius audit: ''In ventremargintext{placefigure{venter ventris m}{externalfigure[venter][width=30mm]}} meō tuus cāseus nōn est. Ille corvus, quī per fenestram vidērī potest, eum rōstrō tenet.'' Syra eum Iūliō mōnstrāre vult neque potest. Dum enim Iūlius ad fenestram advenit, corvus iam procul ā fenestrā volat. Ergō Iūlius īrātus: ''Illīc nūlla avis vidētur neque suprā illum collem neque suprā illam arborem neque suprā illōs montēs. Immō, caelum vacuum est. Verba tua improba sunt. Itaque necesse est tē verberāre.'' Syra ā dominō verberātur.
Dum Syra oculōs terget, corvus iam inter arborēs volat et in altō rāmō cōnsīdit.margintext{placefigure{cōn-sīdere < sedēre}{externalfigure[considere][width=20mm]}}
margintext{} Vulpēs, quae per silvam errat et cibum quaerit, eum aspicit. Cāseum quoque videt. Eum ā corvō capere et ipsa ēsse vult. Ergō sē occultat inter folia, quae sunt in iīs rāmīs, quī nōn procul ā terrā absunt. Nam ā corvō vidērī nōn vult.
Vulpēs sē nōn movet, sed tantum verba facit: ''Ō corve, quam fōrmōsa est cauda tua, quam pulchrae sunt ālae! Ostende mihi ālās tuās!'' Corvus, quī ea verba audit, dēlectātur et sē vertit et circumspicit.margintext{circum-spicit < a-spicit} Corvus vult eam bēstiam vidēre, cūius vōcem audit. Quam pulchra enim sunt ea verba! Nēmō autem ab eō reperītur. Corvus: ''Nūlla bēstia sē movet. Nūlla vestīgia vidērī possunt. Ergō nēmō adest.'' Post haec verba rūrsus sē vertit et cāseum ēsse vult.
Vulpēs, quae hoc videt, iam rīdet et rūrsus clāmat: ''Ō domine animālium, inter bestiās nūlla reperītur, quae tam pulchra est quam tū! Ecce textellipsis oculī tuī, quī lūcent ut margarītae. Ecce textellipsis rōstrum tuum, quod est tam fōrmōsum quam fēmina, quae multīs gemmīs ōrnātur. Et vōx tua textellipsis quam pulchra est ea! Ostende eam! Cēterae avēs, arborēs, fluviī, montēs eam audīre volunt. Vōcem tuam enim amant tantum, quantum mātrēs suās. Facmargintext{ fac! it{imp} < facere} pauca verba! Cantā!'' Haec verba corvum valdē dēlectant.
Is vōcem ostendere vult. Dum autem rōstrum aperit, cāseus ex eō cadit et ā vulpe dentibus sūmitur. Vulpēs, quae cāseum inter dentēs tenet, ab arbore currit et prope rīvum, ubi nēmō eam vidēre potest, cāseum ēst. Vulpēs rīdet, plōrat corvus! margintext{[Scripsit Magister Vēnemus, Martio MMXVII Arnhi]}
stoplinenumbering
stopsubject
stoptitle

startsection[title={Pēnsum C}]
stopsection
startitemize[n]
item Unde veniunt pullī?
item Quid audītur cum corvus cantat?
item Cūr aliae bēstiae vulpem timent?
item Num cāseus bibī potest?
item Quid corvus videt in cubiculō ubi Syra est?
item Quid Syra corvō imperat?
item Ubi dominus nullam avem volare videt?
item Cūr vulpēs sē inter folia occultat?
item Quid dīcit vulpēs corvō?
item Cūr cāseus e rōstrō corvī cadit?
stopitemize



stoptext


I have the following wishes/questions:




  1. When I comment out the figures in the text, the marginfigures do their job. Why is there such a strange interference between the figures in the margins and the figures in the text?


  2. My margin is 'exdented' (first Line not indented, but following lines are). But a first new comment in the margin after a header or an image results immediately in an indentation which I do not wish. How can I fix this?


  3. I would like (as much as possible) to have the top line of the comment aligned with the top line of the text. This goes well, until I insert images. Then, the top of the image aligns with the text, squeezing down the text. How can I tell ConTeXt that I wish it otherwise? (If this helps: now, I have given the images captions, but it is no problem to work without them, simply adding 'captions' in a margintext command apart from the image.)











share|improve this question





























    2















    In making a format for a Latin Textbook, I get problems when I insert images in margin and text. Because I fear that there is some interference in my document, I will paste the whole document setup (with errors that I don't understand).



    %main settings
    setuppapersize[A5]
    setuppagenumbering
    [alternative=doublesided,
    command=doifoddpageelse{rightline}{leftline},
    location={footer,inright}]

    mainlanguage[la]
    language[la]
    setuphyphenation[method=traditional]
    setuptolerance[horizontal,strict] %zorgt voor minder overfull boxes
    definefontfeature
    [default][default]
    [protrusion=quality,
    expansion=quality]
    setupbodyfont[11pt]
    setupalign[hz,hanging]
    setuplinenumbering[step=5, location=inner, align=outer]
    setupitemize[packed]
    setupindenting[small,yes]
    setupinterlinespace[line=3.8ex]

    %page layout
    setuplayout
    [% vertical
    header=lineheight,
    headerdistance=6mm,
    text=fill
    footerdistance=0pt,
    footer=lineheight,
    % horizontal
    backspace=15mm,
    width=90mm,
    rightmargin=30mm,
    rightmargindistance=6mm]

    %horizontal and vertical orange line
    startuseMPgraphic{page}
    path outer, text, head, ohead, p, q ;

    StartPage ;

    outer := Field[Text] [OuterMargin] ;
    text := Field[Text] [Text] ;
    head := Field[Header] [Text] ;
    ohead := Field[Header] [OuterMargin] ;

    if OnRightPage :
    p := .5[lrcorner text,llcorner outer] -- .5[lrcorner head,llcorner ohead] ;
    q := llcorner head -- lrcorner ohead ;
    else :
    p := .5[lrcorner outer,llcorner text] -- .5[lrcorner ohead,llcorner head] ;
    q := llcorner ohead -- lrcorner head ;
    fi ;

    draw p withcolor MPcolor{orange} ;
    draw q withcolor MPcolor{orange} ;

    StopPage ;
    stopuseMPgraphic

    defineoverlay[page][useMPgraphic{page}]
    setupbackgrounds[page][background=page]

    %headers and sections
    setupheadertexts
    [text]
    [subject][]
    [][section]
    setupheadertexts
    [margin]
    [][hfillllap{getmarking[section]}]
    [rlap{getmarking[subject]}hfill][]
    setupheader[style=sc]

    setuphead
    [section]
    [textcolor=orange,
    number=no,
    textstyle=bfcap,
    align=middle,
    before={blank},
    after={blank[1mm]}
    ]

    setuphead
    [subject]
    [textcolor=black,
    textstyle=smallsc,
    align=middle,
    before={blank[1mm]},
    after={blank}
    ]

    % setup the side notes
    setupnarrower[left=2.5mm]
    starttexdefinition unexpanded exdent #1
    blank[-line] % Remove the newline from the following startnarrower
    startnarrower[left]
    setupindenting[-leftskip,yes]
    #1
    stopnarrower
    stoptexdefinition
    setupmargindata[margintext]
    [location=outer,
    align=flushleft,
    width=3cm,
    stack=yes,
    style={tfxsetupinterlinespace[line=10pt]},
    command=exdent]

    setupcaptions[number=no, align=right]

    showstruts
    %showallmakeup
    starttext


    margintext{vulpes vulpis it f}
    placefigure{}{externalfigure [vulpes][width=6cm]}
    margintext{corvus ī it m}
    startsection[title={Corvus et Vulpēs}]


    startsubject[title={Apud capitulum X}]

    startlinenumbering
    Corvus margintext{placefigure{rōstrum -ī it n}{externalfigure[rostrum][width=30mm]}} est avis, quae nōn tanta est quanta aquila. Pedēs, cauda, ālae, rōstrum et cētera nigra sunt. Cum per āera volat, ālās movēre necesse est. Cum in arboribus sedet, nōn cadit. Pedibus enim sē rāmīs tenēre potest neque tam crassa est ut puer Rōmānus. Ergō etiam ā tenuibus rāmīs sustinērī potest. Corvus pedibus in terrā ambulāre potest. Nīdōs autem nōn in terrā, sed in rāmīs faciunt, quī in altīs arboribus sunt, quō multa animālia ascendere nōn possunt. Pullī nōn ex corvīs ipsīs, sed ex ōvīs eōrum veniunt. Nūlla avis vōcem tam foedam habet quam corvus. Cum enim corvus cantat, ''krra-krra-krra'' audītur.

    Etiam vulpēs in terrā ambulāre potest. Nam ea quoque pedēs habet. Numerus pedum est quattuor. Vulpēs nōn est tanta quantus lupus neque tam parva quam mūs. margintext{placefigure{mūs mūris it m}{externalfigure[mus][width=30mm]}} Vulpēs dentibus parva animālia capit et ēst. Ab aliīs bēstiīs timētur, quia improba est. In silvā nēmō amīcus vulpis esse vult neque ūlla bēstia eās amat. Ecce textellipsis hic corvus in rōstrō frustum cāseī margintext{placefigure{frustum cāseī}{externalfigure[caseus][width=30mm]}}
    tenet. Cāseus est cibus pāstōrum. Pāstores cāseōs ē lactemargintext{placefigure{lac lactis it n}{externalfigure[lac][width=20mm]}}
    ovium faciunt. Lac album est et bibī potest. Cāseus nōn bibī, sed edī potest. Corvus ipse cāseum facere nōn potest, sed eum ā pāstōribus, quī dormiunt, capere potest. Unde hic corvus cāseum habet? Et quid agit illa vulpēs? Audītē!

    placefigure[outer]{}{externalfigure[corvusetvulpes][width=30mm]}Corvus circum oppidum Tūsculum volat, ubi vīllam cum magnō hortō videt. Illīc fenestra aperītur. Corvus per illam fenestram parvum cubiculum videt, in quo ancilla stat. Quae est illa ancilla? Syra est, quae illīc saccōs cibī plenōs numerat. In aliīs saccīs aliī cibī sunt: pīra, māla, panis, cāseus et cētera. Inter illōs saccōs corvus magnum saccum esse videt. Ō quantusmargintext{quantus! = quam magnus!} est ille saccus! Quid inest?
    Ecce textellipsis ancilla cubiculum relinquit. Corvus ex āere iam nūllum hominem apud illum saccum esse videt. Ergō ad vīllam volat et per fenestram cubiculum intrat.
    placefigure[outer]{}{externalfigure[corvus_per_fenestram_volans][width=4cm]}
    Corvus: ''Nēmō hīc est. Hic saccus plēnus est. Id, quod inest, vidērī nōn potest.” Corvus, quia vidēre vult, quod inest, līneam, quā saccus clauditur,margintext{placefigure{saccus, quī līneā clauditur}{externalfigure[saccus_qui_linea_clauditur]}}
    rōstrō sūmit et eum aperit. In eō cāseum magnum reperit. Frustum cāseī rōstrō sumit et cubiculum relinquit.
    Dum per fenestram volat, Syra accurrit et exclāmat: ''Improbe corve, revenī!margintext{re-venīre = rūrsus venīre} Reddemargintext{red-dere = rūrsus dare} mihimargintext{mihi it{dat} mē it{acc}} cāseum dominī meī!'' Sed corvus sē vertere nōn vult et abit. Iam procul ā Syrā est.

    Etiam Iūlius cubiculum intrat et cāseum abesse videt. Ōstium post sē claudit et īrātus Syram interrogat accūsatque: ''Ubi est cāseus meus? Quis habet cāseum meum? Tūne?margintext{Tū-ne?} Improba ancilla! Mala est ancilla, quae cāseum dominī ēst!'' Dominus eam verberāre vult neque potest; nam baculum eius in ātriō est. Ergō exit ē cubiculō et cum baculō suō revenit.
    Illīc videt ancillam suam, cui in oculīs parvae lacrimae sunt, quia ea baculum timet. Dominus verba eius audit: ''In ventremargintext{placefigure{venter ventris m}{externalfigure[venter][width=30mm]}} meō tuus cāseus nōn est. Ille corvus, quī per fenestram vidērī potest, eum rōstrō tenet.'' Syra eum Iūliō mōnstrāre vult neque potest. Dum enim Iūlius ad fenestram advenit, corvus iam procul ā fenestrā volat. Ergō Iūlius īrātus: ''Illīc nūlla avis vidētur neque suprā illum collem neque suprā illam arborem neque suprā illōs montēs. Immō, caelum vacuum est. Verba tua improba sunt. Itaque necesse est tē verberāre.'' Syra ā dominō verberātur.
    Dum Syra oculōs terget, corvus iam inter arborēs volat et in altō rāmō cōnsīdit.margintext{placefigure{cōn-sīdere < sedēre}{externalfigure[considere][width=20mm]}}
    margintext{} Vulpēs, quae per silvam errat et cibum quaerit, eum aspicit. Cāseum quoque videt. Eum ā corvō capere et ipsa ēsse vult. Ergō sē occultat inter folia, quae sunt in iīs rāmīs, quī nōn procul ā terrā absunt. Nam ā corvō vidērī nōn vult.
    Vulpēs sē nōn movet, sed tantum verba facit: ''Ō corve, quam fōrmōsa est cauda tua, quam pulchrae sunt ālae! Ostende mihi ālās tuās!'' Corvus, quī ea verba audit, dēlectātur et sē vertit et circumspicit.margintext{circum-spicit < a-spicit} Corvus vult eam bēstiam vidēre, cūius vōcem audit. Quam pulchra enim sunt ea verba! Nēmō autem ab eō reperītur. Corvus: ''Nūlla bēstia sē movet. Nūlla vestīgia vidērī possunt. Ergō nēmō adest.'' Post haec verba rūrsus sē vertit et cāseum ēsse vult.
    Vulpēs, quae hoc videt, iam rīdet et rūrsus clāmat: ''Ō domine animālium, inter bestiās nūlla reperītur, quae tam pulchra est quam tū! Ecce textellipsis oculī tuī, quī lūcent ut margarītae. Ecce textellipsis rōstrum tuum, quod est tam fōrmōsum quam fēmina, quae multīs gemmīs ōrnātur. Et vōx tua textellipsis quam pulchra est ea! Ostende eam! Cēterae avēs, arborēs, fluviī, montēs eam audīre volunt. Vōcem tuam enim amant tantum, quantum mātrēs suās. Facmargintext{ fac! it{imp} < facere} pauca verba! Cantā!'' Haec verba corvum valdē dēlectant.
    Is vōcem ostendere vult. Dum autem rōstrum aperit, cāseus ex eō cadit et ā vulpe dentibus sūmitur. Vulpēs, quae cāseum inter dentēs tenet, ab arbore currit et prope rīvum, ubi nēmō eam vidēre potest, cāseum ēst. Vulpēs rīdet, plōrat corvus! margintext{[Scripsit Magister Vēnemus, Martio MMXVII Arnhi]}
    stoplinenumbering
    stopsubject
    stoptitle

    startsection[title={Pēnsum C}]
    stopsection
    startitemize[n]
    item Unde veniunt pullī?
    item Quid audītur cum corvus cantat?
    item Cūr aliae bēstiae vulpem timent?
    item Num cāseus bibī potest?
    item Quid corvus videt in cubiculō ubi Syra est?
    item Quid Syra corvō imperat?
    item Ubi dominus nullam avem volare videt?
    item Cūr vulpēs sē inter folia occultat?
    item Quid dīcit vulpēs corvō?
    item Cūr cāseus e rōstrō corvī cadit?
    stopitemize



    stoptext


    I have the following wishes/questions:




    1. When I comment out the figures in the text, the marginfigures do their job. Why is there such a strange interference between the figures in the margins and the figures in the text?


    2. My margin is 'exdented' (first Line not indented, but following lines are). But a first new comment in the margin after a header or an image results immediately in an indentation which I do not wish. How can I fix this?


    3. I would like (as much as possible) to have the top line of the comment aligned with the top line of the text. This goes well, until I insert images. Then, the top of the image aligns with the text, squeezing down the text. How can I tell ConTeXt that I wish it otherwise? (If this helps: now, I have given the images captions, but it is no problem to work without them, simply adding 'captions' in a margintext command apart from the image.)











    share|improve this question



























      2












      2








      2








      In making a format for a Latin Textbook, I get problems when I insert images in margin and text. Because I fear that there is some interference in my document, I will paste the whole document setup (with errors that I don't understand).



      %main settings
      setuppapersize[A5]
      setuppagenumbering
      [alternative=doublesided,
      command=doifoddpageelse{rightline}{leftline},
      location={footer,inright}]

      mainlanguage[la]
      language[la]
      setuphyphenation[method=traditional]
      setuptolerance[horizontal,strict] %zorgt voor minder overfull boxes
      definefontfeature
      [default][default]
      [protrusion=quality,
      expansion=quality]
      setupbodyfont[11pt]
      setupalign[hz,hanging]
      setuplinenumbering[step=5, location=inner, align=outer]
      setupitemize[packed]
      setupindenting[small,yes]
      setupinterlinespace[line=3.8ex]

      %page layout
      setuplayout
      [% vertical
      header=lineheight,
      headerdistance=6mm,
      text=fill
      footerdistance=0pt,
      footer=lineheight,
      % horizontal
      backspace=15mm,
      width=90mm,
      rightmargin=30mm,
      rightmargindistance=6mm]

      %horizontal and vertical orange line
      startuseMPgraphic{page}
      path outer, text, head, ohead, p, q ;

      StartPage ;

      outer := Field[Text] [OuterMargin] ;
      text := Field[Text] [Text] ;
      head := Field[Header] [Text] ;
      ohead := Field[Header] [OuterMargin] ;

      if OnRightPage :
      p := .5[lrcorner text,llcorner outer] -- .5[lrcorner head,llcorner ohead] ;
      q := llcorner head -- lrcorner ohead ;
      else :
      p := .5[lrcorner outer,llcorner text] -- .5[lrcorner ohead,llcorner head] ;
      q := llcorner ohead -- lrcorner head ;
      fi ;

      draw p withcolor MPcolor{orange} ;
      draw q withcolor MPcolor{orange} ;

      StopPage ;
      stopuseMPgraphic

      defineoverlay[page][useMPgraphic{page}]
      setupbackgrounds[page][background=page]

      %headers and sections
      setupheadertexts
      [text]
      [subject][]
      [][section]
      setupheadertexts
      [margin]
      [][hfillllap{getmarking[section]}]
      [rlap{getmarking[subject]}hfill][]
      setupheader[style=sc]

      setuphead
      [section]
      [textcolor=orange,
      number=no,
      textstyle=bfcap,
      align=middle,
      before={blank},
      after={blank[1mm]}
      ]

      setuphead
      [subject]
      [textcolor=black,
      textstyle=smallsc,
      align=middle,
      before={blank[1mm]},
      after={blank}
      ]

      % setup the side notes
      setupnarrower[left=2.5mm]
      starttexdefinition unexpanded exdent #1
      blank[-line] % Remove the newline from the following startnarrower
      startnarrower[left]
      setupindenting[-leftskip,yes]
      #1
      stopnarrower
      stoptexdefinition
      setupmargindata[margintext]
      [location=outer,
      align=flushleft,
      width=3cm,
      stack=yes,
      style={tfxsetupinterlinespace[line=10pt]},
      command=exdent]

      setupcaptions[number=no, align=right]

      showstruts
      %showallmakeup
      starttext


      margintext{vulpes vulpis it f}
      placefigure{}{externalfigure [vulpes][width=6cm]}
      margintext{corvus ī it m}
      startsection[title={Corvus et Vulpēs}]


      startsubject[title={Apud capitulum X}]

      startlinenumbering
      Corvus margintext{placefigure{rōstrum -ī it n}{externalfigure[rostrum][width=30mm]}} est avis, quae nōn tanta est quanta aquila. Pedēs, cauda, ālae, rōstrum et cētera nigra sunt. Cum per āera volat, ālās movēre necesse est. Cum in arboribus sedet, nōn cadit. Pedibus enim sē rāmīs tenēre potest neque tam crassa est ut puer Rōmānus. Ergō etiam ā tenuibus rāmīs sustinērī potest. Corvus pedibus in terrā ambulāre potest. Nīdōs autem nōn in terrā, sed in rāmīs faciunt, quī in altīs arboribus sunt, quō multa animālia ascendere nōn possunt. Pullī nōn ex corvīs ipsīs, sed ex ōvīs eōrum veniunt. Nūlla avis vōcem tam foedam habet quam corvus. Cum enim corvus cantat, ''krra-krra-krra'' audītur.

      Etiam vulpēs in terrā ambulāre potest. Nam ea quoque pedēs habet. Numerus pedum est quattuor. Vulpēs nōn est tanta quantus lupus neque tam parva quam mūs. margintext{placefigure{mūs mūris it m}{externalfigure[mus][width=30mm]}} Vulpēs dentibus parva animālia capit et ēst. Ab aliīs bēstiīs timētur, quia improba est. In silvā nēmō amīcus vulpis esse vult neque ūlla bēstia eās amat. Ecce textellipsis hic corvus in rōstrō frustum cāseī margintext{placefigure{frustum cāseī}{externalfigure[caseus][width=30mm]}}
      tenet. Cāseus est cibus pāstōrum. Pāstores cāseōs ē lactemargintext{placefigure{lac lactis it n}{externalfigure[lac][width=20mm]}}
      ovium faciunt. Lac album est et bibī potest. Cāseus nōn bibī, sed edī potest. Corvus ipse cāseum facere nōn potest, sed eum ā pāstōribus, quī dormiunt, capere potest. Unde hic corvus cāseum habet? Et quid agit illa vulpēs? Audītē!

      placefigure[outer]{}{externalfigure[corvusetvulpes][width=30mm]}Corvus circum oppidum Tūsculum volat, ubi vīllam cum magnō hortō videt. Illīc fenestra aperītur. Corvus per illam fenestram parvum cubiculum videt, in quo ancilla stat. Quae est illa ancilla? Syra est, quae illīc saccōs cibī plenōs numerat. In aliīs saccīs aliī cibī sunt: pīra, māla, panis, cāseus et cētera. Inter illōs saccōs corvus magnum saccum esse videt. Ō quantusmargintext{quantus! = quam magnus!} est ille saccus! Quid inest?
      Ecce textellipsis ancilla cubiculum relinquit. Corvus ex āere iam nūllum hominem apud illum saccum esse videt. Ergō ad vīllam volat et per fenestram cubiculum intrat.
      placefigure[outer]{}{externalfigure[corvus_per_fenestram_volans][width=4cm]}
      Corvus: ''Nēmō hīc est. Hic saccus plēnus est. Id, quod inest, vidērī nōn potest.” Corvus, quia vidēre vult, quod inest, līneam, quā saccus clauditur,margintext{placefigure{saccus, quī līneā clauditur}{externalfigure[saccus_qui_linea_clauditur]}}
      rōstrō sūmit et eum aperit. In eō cāseum magnum reperit. Frustum cāseī rōstrō sumit et cubiculum relinquit.
      Dum per fenestram volat, Syra accurrit et exclāmat: ''Improbe corve, revenī!margintext{re-venīre = rūrsus venīre} Reddemargintext{red-dere = rūrsus dare} mihimargintext{mihi it{dat} mē it{acc}} cāseum dominī meī!'' Sed corvus sē vertere nōn vult et abit. Iam procul ā Syrā est.

      Etiam Iūlius cubiculum intrat et cāseum abesse videt. Ōstium post sē claudit et īrātus Syram interrogat accūsatque: ''Ubi est cāseus meus? Quis habet cāseum meum? Tūne?margintext{Tū-ne?} Improba ancilla! Mala est ancilla, quae cāseum dominī ēst!'' Dominus eam verberāre vult neque potest; nam baculum eius in ātriō est. Ergō exit ē cubiculō et cum baculō suō revenit.
      Illīc videt ancillam suam, cui in oculīs parvae lacrimae sunt, quia ea baculum timet. Dominus verba eius audit: ''In ventremargintext{placefigure{venter ventris m}{externalfigure[venter][width=30mm]}} meō tuus cāseus nōn est. Ille corvus, quī per fenestram vidērī potest, eum rōstrō tenet.'' Syra eum Iūliō mōnstrāre vult neque potest. Dum enim Iūlius ad fenestram advenit, corvus iam procul ā fenestrā volat. Ergō Iūlius īrātus: ''Illīc nūlla avis vidētur neque suprā illum collem neque suprā illam arborem neque suprā illōs montēs. Immō, caelum vacuum est. Verba tua improba sunt. Itaque necesse est tē verberāre.'' Syra ā dominō verberātur.
      Dum Syra oculōs terget, corvus iam inter arborēs volat et in altō rāmō cōnsīdit.margintext{placefigure{cōn-sīdere < sedēre}{externalfigure[considere][width=20mm]}}
      margintext{} Vulpēs, quae per silvam errat et cibum quaerit, eum aspicit. Cāseum quoque videt. Eum ā corvō capere et ipsa ēsse vult. Ergō sē occultat inter folia, quae sunt in iīs rāmīs, quī nōn procul ā terrā absunt. Nam ā corvō vidērī nōn vult.
      Vulpēs sē nōn movet, sed tantum verba facit: ''Ō corve, quam fōrmōsa est cauda tua, quam pulchrae sunt ālae! Ostende mihi ālās tuās!'' Corvus, quī ea verba audit, dēlectātur et sē vertit et circumspicit.margintext{circum-spicit < a-spicit} Corvus vult eam bēstiam vidēre, cūius vōcem audit. Quam pulchra enim sunt ea verba! Nēmō autem ab eō reperītur. Corvus: ''Nūlla bēstia sē movet. Nūlla vestīgia vidērī possunt. Ergō nēmō adest.'' Post haec verba rūrsus sē vertit et cāseum ēsse vult.
      Vulpēs, quae hoc videt, iam rīdet et rūrsus clāmat: ''Ō domine animālium, inter bestiās nūlla reperītur, quae tam pulchra est quam tū! Ecce textellipsis oculī tuī, quī lūcent ut margarītae. Ecce textellipsis rōstrum tuum, quod est tam fōrmōsum quam fēmina, quae multīs gemmīs ōrnātur. Et vōx tua textellipsis quam pulchra est ea! Ostende eam! Cēterae avēs, arborēs, fluviī, montēs eam audīre volunt. Vōcem tuam enim amant tantum, quantum mātrēs suās. Facmargintext{ fac! it{imp} < facere} pauca verba! Cantā!'' Haec verba corvum valdē dēlectant.
      Is vōcem ostendere vult. Dum autem rōstrum aperit, cāseus ex eō cadit et ā vulpe dentibus sūmitur. Vulpēs, quae cāseum inter dentēs tenet, ab arbore currit et prope rīvum, ubi nēmō eam vidēre potest, cāseum ēst. Vulpēs rīdet, plōrat corvus! margintext{[Scripsit Magister Vēnemus, Martio MMXVII Arnhi]}
      stoplinenumbering
      stopsubject
      stoptitle

      startsection[title={Pēnsum C}]
      stopsection
      startitemize[n]
      item Unde veniunt pullī?
      item Quid audītur cum corvus cantat?
      item Cūr aliae bēstiae vulpem timent?
      item Num cāseus bibī potest?
      item Quid corvus videt in cubiculō ubi Syra est?
      item Quid Syra corvō imperat?
      item Ubi dominus nullam avem volare videt?
      item Cūr vulpēs sē inter folia occultat?
      item Quid dīcit vulpēs corvō?
      item Cūr cāseus e rōstrō corvī cadit?
      stopitemize



      stoptext


      I have the following wishes/questions:




      1. When I comment out the figures in the text, the marginfigures do their job. Why is there such a strange interference between the figures in the margins and the figures in the text?


      2. My margin is 'exdented' (first Line not indented, but following lines are). But a first new comment in the margin after a header or an image results immediately in an indentation which I do not wish. How can I fix this?


      3. I would like (as much as possible) to have the top line of the comment aligned with the top line of the text. This goes well, until I insert images. Then, the top of the image aligns with the text, squeezing down the text. How can I tell ConTeXt that I wish it otherwise? (If this helps: now, I have given the images captions, but it is no problem to work without them, simply adding 'captions' in a margintext command apart from the image.)











      share|improve this question
















      In making a format for a Latin Textbook, I get problems when I insert images in margin and text. Because I fear that there is some interference in my document, I will paste the whole document setup (with errors that I don't understand).



      %main settings
      setuppapersize[A5]
      setuppagenumbering
      [alternative=doublesided,
      command=doifoddpageelse{rightline}{leftline},
      location={footer,inright}]

      mainlanguage[la]
      language[la]
      setuphyphenation[method=traditional]
      setuptolerance[horizontal,strict] %zorgt voor minder overfull boxes
      definefontfeature
      [default][default]
      [protrusion=quality,
      expansion=quality]
      setupbodyfont[11pt]
      setupalign[hz,hanging]
      setuplinenumbering[step=5, location=inner, align=outer]
      setupitemize[packed]
      setupindenting[small,yes]
      setupinterlinespace[line=3.8ex]

      %page layout
      setuplayout
      [% vertical
      header=lineheight,
      headerdistance=6mm,
      text=fill
      footerdistance=0pt,
      footer=lineheight,
      % horizontal
      backspace=15mm,
      width=90mm,
      rightmargin=30mm,
      rightmargindistance=6mm]

      %horizontal and vertical orange line
      startuseMPgraphic{page}
      path outer, text, head, ohead, p, q ;

      StartPage ;

      outer := Field[Text] [OuterMargin] ;
      text := Field[Text] [Text] ;
      head := Field[Header] [Text] ;
      ohead := Field[Header] [OuterMargin] ;

      if OnRightPage :
      p := .5[lrcorner text,llcorner outer] -- .5[lrcorner head,llcorner ohead] ;
      q := llcorner head -- lrcorner ohead ;
      else :
      p := .5[lrcorner outer,llcorner text] -- .5[lrcorner ohead,llcorner head] ;
      q := llcorner ohead -- lrcorner head ;
      fi ;

      draw p withcolor MPcolor{orange} ;
      draw q withcolor MPcolor{orange} ;

      StopPage ;
      stopuseMPgraphic

      defineoverlay[page][useMPgraphic{page}]
      setupbackgrounds[page][background=page]

      %headers and sections
      setupheadertexts
      [text]
      [subject][]
      [][section]
      setupheadertexts
      [margin]
      [][hfillllap{getmarking[section]}]
      [rlap{getmarking[subject]}hfill][]
      setupheader[style=sc]

      setuphead
      [section]
      [textcolor=orange,
      number=no,
      textstyle=bfcap,
      align=middle,
      before={blank},
      after={blank[1mm]}
      ]

      setuphead
      [subject]
      [textcolor=black,
      textstyle=smallsc,
      align=middle,
      before={blank[1mm]},
      after={blank}
      ]

      % setup the side notes
      setupnarrower[left=2.5mm]
      starttexdefinition unexpanded exdent #1
      blank[-line] % Remove the newline from the following startnarrower
      startnarrower[left]
      setupindenting[-leftskip,yes]
      #1
      stopnarrower
      stoptexdefinition
      setupmargindata[margintext]
      [location=outer,
      align=flushleft,
      width=3cm,
      stack=yes,
      style={tfxsetupinterlinespace[line=10pt]},
      command=exdent]

      setupcaptions[number=no, align=right]

      showstruts
      %showallmakeup
      starttext


      margintext{vulpes vulpis it f}
      placefigure{}{externalfigure [vulpes][width=6cm]}
      margintext{corvus ī it m}
      startsection[title={Corvus et Vulpēs}]


      startsubject[title={Apud capitulum X}]

      startlinenumbering
      Corvus margintext{placefigure{rōstrum -ī it n}{externalfigure[rostrum][width=30mm]}} est avis, quae nōn tanta est quanta aquila. Pedēs, cauda, ālae, rōstrum et cētera nigra sunt. Cum per āera volat, ālās movēre necesse est. Cum in arboribus sedet, nōn cadit. Pedibus enim sē rāmīs tenēre potest neque tam crassa est ut puer Rōmānus. Ergō etiam ā tenuibus rāmīs sustinērī potest. Corvus pedibus in terrā ambulāre potest. Nīdōs autem nōn in terrā, sed in rāmīs faciunt, quī in altīs arboribus sunt, quō multa animālia ascendere nōn possunt. Pullī nōn ex corvīs ipsīs, sed ex ōvīs eōrum veniunt. Nūlla avis vōcem tam foedam habet quam corvus. Cum enim corvus cantat, ''krra-krra-krra'' audītur.

      Etiam vulpēs in terrā ambulāre potest. Nam ea quoque pedēs habet. Numerus pedum est quattuor. Vulpēs nōn est tanta quantus lupus neque tam parva quam mūs. margintext{placefigure{mūs mūris it m}{externalfigure[mus][width=30mm]}} Vulpēs dentibus parva animālia capit et ēst. Ab aliīs bēstiīs timētur, quia improba est. In silvā nēmō amīcus vulpis esse vult neque ūlla bēstia eās amat. Ecce textellipsis hic corvus in rōstrō frustum cāseī margintext{placefigure{frustum cāseī}{externalfigure[caseus][width=30mm]}}
      tenet. Cāseus est cibus pāstōrum. Pāstores cāseōs ē lactemargintext{placefigure{lac lactis it n}{externalfigure[lac][width=20mm]}}
      ovium faciunt. Lac album est et bibī potest. Cāseus nōn bibī, sed edī potest. Corvus ipse cāseum facere nōn potest, sed eum ā pāstōribus, quī dormiunt, capere potest. Unde hic corvus cāseum habet? Et quid agit illa vulpēs? Audītē!

      placefigure[outer]{}{externalfigure[corvusetvulpes][width=30mm]}Corvus circum oppidum Tūsculum volat, ubi vīllam cum magnō hortō videt. Illīc fenestra aperītur. Corvus per illam fenestram parvum cubiculum videt, in quo ancilla stat. Quae est illa ancilla? Syra est, quae illīc saccōs cibī plenōs numerat. In aliīs saccīs aliī cibī sunt: pīra, māla, panis, cāseus et cētera. Inter illōs saccōs corvus magnum saccum esse videt. Ō quantusmargintext{quantus! = quam magnus!} est ille saccus! Quid inest?
      Ecce textellipsis ancilla cubiculum relinquit. Corvus ex āere iam nūllum hominem apud illum saccum esse videt. Ergō ad vīllam volat et per fenestram cubiculum intrat.
      placefigure[outer]{}{externalfigure[corvus_per_fenestram_volans][width=4cm]}
      Corvus: ''Nēmō hīc est. Hic saccus plēnus est. Id, quod inest, vidērī nōn potest.” Corvus, quia vidēre vult, quod inest, līneam, quā saccus clauditur,margintext{placefigure{saccus, quī līneā clauditur}{externalfigure[saccus_qui_linea_clauditur]}}
      rōstrō sūmit et eum aperit. In eō cāseum magnum reperit. Frustum cāseī rōstrō sumit et cubiculum relinquit.
      Dum per fenestram volat, Syra accurrit et exclāmat: ''Improbe corve, revenī!margintext{re-venīre = rūrsus venīre} Reddemargintext{red-dere = rūrsus dare} mihimargintext{mihi it{dat} mē it{acc}} cāseum dominī meī!'' Sed corvus sē vertere nōn vult et abit. Iam procul ā Syrā est.

      Etiam Iūlius cubiculum intrat et cāseum abesse videt. Ōstium post sē claudit et īrātus Syram interrogat accūsatque: ''Ubi est cāseus meus? Quis habet cāseum meum? Tūne?margintext{Tū-ne?} Improba ancilla! Mala est ancilla, quae cāseum dominī ēst!'' Dominus eam verberāre vult neque potest; nam baculum eius in ātriō est. Ergō exit ē cubiculō et cum baculō suō revenit.
      Illīc videt ancillam suam, cui in oculīs parvae lacrimae sunt, quia ea baculum timet. Dominus verba eius audit: ''In ventremargintext{placefigure{venter ventris m}{externalfigure[venter][width=30mm]}} meō tuus cāseus nōn est. Ille corvus, quī per fenestram vidērī potest, eum rōstrō tenet.'' Syra eum Iūliō mōnstrāre vult neque potest. Dum enim Iūlius ad fenestram advenit, corvus iam procul ā fenestrā volat. Ergō Iūlius īrātus: ''Illīc nūlla avis vidētur neque suprā illum collem neque suprā illam arborem neque suprā illōs montēs. Immō, caelum vacuum est. Verba tua improba sunt. Itaque necesse est tē verberāre.'' Syra ā dominō verberātur.
      Dum Syra oculōs terget, corvus iam inter arborēs volat et in altō rāmō cōnsīdit.margintext{placefigure{cōn-sīdere < sedēre}{externalfigure[considere][width=20mm]}}
      margintext{} Vulpēs, quae per silvam errat et cibum quaerit, eum aspicit. Cāseum quoque videt. Eum ā corvō capere et ipsa ēsse vult. Ergō sē occultat inter folia, quae sunt in iīs rāmīs, quī nōn procul ā terrā absunt. Nam ā corvō vidērī nōn vult.
      Vulpēs sē nōn movet, sed tantum verba facit: ''Ō corve, quam fōrmōsa est cauda tua, quam pulchrae sunt ālae! Ostende mihi ālās tuās!'' Corvus, quī ea verba audit, dēlectātur et sē vertit et circumspicit.margintext{circum-spicit < a-spicit} Corvus vult eam bēstiam vidēre, cūius vōcem audit. Quam pulchra enim sunt ea verba! Nēmō autem ab eō reperītur. Corvus: ''Nūlla bēstia sē movet. Nūlla vestīgia vidērī possunt. Ergō nēmō adest.'' Post haec verba rūrsus sē vertit et cāseum ēsse vult.
      Vulpēs, quae hoc videt, iam rīdet et rūrsus clāmat: ''Ō domine animālium, inter bestiās nūlla reperītur, quae tam pulchra est quam tū! Ecce textellipsis oculī tuī, quī lūcent ut margarītae. Ecce textellipsis rōstrum tuum, quod est tam fōrmōsum quam fēmina, quae multīs gemmīs ōrnātur. Et vōx tua textellipsis quam pulchra est ea! Ostende eam! Cēterae avēs, arborēs, fluviī, montēs eam audīre volunt. Vōcem tuam enim amant tantum, quantum mātrēs suās. Facmargintext{ fac! it{imp} < facere} pauca verba! Cantā!'' Haec verba corvum valdē dēlectant.
      Is vōcem ostendere vult. Dum autem rōstrum aperit, cāseus ex eō cadit et ā vulpe dentibus sūmitur. Vulpēs, quae cāseum inter dentēs tenet, ab arbore currit et prope rīvum, ubi nēmō eam vidēre potest, cāseum ēst. Vulpēs rīdet, plōrat corvus! margintext{[Scripsit Magister Vēnemus, Martio MMXVII Arnhi]}
      stoplinenumbering
      stopsubject
      stoptitle

      startsection[title={Pēnsum C}]
      stopsection
      startitemize[n]
      item Unde veniunt pullī?
      item Quid audītur cum corvus cantat?
      item Cūr aliae bēstiae vulpem timent?
      item Num cāseus bibī potest?
      item Quid corvus videt in cubiculō ubi Syra est?
      item Quid Syra corvō imperat?
      item Ubi dominus nullam avem volare videt?
      item Cūr vulpēs sē inter folia occultat?
      item Quid dīcit vulpēs corvō?
      item Cūr cāseus e rōstrō corvī cadit?
      stopitemize



      stoptext


      I have the following wishes/questions:




      1. When I comment out the figures in the text, the marginfigures do their job. Why is there such a strange interference between the figures in the margins and the figures in the text?


      2. My margin is 'exdented' (first Line not indented, but following lines are). But a first new comment in the margin after a header or an image results immediately in an indentation which I do not wish. How can I fix this?


      3. I would like (as much as possible) to have the top line of the comment aligned with the top line of the text. This goes well, until I insert images. Then, the top of the image aligns with the text, squeezing down the text. How can I tell ConTeXt that I wish it otherwise? (If this helps: now, I have given the images captions, but it is no problem to work without them, simply adding 'captions' in a margintext command apart from the image.)








      graphics floats margins context






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 14 hours ago







      Jan

















      asked yesterday









      JanJan

      435




      435






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477428%2fcontext-images-floats-in-text-and-margin%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477428%2fcontext-images-floats-in-text-and-margin%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          Castillo d'Acher Características Menú de navegación