Dear list members, I want to have figures arranged as follows: 1. Figures smaller than 0.5 textwidth at the inner margin, text flowing arround figure. 2. Between 0.5 and 1*textwidth in the middle, no text flowing. 3.Figures wider than textwidth aligned with the inner margin of the textblock and sticking out into the (wide) outer margin. I found out how to do the first 2 (from "Details") but couldn't figure out the last one. Any suggestions? Thanks a lot. Jörg
Dear list members, Sorry to insist. I have figures extending the width of the text (which is 14cm). I want them to be aligned with the the textblock at the inside, sticking out into the outer margin (which is 2.5cm). I tried all the commands I could find or think of, but nothing worked (most of them did'nt affect the actual position, i.e. the picture extending textwidth on both sides to the same extent). I would appreciate an answer by somebody who knows, even if it is to tell me that it can't be done. Thanks a lot, Jörg. On Oct 19, 2005, at 3:19 PM, Jörg Hagmann wrote:
Dear list members,
I want to have figures arranged as follows: 1. Figures smaller than 0.5 textwidth at the inner margin, text flowing arround figure. 2. Between 0.5 and 1*textwidth in the middle, no text flowing. 3.Figures wider than textwidth aligned with the inner margin of the textblock and sticking out into the (wide) outer margin.
I found out how to do the first 2 (from "Details") but couldn't figure out the last one. Any suggestions? Thanks a lot. Jörg_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
� wrote:
Dear list members,
Sorry to insist. I have figures extending the width of the text (which is 14cm). I want them to be aligned with the the textblock at the inside, sticking out into the outer margin (which is 2.5cm). I tried all the commands I could find or think of, but nothing worked (most of them did'nt affect the actual position, i.e. the picture extending textwidth on both sides to the same extent).
I would appreciate an answer by somebody who knows, even if it is to tell me that it can't be done. Thanks a lot, J�rg.
see details.pdf manual Hans
Dear Hans and Taco, Thanks for the answers. I'll read "details.pdf" again... I placed the pdf file of one unfinished chapter on www.ogbasel.ch/ book.html (3.5 MB). Note that Fig. 3.12 happens to be the way I want it. Why this particular figure chose to behave I don't know, putting nothing after \placefigure[] and most options [left,right,inner etc.) don't make a difference. The setuparea contains: %Textfigures (on the inside up to 0.5/textwidth) \setupfloat[figure][criterium=0.5\textwidth,default=inner] \setupcaption[figure][style=\ssx] I tried to add a second criterium (bigger than \textwidth), but not surprisingly my inventions and guesses weren't successful. Interventions within the text itself (\placefigure[....] and \setupfloat[figure][....]) also didn't work. Lectures start this week, and I want to distribute some chapters as handouts in order to get feedback. This explains my bothering you with another question: The subsection heads should be capitals. Setting textstyle=cap doesn't do anything. Setting style=cap gives an error (see end of message). style=slanted works, commands (\cap, \kap) don't work. \cap {some text} used in the text works. This is how I'm setting up the heads: \def\BookchapterCommand#1#2{\framed[frame=off,rightframe=on]{#1\space} \framed[frame=off]{\space#2}} \setuphead[chapter][command=\BookchapterCommand,page=right] \setuphead[subsection][style=cap (THIS IS WHERE I'M HAVING PROBLEMS),number=no] \setuphead[subsubsection][style=slanted,number=no,after=\nowhitespace] Thanks a lot, Jörg. This is the error message when inserting style=cap: ) (./figures_book.tex) (./Mydefinitions.tex) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./ book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) fonts : using map file: cbgreek.map fonts : using map file: texnansi-public-lm.map fonts : using map file: original-public-vnr.map fonts : using map file: original-public-csr.map fonts : using map file: original-public-plr.map fonts : using map file: original-public-lm.map fonts : using map file: original-ams-euler.map fonts : using map file: original-ams-cmr.map fonts : using map file: texnansi-base.map fonts : using map file: t5-base.map fonts : using map file: qx-base.map fonts : using map file: 8r-base.map fonts : using map file: ec-base.map fonts : using map file: ec-public-lm.map fonts : using map file: original-base.map systems : begin file book at line 45 (./digestion/digestion_chapter.tex chapter : 1 Verdauung und Resorption section : 1.1 Vorbereitung in Mund und Magen ! Argument of \getvalue has an extra }. <inserted text> \par <to be read again> } \uppercased ...d \xdef \@@expanded {\uppercase {#1 }}}\@@expanded \dodosmallcapped ...alize \cap@@uppercase {#1{#2}} \egroup \doplaceheadtext ... {\??ko #1}\c!style \getvalue {\??ko #1\c! command } {} {... \dodododosomekop ...mber ]{\finalsectionnumber }}} \writesection {#1} {-}{#4}\... l.5 \subsection {Der Speichel} ?
Answering one of my own questions:
The subsection heads should be capitals. Setting textstyle=cap doesn't do anything. Setting style=cap gives an error (see end of message). style=slanted works, commands (\cap, \kap) don't work. \cap{some text} used in the text works.
style=\sc works. Cheers, Jörg.
Hi Jörg, Sorry I am not capable to give you an appropriate answer to your questions. I had a look at your doc. It is impressive! - With which environment are you preparing the chemical formulae? I was wondering whether it would be nicer to have the shortcuts like "Pa" in the outer margin. I suggest this, because in your case after binding the document, you will have difficulties to see the shortcuts as prominent elements (sorry this is the bookbinder speaking). Kind regards Willi Jörg Hagmann wrote:
Answering one of my own questions:
The subsection heads should be capitals. Setting textstyle=cap doesn't do anything. Setting style=cap gives an error (see end of message). style=slanted works, commands (\cap, \kap) don't work. \cap{some text} used in the text works.
style=\sc works.
Cheers, Jörg.
------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Jörg Hagmann wrote:
Dear Hans and Taco,
Thanks for the answers. I'll read "details.pdf" again...
I placed the pdf file of one unfinished chapter on www.ogbasel.ch/book.html http://www.ogbasel.ch/book.html (3.5 MB). Note that Fig. 3.12 happens to be the way I want it. Why this particular figure chose to behave I don't know, putting nothing after \placefigure[] and most options [left,right,inner etc.) don't make a difference.
Interesting looking document. :-) I think it only visually behaves correct because of some whitespace to the right, and it is probably just centered (just like the others). Something along these lines may help: \placefigure[whatever-ref]{} {\hbox to \hsize {\doifrightpageelse{\hss}{}% \hbox to 1.2\hsize{!\hss Stuff\hss!}% \doifrightpageelse{}{\hss}}} You still have to fiddle a bit to integrate with the other figures, but this should get yet you started. Note that this "solution" depends on \setuppagenumbering[alternative=doublesided], it won't work for singlesided documents. Taco
Taco Hoekwater wrote:
I placed the pdf file of one unfinished chapter on www.ogbasel.ch/book.html http://www.ogbasel.ch/book.html (3.5 MB). Note that Fig. 3.12 happens to be the way I want it. Why this particular figure chose to behave I don't know, putting nothing after \placefigure[] and most options [left,right,inner etc.) don't make a difference.
Interesting looking document. :-)
indeed! btw, did you consider a chapter head that used the margin as well? i.e. - move the chapter number to the outer margin - make it much bigger, maybe dark gray (or red since you use red) - add a bit more space after the chapter header that way it stands out better how do you make the chemical pictures? Hans
Thanks for the suggestions.
I think it only visually behaves correct because of some whitespace to the right, and it is probably just centered (just like the others).
By whitespace, I assume, space outside the figure boundaries is meant? I always make sure the boundaries do not extend the objects of the figure itself.
Something along these lines may help:
\placefigure[whatever-ref]{} {\hbox to \hsize {\doifrightpageelse{\hss}{}% \hbox to 1.2\hsize{!\hss Stuff\hss!}% \doifrightpageelse{}{\hss}}}
Thanks, I'll try that.
- move the chapter number to the outer margin - make it much bigger, maybe dark gray (or red since you use red) - add a bit more space after the chapter header
that way it stands out better
I agree! Thanks for the suggestion
how do you make the chemical pictures?
I use "Chemdraw", save as .pict and finish it in Illustrator. I will eventually look into PPCHTEX, but at the moment struggling with ConTEXt is all I can do. There is a problem with my method: the formula saved as .pict look awful (bonds shifted, atoms not aligned etc.) and I have to correct everything by hand in Illustrator. I am sure PPCHTEX would do a better job. On the other hand, if I switch the formulae should look the same (bondlength, thickness, font etc.) as the ones I already did (and don't want to do again). I suppose that's feasable? Thanks again, Joerg.
participants (4)
-
Hans Hagen Test
-
Jörg Hagmann
-
Taco Hoekwater
-
Willi Egger