Hi guys, I'm quite new to context and I'm not sure about the best way to achieve the layout I've in mind. You may find a representation of my layout in the attached PDF. Can someone help me by giving some tips on how to proceed to achieve such a result. What's the best technique? The best method? Regards, Antoine C.
Hi Antoine, do you have also questions on beginners level or has everything to be on expert level.
I'm quite new to context and I'm not sure about the best way to achieve the layout I've in mind. You may find a representation of my layout in the attached PDF.
Can someone help me by giving some tips on how to proceed to achieve such a result. What's the best technique? The best method?
It's hard to say what't the best method in your case is because more information are needed. The first thing that came to my mind was to reduce the text area to a narrow column and place the extra text and the figures and a wide left margin. \setuplayout [backspace=12.5cm, width=6.7cm, leftmargin=6.7cm, leftmargindistance=4cm, topspace=3.4cm, header=.5cm, headerdistance=2cm, height=19.2cm] %\showframe \starttext \inmargin{\raggedright\input ward}\input knuth \page \placefigure [inleft] {Caption} {\framed[width=4cm,height=3cm]{}} \input knuth \stoptext Wolfgang
Hi, Thanks for quick answer.
do you have also questions on beginners level or has everything to be on expert level. I use latex for 5 years daily and I would like to have something cleaner that what I've now. During thoose years I also approaches "advanced" stuff like package modification and TeX programming. So, I'm not really a begin user in TeX but a begin user in context.
It's hard to say what't the best method in your case is because more information are needed. The first thing that came to my mind was to reduce the text area to a narrow column and place the extra text and the figures and a wide left margin. Ok, so I was not so wrong. But my main concern is about the background that has to take the full height and half width. In addition, if the background may be larger than the page it would nice in case of printing (so, no margin at all)
Regards, Antoine C.
Am 29.01.2009 um 21:22 schrieb Antoine Cailliau:
It's hard to say what't the best method in your case is because more information are needed. The first thing that came to my mind was to reduce the text area to a narrow column and place the extra text and the figures and a wide left margin.
Ok, so I was not so wrong. But my main concern is about the background that has to take the full height and half width. In addition, if the background may be larger than the page it would nice in case of printing (so, no margin at all)
\setupcolors[state=start] \defineoverlay [graybar] [{\blackrule [color=middlegray, height=\dimexpr\paperheight+1cm\relax, width=\dimexpr\paperwidth/2+1cm]% \hskip\dimexpr\paperwidth/2+1cm\relax}] \setupbackgrounds[page][background=graybar] [rest of the document] If you want the background on chapter pages etc. it makes sense to integrate the background in a slightly different way but more details about the layout needed for this to find the best solution. Wolfgang
Hi, Thanks for your help. Your solution works but I need more "fine tuning" on this background.
If you want the background on chapter pages etc. it makes sense to integrate the background in a slightly different way but more details about the layout needed for this to find the best solution. So, I'll explain in more details the structure of my layout.
The idea is that the pages are presented side-by-side. Visually we have 4 columns. - The last one (right, on the right page) is the main text. - The third column (left, on the right page) is used for the figures (images, graphs, diagrams, etc.) - The second column (right, on the left page) is used to discuss some points of the main text. Like advanced stuff, debate, historical notes, etc) - The first one (left, on the left page) have some light gray background and is an area for FAQ about the topic. The title of each double page is on the right page, aligned with the left column of the right page. The second column (right, on the left page) may have a title defining the topic of this column. Regards, Antoine
Am 29.01.2009 um 22:49 schrieb Antoine Cailliau:
Thanks for your help. Your solution works but I need more "fine tuning" on this background.
You can also place backgrounds only on left/right pages.
If you want the background on chapter pages etc. it makes sense to integrate the background in a slightly different way but more details about the layout needed for this to find the best solution.
So, I'll explain in more details the structure of my layout.
The idea is that the pages are presented side-by-side. Visually we have 4 columns. - The last one (right, on the right page) is the main text. - The third column (left, on the right page) is used for the figures (images, graphs, diagrams, etc.) - The second column (right, on the left page) is used to discuss some points of the main text. Like advanced stuff, debate, historical notes, etc) - The first one (left, on the left page) have some light gray background and is an area for FAQ about the topic.
The title of each double page is on the right page, aligned with the left column of the right page.
The second column (right, on the left page) may have a title defining the topic of this column.
Is the content for each topic short enough for one double page or is it possible the content on a left page requires more space and continues on the next left page? With the layout described above it also possible to write a environment where the content is saved and macros/buffer and placed at the end of the environment, this has the advantage to know how much space is needed and you're not forced to write the input in the order they are output on the page. Wolfgang
Hi,
You can also place backgrounds only on left/right pages. Ok, I'll investigate that. Is it also with overlay?
Is the content for each topic short enough for one double page or is it possible the content on a left page requires more space and continues on the next left page? The content is short enought because it is for leaflets. So, only a front page, thoose two pages and a backpage.
With the layout described above it also possible to write a environment where the content is saved and macros/buffer and placed at the end of the environment, this has the advantage to know how much space is needed and you're not forced to write the input in the order they are output on the page. I like this idea. I'll read more about macros and buffers to be able to achieve this.
Thank you a lot for your help, comments and tips. Antoine C.
On Fri, Jan 30, 2009 at 8:09 AM, Antoine Cailliau
Hi,
You can also place backgrounds only on left/right pages.
Ok, I'll investigate that. Is it also with overlay?
Yes, overlays are used to put text, graphics etc. behind the text. You can use different backgrounds for a left/right page with \setupbackgrounds[leftpage|rightpage][..,..=..,..]
Is the content for each topic short enough for one double page or is it possible the content on a left page requires more space and continues on the next left page?
The content is short enought because it is for leaflets. So, only a front page, thoose two pages and a backpage.
In this case I would take care to spend more time in easy to use interface with a few macros to write the content. Wolfgang
participants (2)
-
Antoine Cailliau
-
Wolfgang Schuster