\showmakeup: values of many details, e.g. distances and kerning
\showgrid: line grid for grid mode
\showframe: all frames
\showboxes: draw frames around a few areas
\showsetups: list of variables
\showbodyfont: variants of tha active font family
\showbodyfontenvironment: values of relative sizes
oundcolor=blue]
\setupbackgrounds[header][text] [background=color, backgroundcolor=red]
\setuppagenumbering[state=start,alternative=doublesided,location=footer]
\showlayout
\starttext
\showsetups
\dorecurse{10}{
Page \recurselevel
\page
}
\stoptext
__
lties\displaywidowpenalties{2}{0}
\stopsetups
\setuplayout[setups=mypenalties]
%\showframe
\showmakeup
\showsetups
\starttext
\dorecurse{5}{\input knuth\par}
\stoptext
===
> -Ursprüngliche Nachricht-
> Von: Maier, Denis Christian (UB)
> Gesendet:
=mypenalties]
%\showframe
\showmakeup
%\showsetups
\starttext
\dorecurse{5}{\input knuth\par}
\stoptext
=
How do you do this usually? Any best-practices? Hints? Trial and error seems to
work ok, but maybe there is a more efficient method...
Best
Denis
gt;
> \setuppagenumbering[alternative=doublesided]
> \starttext \showframe \showsetups \stoptext
>
> Just in case it helps,
>
Sylvain
___
If your question is of interest to others as well, pleas
weird here.
Compare the four options:
%~ \setuplayout[width=middle, backspace=0.001mm]
%~ \setuplayout[width=fit, backspace=0.001mm]
%~ \setuplayout[width=middle, cutspace=0.001mm]
%~ \setuplayout[width=fit, cutspace=0.001mm]
\starttext \showframe \showsetups \stoptext
Each of the options gives a
On 11/5/20 11:28 AM, Sylvain Hubert wrote:
> Dear List,
>
> \starttext \showframe \showsetups \stoptext
>
> This minimal example without further configuration shows that the
> default value for backspace, textwidth and paperwidth are 2.5cm, 15cm,
> 21cm resp., which means
On Thu, 2020-11-05 at 11:28 +0100, Sylvain Hubert wrote:
> Dear List,
>
> \starttext \showframe \showsetups \stoptext
>
> This minimal example without further configuration shows that the default
> value for backspace, textwidth and paperwidth are 2.5cm, 15cm, 21cm resp.,
Dear List,
\starttext \showframe \showsetups \stoptext
This minimal example without further configuration shows that the default
value for backspace, textwidth and paperwidth are 2.5cm, 15cm, 21cm resp.,
which means that the textarea is horizontally 0.5cm off the center by
default, and one
gures/apollonius/apollonius.103][width=2.0in]}
\switchtobodyfont[nameface]
\setlayer[tblplacecard][x=10em,y=3.0em]%
{\tfg\it\color[orangered]{Vidya}}
\flushlayer[tblplacecard]
\stopbuffer
\starttext
\setupcolors[state=start]
%%% 1. Show the frame and layout inform
is the only way it works:
\definepalet[layout][grid=black]
%~ \setuppalet[layout] [grid=black]
\showgrid
\starttext
\ConTeXt\ is awesome!
\stoptext
I don’t know whether I’m missing something, but \showsetups{setuppalet}
only shows this:
\setuppalet
\definepalet[layout][grid=black]
%~ \setuppalet[layout] [grid=black]
\showgrid
\starttext
\ConTeXt\ is awesome!
\stoptext
I don’t know whether I’m missing something, but \showsetups{setuppalet}
only shows this:
\setuppalet [.*.]
* NAME
Many thanks for
Hi,
May be this setup works.
\setuppapersize[A4]
\setuplayout[
header=20mm,
footer=20mm,
height=fit,
topspace=0cm,
width=fit,
backspace=2cm,
rightmargin=0cm,
leftmargin=0cm,
leftmargindistance=0pt,
rightmargindistance=0pt]
\showframe
\starttext
\showsetups
\stoptext
\setuplayout
[topspace=10mm,
header=10mm,
footer=10mm,
height=middle,
backspace=20mm,
width=middle]
\showframe
\starttext
\showsetups
\stoptext
Wolfgang
Lizardo M. Reyna Bowen schrieb am 09.08.18 um 04:50:
Hi,
May be this setup works.
\setuppapersize[A4]
\setuplayout
Hi,
May be this setup works.
\setuppapersize[A4]
\setuplayout[
header=20mm,
footer=20mm,
height=fit,
topspace=0cm,
width=fit,
backspace=2cm,
rightmargin=0cm,
leftmargin=0cm,
leftmargindistance=0pt,
rightmargindistance=0pt]
\showframe
\starttext
\showsetups
\stoptext
landscape page is not as expected in that it is
a square page. Inserting a \showsetups and \showframe into page 3 I can see
that it is layed out Ok but on a large piece of paper. \printpaperwidth and
\printpaperheight are both set to 29.7cm.
Aidan
landscape]%
> > \setuplayout[%
> >
> > backspace=42.65mm,leftedge=2mm,leftmargin=20mm,leftmargindistance=5pt,textwidth=230mm,%
>
> Use the width key and not the text width key.
>
> >
> > rightmargindistance=5pt,rightmargin=20mm,rightedge=2mm%
> >
=2mm%
>
> topspace=22mm,header=12mm,headerdistance=2mm,textheight=164mm,footerdistance=2mm,footer=12mm%
>]%
> \showframe
> \showsetups
>
> % works as expected, the whole page is red:
> \setupbackgrounds
>[page]
>[background=
xtwidth=230mm,%
rightmargindistance=5pt,rightmargin=20mm,rightedge=2mm%
topspace=22mm,header=12mm,headerdistance=2mm,textheight=164mm,footerdistance=2mm,footer=12mm%
]%
\showframe
\showsetups
% works as expected, the whole page is red:
\setupbackgrounds
[page]
On 10-1-2012 11:59, Mari Voipio wrote:
On Sun, Jan 8, 2012 at 19:40, Hans Hagen wrote:
I uploaded a new beta. Apart from some fixes the core font/type modules have
been cleaned up so there might be temporary font side effects.
Looks like \showsetups got broken...
it should come after
d] %booklet arranging
3 \setuparranging[2UP] %booklet arranging
4
5 % \showsetups
6
7 \setuplayout
8 [backspace=0pt,
9 topspace=0pt,
10width=middle,
11 height=middle,
\meta_grab_clip_path ...ght \ifcsname \??mpmpclip
should be \??mp
tuparranging[2UP] %booklet arranging
4
5 % \showsetups
6
7 \setuplayout
8 [backspace=0pt,
9 topspace=0pt,
10width=middle,
11 height=middle,
\meta_grab_clip_path ...ght \ifcsname \??mpmpclip
On Sun, Jan 8, 2012 at 19:40, Hans Hagen wrote:
> I uploaded a new beta. Apart from some fixes the core font/type modules have
> been cleaned up so there might be temporary font side effects.
Looks like \showsetups got broken...
! Undefined control sequence.
system > tex &
Am 11.12.2011 um 17:57 schrieb Pablo Rodríguez:
> Hi there,
>
> compiling this document:
>
> \setuppapersize[A4]
> \setuppagenumbering[alternative=singlesided,location=middle]
> \starttext
> \showsetups
> \dorecurse{4}{\input dawkins \par \input knuth \par}
> \
Hi there,
compiling this document:
\setuppapersize[A4]
\setuppagenumbering[alternative=singlesided,location=middle]
\starttext
\showsetups
\dorecurse{4}{\input dawkins \par \input knuth \par}
\stoptext
I should get the exact same length for left and right margin (defining
margin as the total
}
for i=1,4 do
commands.showlayoutvariables()
context.page()
end
context.egroup()
end
end
\stopluacode
\gdef\doshowframe[#1][#2]%
{\ifsecondargument
\setupbackgrounds
[\v!page]
[\c!frame=\v!on,
\c!corner=\v!rectangular,
s in:
\showcolorgroup [red][vertical,name,number]
or
\showcolorgroup [red]
And the following can be used to see the setups:
\showsetups{showcolor}
(Actually in the source there is a mistyping « \showsetup » instead of «
\showsetups »).
Best regards: OK
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
\setuplayout[topspace=1.5cm,margin=1.5cm,header=1.5cm,footer=1.5cm,width=fit,height=fit,backspace=1.5cm]
% Enable colors and activate
ht area: 2.5 cm left (for
binding) and 2 cm right (odd pages); and the same values mirrored for even
pages.
My code is:
---
\setuplayout[location=doublesided]
%\setuplayout[location=duplex]
%\setuplayout[location=middle]
\starttext
\showsetups
\showlayout
\showgrid
\dorecurse{1}{\
a]
% Page number
\setuppagenumbering [location={footer}]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Enable colors and activate hyperlinks
\s
tufte\par}
\stopcolumnset
\page
\showsetups
\stoptext
% \stopminimalexample
Thanks in advance,
olli
Footnotes:
[1] http://en.wikipedia.org/wiki/Bleed_(printing)
--
Oliver Heins he...@sopos.orghttp://oliverheins.net/
http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8
http://scriptor
ocation={footer,middle}, alternative=doublesided,
> style=\tfx]
>
> \showlayout\showsetups\showframe
>
> \bye
I'm not sure, but what about
width=middle
?
--
luigi
___
If your question is of interest
[topspace=2cm, header=0cm, footer=0.6cm, bottomspace=2cm,
height=fit,
%leftmargin=1.5cm, rightmargin=2cm,
backspace=1.5cm, cutspace=2cm, width=fit]
\setuppagenumbering[location={footer,middle}, alternative=doublesided,
style=\tfx]
\showlayout\showsetups\showframe
\bye
Regards,
Vyatcheslav
,
leftmargindistance=0.2cm,
backspace=1.2cm,
height=fit,
rightmargin=2.5cm,
leftmargin=1cm,
bottomspace=2cm,
footer=0.8cm,
setup=strict]
% \showgrid
\showframe
% \showsetups
% \showlayout
\setuppagenumbering[alternative=doublesided,location
={footer}]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
\setuplayout[topspace=1.5cm,margin=1.5cm,header=0.8cm,footer=1.5cm,width=fit,height=fit,backspace
uot;,
journal = "Annals of Mathematics",
volume = "156",
number = "2",
year = "2002",
pages = "345-466",
note =". Disponible una versió preliminar a l'arXiv.org. 9811105v1"
}
@article{birget-et-al,
author = "Jean-Camille Birget
\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera lÃnia
%footer=1.0cm,%separaciÃ
e between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % ma
umber
\setuppagenumbering [location={footer}]
% White space between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Form
}]
% White space between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace
hite space between paragraphs
%\setupwhitespace [big]
% Paper size
\setuppapersize [a4]
% Margins
%\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5c
[cmr,11pt]
% Be tolerant with paragraph building
\setuptolerance [horizontal,verytolerant,stretch]
% Choose a language, and associated hyphenation rules.
%\language [ca]
\mainlanguage[ca]
% Page number
\setuppagenumbering [location={footer}]
% White space between paragraphs
%\setupwhitespace [big]
nt on both pages, flipping on the long edge.
\setuparranging[2UP,rotated,doublesided]
% The layout of the page
\setuplayout[margin=1cm,width=middle,height=middle,topspace=0cm,backspace=1.2cm]
Colors
% Enable the use of colors for the whole document
\setupcolors[state=start]
%%%
hfill]
\showframe
%\showsetups
\starttext
\reference[myToC]{}
\placecontent
\chapter{Chapter 1}
\input knuth
\stoptext
Thx,
Alan
___
If your question is of interest to others as well, please add an entry to the
Alan Stone wrote:
>>> - \showsetups output
>> The \setuplayout parameters are in column one, the query-ing macros
>> are in column four. These are correct.
>
>
> Good to finally know what corresponds to what. It might be useful to put
> a label mentioning
>
> > - \showsetups output
>
> The \setuplayout parameters are in column one, the query-ing macros
> are in column four. These are correct.
Good to finally know what corresponds to what. It might be useful to put
a label mentioning these at the top of both columns.
What do
out
This is indeed confusing (and probably based on excursion)
> - \showsetups output
The \setuplayout parameters are in column one, the query-ing macros
are in column four. These are correct.
> - excursion manual, table 33.2 page 74
That table is simply wrong, and probably the cause of
Thanks Taco.
>I am somewhat confused myself as to why this is generally considered to be
so confusing.
What's most confusing are the:
- wiki layout explanation at http://wiki.contextgarden.net/Layout
- \showsetups output
- excursion manual, table 33.2 page 74
- main manual
back to my example (see below)...
>>>>>
>>>>> Same observations, same questions.
>>>>>
>>>>> Alan
>>>>>
>>>>> \setuppapersize[S6][S6]
>>>>>
>>>>> \setuplayout[topheight=15pt,
..
> >>>
> >>> Same observations, same questions.
> >>>
> >>> Alan
> >>>
> >>> \setuppapersize[S6][S6]
> >>>
> >>> \setuplayout[topheight=15pt,
> >>> headerheight=15pt,
> >>> footerheig
gt; > \setuplayout[topheight=15pt,
> > headerheight=15pt,
> > footerheight=15pt,
> > bottomheight=15pt,
>
> top,header,footer,bottom etc no height/width appended
Thanks Hans.
- \showsetups output contains a lot of junk, a thorough cleaning would be
utmost welcome
- \sh
>>
>>> \setuppapersize[S6][S6]
>>>
>>> \setuplayout[topheight=15pt,
>>> headerheight=15pt,
>>> footerheight=15pt,
>>> bottomheight=15pt,
>> top,header,footer,bottom etc no height/width appended
>
>
> Thanks Hans.
>
>
>That said, it is a little confusing that the table from
>\showsetups doesn't match up ...
A little ???
Alan
On Wed, Aug 27, 2008 at 3:09 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> Alan Stone wrote:
> > Going back to my example (see below)...
> >
>
Alan Stone wrote:
> Going back to my example (see below)...
>
> Same observations, same questions.
The names and values reported by showsetups are not 1-to-1 to
the arguments of \setuplayout. If you want to know what you
can use in \setuplayout, use any of the manuals, or texshow:
er,footer,bottom etc no height/width appended
> leftedgewidth=0pt,
> leftmarginwidth=0pt,
> rightmarginwidth=0pt,
> rightedgewidth=180pt]
>
> \showframe
> \showsetups
>
> \starttext
> testing
> \stoptext
>
>
> On Wed, Aug 27, 2008 at 1:27 PM,
=180pt]
\showframe
\showsetups
\starttext
testing
\stoptext
On Wed, Aug 27, 2008 at 1:27 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Alan Stone wrote:
> > On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan <[EMAIL PROTECTED]>
> wrote:
> >
> >> Wh
Alan Stone wrote:
> On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
>
>> Where did you see topheight, headerheight, footerheight, and bottomheight?
>> Perhaps you wanted
>>
>> \setuppapersize[S6][S6]
>>
>> \
On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> Where did you see topheight, headerheight, footerheight, and bottomheight?
> Perhaps you wanted
>
> \setuppapersize[S6][S6]
>
> \showframe
> \showsetups
>
> \setuplayout[topspace=15pt,
&
>> Where did you see topheight, headerheight, footerheight, and bottomheight?
1. http://archive.contextgarden.net/message/20080812.135630.04ad74e5.en.html
2. From observation: see \showsetups output (right column)
This part of ConTeXt and/or the instructional resources somehow got so
po
Alan Stone schrieb:
> Hi Peter,
>
> I meant the showframe and showsetups displays on the pdf document itself,
> not the document paper printout.
>
oeps, sorry :)
you simply use some wrong parameter here (names of internal dimensions).
e.g. use 'footer=15pt' instead of &
On Tue, 26 Aug 2008, Alan Stone wrote:
> Hi,
>
> Taking S6 = 600pt wide x 450pt heigh for example...
>
> \setuppapersize[S6][S6]
>
> \showframe
> \showsetups
>
> \setuplayout[topheight=15pt,
> headerheight=15pt,
> footerheight=15pt,
> bottomheight=15pt,
&
Hi Peter,
I meant the showframe and showsetups displays on the pdf document itself,
not the document paper printout.
Best,
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki
Alan Stone schrieb:
> Hi,
>
> Taking S6 = 600pt wide x 450pt heigh for example...
>
> \setuppapersize[S6][S6]
>
> \showframe
> \showsetups
>
> \setuplayout[topheight=15pt,
> headerheight=15pt,
> footerheight=15pt,
> bottomheight=15pt,
>
Hi,
Taking S6 = 600pt wide x 450pt heigh for example...
\setuppapersize[S6][S6]
\showframe
\showsetups
\setuplayout[topheight=15pt,
headerheight=15pt,
footerheight=15pt,
bottomheight=15pt,
leftedgewidth=0pt,
leftmarginwidth=0pt,
rightmarginwidth=0pt,
rightedgewidth=180pt
|name|value|number]
\showexternalfigures[alternative=a|b|c]
\showfields[names]
# \showfont
\showframe[text|margin|edge]
\showgrid
# \showgridboxes
# \showgridsnapping
\showlayout
# \showlayoutcomponents
\showmakeup
\showpalet[name][horizontal|vertical|name|value]
\showprint[typesetting papersize][p
ng
>> \setuppapersize[..1..][..2.._]
>> 1. A3 A4_ A5 A6 letter ... CD landscape mirrored rotated 90 180 270
>> 2. A3 A4_ A5 A6 letter ... landscape mirrored rotated negative 90 180
>> 270
>>
>> \definepapersize[name][..=..]
>> width, height, offset: dimension
>> sca
\setuppapersize[..1..][..2.._]
> 1. A3 A4_ A5 A6 letter ... CD landscape mirrored rotated 90 180 270
> 2. A3 A4_ A5 A6 letter ... landscape mirrored rotated negative 90 180
> 270
>
> \definepapersize[name][..=..]
> width, height, offset: dimension
> scale: number
> \stoptyping
70
2. A3 A4_ A5 A6 letter ... landscape mirrored rotated negative 90 180
270
\definepapersize[name][..=..]
width, height, offset: dimension
scale: number
\stoptyping
\chapter{Layout}
\starttyping
\showframe[text,margin,edge]
\showsetups
\showlayout
\setuplayout[..=..]
HORIZONTAL:
leftedge, leftm
raphic
\startreusableMPgraphic{exhoch}
\includeMPgraphic{filledsquare}
draw redsquare xysized (ExHeight,ExHeight) shifted
(bbwidth(currentpicture)+.1mm,0) ;
\stopreusableMPgraphic
\starttext
\showsetups
\showlayout
\stoptext
---
___
ntg-context maili
n the metapost_test is the code from page 118 => beginfig(21) ;...
\startMPrun
input metapost_test;
\stopMPrun
\externalfile[mprun.21][width=5cm]
\showsetups
\showlayout
\stoptext
---
Please can any body help, thx.
al ;-)
___
ntg-context mailing
Dear fellow-ConTeXters,
working with Context I noticed some small, strange behaviours:
1. I arranged pages in the following way:
\definepapersize[myCustomLayout][width=12cm, height=19cm]
\setuppapersize[myCustomLayout][A4,landscape]
\setuparranging[2SIDE]
now, when I use \showsetups I get the
ssume) instead
of doing what it'd been told with the above commands... I checked with
\showsetups, it really totally ignored whatever I told it to have as
backspace.
However, Paul, if you "just" want mirror margins, i.e. "outside" and
"inside" margins, it can be do
showframe
\setuppagenumbering [alternative=doublesided]
\setuplayout[backspace=1cm,leftmargin=.5cm]
\starttext
\dorecurse{4}{\input tufte \inleft{\the\hsize}\inright{\the\hsize} \page}
\showsetups
\stoptext
I have no idea what is going on.
Patrick
--
You are your ow
(\textwidth - 12pt)]
\starttext
\showsetups
\stoptext
Patrick
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
Hi,
Steffen Wolfrum <[EMAIL PROTECTED]> writes:
> how is the syntax for adding or subtraction, like
> width=\textwidth - 12pt
if you are using etex and not afraid of strange examples:
\setuplayout[header=\dimexpr(\textwidth - 12pt)]
\starttext
\showsetups
\stoptext
Patrick
-
75 matches
Mail list logo