entries in the TOC because this way you don’t
reset the margins added by \startnarrower.
Wolfgang
we can do this:
\startsetups[\??listrenderings:abc]
\endgraf % are we grouped?
\advance\leftskip\listparameter\c!margin % after \endgraf !
but it needs testing
Hans
2014/1/23 Hans Hagen pra...@wxs.nl
we can do this:
\startsetups[\??listrenderings:abc]
\endgraf % are we grouped?
\advance\leftskip\listparameter\c!margin % after \endgraf !
but it needs testing
I don’t think this is an option because it will change the layout of the
TOC in
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote:
2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl
we can do this:
\startsetups[\??__listrenderings:abc]
\endgraf % are we grouped?
\advance\leftskip\__listparameter\c!margin % after \endgraf !
but it needs
On 1/23/2014 10:24 PM, Wolfgang Schuster wrote:
2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote:
2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl
mailto:pra...@wxs.nl mailto:pra...@wxs.nl
we can do
2014/1/23 Hans Hagen pra...@wxs.nl
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote:
2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl
we can do this:
\startsetups[\??__listrenderings:abc]
\endgraf % are we grouped?
Hello listmembers,
ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2014.1.6
I'm typesetting a book in A4 landscape and would like to indent the TOC
at both sides. I tried two solutions which both didn't work as expected.
1. attempt with \startnarrower[left,right]
\completecontent
don’t reset the margins added
by \startnarrower.
Wolfgang
On 22.01.2014 12:05:33, Rudolf Bahr qu...@quasi.de wrote:
Hello listmembers,
ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2014.1.6
I'm typesetting a book in A4 landscape and would like to indent the TOC
at both sides. I tried two
\Procedure{something}
\stoptext
However, I'd suggest to instead use:
\startProcedure [title=something]
…
\stopProcedure
The \startnarrower requires an explanation on how it affects the
resulting document. Likewise \startitemnize.
Feel free to add some info from the wiki.
http
needs to be defined before it is used.
For example, \setupsomething - What does something mean?
The \defineenumeration[Question] creates a \Question command,
but \definehead[Procedure][section] does not create \Procedure command?
(Should the capital P not carry forward?)
The \startnarrower requires
the example
below). Recent documentation doesn't show these as parameters for setuphead.
How do I do this with MKIV?
Example:
\setuphead[section] [margin=0.5in,
beforesection={\startnarrower[left=0.5in]}, aftersection={\stopnarrower}]
\setuphead[subsection] [margin=1in,
beforesection={\startnarrower
, but I was wondering about the standard
\startnarrower.
Many (some) commands allow setup assignments, the use of which
overides but does not change the default. This is a very useful
feature of ConTeXt that suggest could be generalized.
\startnarrower is but one example.
Changing the command
Hello,
Could (should) startnarrower be modified to accept setup assignments?
As in:
\startnarrower [before=\blank,after=\blank]
or
\startnarrower [left=3cm] [left]
etc.
Alan
___
If your question is of interest
Am 06.08.2013 um 15:11 schrieb Alan BRASLAU alan.bras...@cea.fr:
Hello,
Could (should) startnarrower be modified to accept setup assignments?
As in:
\startnarrower [before=\blank,after=\blank]
or
\startnarrower [left=3cm] [left]
etc.
\usemodule[annotation]
\defineannotation
Thank you Wolfgang, but I was wondering about the standard \startnarrower.
Many (some) commands allow setup assignments, the use of which overides but
does not change the default. This is a very useful feature of ConTeXt that
suggest could be generalized. \startnarrower is but one example
Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr:
Thank you Wolfgang, but I was wondering about the standard \startnarrower.
Many (some) commands allow setup assignments, the use of which overides but
does not change the default. This is a very useful feature of ConTeXt
On Tue, 6 Aug 2013, Wolfgang Schuster wrote:
Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr:
Thank you Wolfgang, but I was wondering about the standard \startnarrower.
Many (some) commands allow setup assignments, the use of which overides but
does not change the default
Am 06.08.2013 um 17:53 schrieb Aditya Mahajan adit...@umich.edu:
On Tue, 6 Aug 2013, Wolfgang Schuster wrote:
Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr:
Thank you Wolfgang, but I was wondering about the standard \startnarrower.
Many (some) commands allow setup
\startnarrower.
Many (some) commands allow setup assignments, the use of which overides but
does not change the default. This is a very useful feature of ConTeXt that
suggest could be generalized. \startnarrower is but one example.
Changing the command is simple but I would drop the second
argument
$ \VL\MR
\HL
\stoptable
}
}
\setupnarrower[left=2.5cm] % to align footnote under the table
\startnarrower[left]
\placelocalfootnotes[here]
\stopnarrower
\stoplocalfootnotes
\setupnotation[footnote][numberconversion=n,rule=on] % restore footnotes
to global
$ \VL
\VL$\oplus$ \VL\MR
\VL Y-ITEM\VL \VL$\oplus$ \VL \VL$\oplus$ \VL
\VL$\oplus$ \VL \VL$\oplus$ \VL\MR
\HL
\stoptable
}
}
\setupnarrower[left=2.5cm] % to align footnote under the table
\startnarrower[left]
\placelocalfootnotes[here
footnote under the table
\startnarrower[left]
\placelocalfootnotes[here]
\stopnarrower
\stoplocalfootnotes
\setupnotation[footnote][numberconversion=n,rule=on] % restore footnotes to
global
\stoptext
Slightly modified solution I already wrote three hours ago for another thread
regarding
]
\setuplist[subsection][margin=3.5em,width=3em]
\setuplist[paragraphHead][alternative=c,style=\tfx]
\def\startParagraphTocColumns{%
\writebetweenlist[paragraphHead][location=here]{\setupnarrower[left=2em]\startnarrower[left]\startcolumns[n=2,distance=0mm,balance=yes]}%
\ignorespaces
is applied on all four sides
\startfoo
\input ward
\stopfoo
\input knuth
%% this is what I'm aiming for
\startnarrower [-1cm]
\startfoo [backgroundoffset=0cm, loffset=1cm]
\input ward
\stopfoo
\stopnarrower
\stoptext
Marco
signature.asc
Description: Digital signature
, %% there is no backgroundloffset
background=screen]
\starttext
%% backgroundoffset is applied on all four sides
\startfoo
\input ward
\stopfoo
\input knuth
%% this is what I'm aiming for
\startnarrower [-1cm]
\startfoo [backgroundoffset=0cm, loffset=1cm]
\input ward
\stopfoo
\stopnarrower
I find that in
intro text
\startnarrower
narrow text
\stopnarrower
after text
blank vertical space is inserted both before and after the narrower block.
How can I avoid that?
Hans van der Meer
___
If your
Am 16.03.2013 um 12:45 schrieb H. van der Meer h.vanderm...@uva.nl:
I find that in
intro text
\startnarrower
narrow text
\stopnarrower
after text
blank vertical space is inserted both before and after the narrower block.
How can I avoid that?
I can’t see a space before/after
...@uva.nl:
I find that in
intro text
\startnarrower
narrow text
\stopnarrower
after text
blank vertical space is inserted both before and after the narrower block.
How can I avoid that?
I can’t see a space before/after the environment.
\starttext
intro text
\startnarrower
narrow text
Hi,
\startnarrower doesn’t work for the left margin in lists. What is wrong
in my minimal example?
TIA!
\starttext
\startnarrower [5*middle] % 5*left,5*right
\placecontent [criterium=local]
\stopnarrower
\part{First part}
\chapter{Chapter one}
\chapter{Chapter two}
\chapter{Chapter
On 2013–02–07 Markus Finke wrote:
\startnarrower doesn’t work for the left margin in lists. What is
wrong in my minimal example?
I did not check why it doesn't work. But to add a left margin you
can use:
\setuplist [margin=3cm]
Marco
signature.asc
Description: Digital signature
I did not check why it doesn't work. But to add a left margin you
can use:
\setuplist [margin=3cm]
Yes, it’s possible to fix it on this way. But what is the right
conversion of 1*left in mm/em?
___
If your
Yes, it’s possible to fix it on this way. But what is the right
conversion of 1*left in mm/em?
left, middle and right depend on the font size:
left=1.5\emwidth
right=1.5\emwidth
which means for your example:
\setuplist [margin=7.5em]
Marco
signature.asc
Description: Digital
Am 07.02.2013 um 13:22 schrieb Marco Patzer home...@lavabit.com:
On 2013–02–07 Markus Finke wrote:
\startnarrower doesn’t work for the left margin in lists. What is
wrong in my minimal example?
I did not check why it doesn't work. But to add a left margin you
can use:
\setuplist
Am 23.11.2012 um 20:23 schrieb Aditya Mahajan adit...@cim.mcgill.ca:
... I probably found it (how easy!):
\definestartstop
[Rek]
[before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower},
after={\stopnarrower\blank},
style=\em,
]
(Untested, as I don't
On Fri, 23 Nov 2012 20:23:44 +0100, Aditya Mahajan adit...@cim.mcgill.ca
wrote:
... I probably found it (how easy!):
\definestartstop
[Rek]
[before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower},
after={\stopnarrower\blank},
style=\em,
]
(Untested, as I
... I probably found it (how easy!):
\definestartstop
[Rek]
[before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower},
after={\stopnarrower\blank},
style=\em,
]
Best regards,
Lukas
On Fri, 23 Nov 2012 16:00:54 +0100, Procházka Lukáš Ing. - Pontex s
... I probably found it (how easy!):
\definestartstop
[Rek]
[before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower},
after={\stopnarrower\blank},
style=\em,
]
(Untested, as I don't know if narrower accepts indent and style keys; if
not this should serve
}
\startnarrower[3*middle]
\quotation{\getbuffer}
\stopnarrower
\stoptext
Wolfgang
--
-
- Pavneet Arora
Waroc Fine Audio + Custom Home Cinema
www.waroc.com 416.937.WAROC (9276)
___
If your question
) sheet’s cells.%
\stopbuffer
\starttext
\startquotation \getbuffer \stopquotation
\setupdelimitedtext[quotation][leftmargin=3cm]
\startquotation \getbuffer \stopquotation
\quotation{\getbuffer}
\startnarrower[3*middle]
\quotation{\getbuffer}
\stopnarrower
\stoptext
Wolfgang
{\bf \pagenumber}\quad \cap {maps\ \MapsNumber}}]
[\AuHead]
\setupfootertexts
}
\def\fulltextwidth{457pt}
\def\startdescription
{\blank
\bgroup
\def\sym##1{\par\noindent\hbox{\bf\kern -16pt ##1}\hskip 12pt}
\startnarrower[left]
}
\def\stopdescription
{\par \stopnarrower
Hi All,
I want to indent all text in a document except the chapter header text by a
given amount. I have used the following to achieve it:
\setupnarrower[left=3cm]
and
\startnarrower[left]
\stopnarrower
But I have the feeling that there has to be a better way of doing it.
Secondly, how
Am 08.03.2012 um 18:08 schrieb Emmanuel Asante:
Hi All,
I want to indent all text in a document except the chapter header text by a
given amount. I have used the following to achieve it:
\setupnarrower[left=3cm]
and
\startnarrower[left]
\stopnarrower
But I have
the following to achieve it:
\setupnarrower[left=3cm]
and
\startnarrower[left]
\stopnarrower
But I have the feeling that there has to be a better way of doing it.
It’s easier to move the headings to the left.
Secondly, how do I control the space around headers? I would like
the page. (Currently I have wrapped them
in \startnarrower...\stopnarrower -- is there a better way?) But this
is followed by an Abstract paragraph that uses the full width of the
page.
I would like to ensure that the full-width text never starts high
enough on the page that it encroaches
in \startnarrower...\stopnarrower -- is there a better way?) But this
is followed by an Abstract paragraph that uses the full width of the
page.
I would like to ensure that the full-width text never starts high
enough on the page that it encroaches on the upper-right-corner
graphic. So, I'm looking
the way across the page. (Currently I have wrapped them
in \startnarrower...\stopnarrower -- is there a better way?) But this
is followed by an Abstract paragraph that uses the full width of the
page.
I would like to ensure that the full-width text never starts high
enough on the page
of
this graphic are several text elements (Title, Author List, etc.) that
don't go all the way across the page. (Currently I have wrapped them
in \startnarrower...\stopnarrower -- is there a better way?) But this
is followed by an Abstract paragraph that uses the full width of the
page.
I would
for their
affiliations. Since updating, it no longer works as expected; the
footnote markers after author names use the document roman font
instead of the sans font.
Also, if I use this inside a \startnarrower...\stopnarrower block, the
environment extends past where it should stop, which didn't happen
before
of the style is only used
when nothing is set for the headstyle or textstyle keys but textstyle
already has a different value.
Also, if I use this inside a \startnarrower...\stopnarrower block, the
environment extends past where it should stop, which didn't happen
before.
Can you show a example
the document roman font
instead of the sans font.
You have to use the textstyle key, the value of the style is only used
when nothing is set for the headstyle or textstyle keys but textstyle
already has a different value.
Also, if I use this inside a \startnarrower...\stopnarrower block
][
location=paragraph,
color=color_text,
background=color,
backgroundcolor=colour_page,
framecolor=colour_text,
leftoffset=1.0\bodyfontsize,
rightoffset=1.0\bodyfontsize,
before={
\blank
\startnarrower
\startnarrower
},
after={
\blank
\stopnarrower
},
style=italic,
corner=round,
frame=on]
Why not just increase the value of leftoffset and rightoffset?
\definetextbackground[FramedText][
location=paragraph,
color=black
environment when you don’t need syntax highlighting:
\setupbodyfont[xits,10pt]
\definelines
[code]
[space=yes,
style=mono,
before=\startnarrower,
after=\stopnarrower]
\starttext \showframe
\startcode
for $∀$i, j $∈$ I
do a(i, j) $≔$ b(i, j)
\stopcode
\stoptext
Wolfgang
the delimitedtext mechanism.
---
\long\def\startextendedquotation[#1]#2\stopextendedquotation
{\bgroup\par
\blank[halfline]
\startnarrower[4em]
\symbol[leftquotation]%
#2\removeunwantedspaces
\symbol[rightquotation]#1
\stopnarrower
Dear All,
In my docbook xml document I have fragments that I want to typeset indented.
For this I use the tag blockquote which I map to startnarrower and
stopnarrower.
Some blockquotes in my document have a header:
blockquote
titleHow a cow catches a rabbit/title
paraText Text/para
Am 06.05.2011 um 12:00 schrieb R. Ermers:
Dear All,
In my docbook xml document I have fragments that I want to typeset indented.
For this I use the tag blockquote which I map to startnarrower and
stopnarrower.
Some blockquotes in my document have a header:
blockquote
titleHow
to startnarrower and
stopnarrower.
Some blockquotes in my document have a header:
blockquote
titleHow a cow catches a rabbit/title
paraText Text/para
/blockquote
I was wondering if the header could be setup just like sections and section
headers in the following way:
\startnarrower
]
\definebodyfont [10.5pt] [rm] [default]
\stoptypescript
\definebodyfontenvironment[10.5pt]
\usetypescript[times]
\setupbodyfont[times,10.5pt]
\setupfootnotes[bodyfont={rm,8.5pt}]
\definestartstop[quote]
[before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont
The trouble arises when I put my tables into narrower, framedtext so as to
be able to force proper indentation:
\starttext
\startitemize[n]
\dorecurse{20}{\item This is a test
\startnarrower[left]
\startframedtext[frame=off,offset=overlay]
\starttables[|l|l|l|l|l|l|l|l|]
\NC (a) \NC
:
\startnarrower[3*right]
\crlf
{\tfd \rightaligned{ CHAPTER_NAME }}
\stopnarrower
Why I'm doing that?... because I have a lot of framed and I want when
they are send to the next page the document shows the name of the
chapter that they belong (or the name of the current chapter). am I
right with my approach
I am trying to understand how context is working.
Would anyone like to comment on why the following does not work as expected?
hfil\break and \crlf do not indent after the first line (but
\startnarrower works):
\starttext
\setupwhitespace[3.5mm]
\hskip 2cm 9/99 Addr Line 1 Street\hfil\break
Am 21.02.2011 um 11:07 schrieb Richard Lennox:
I am trying to understand how context is working.
Would anyone like to comment on why the following does not work as expected?
hfil\break and \crlf do not indent after the first line (but
\startnarrower works):
The narrower environment use
Addr Line 2\hfil\break
\hskip 2cm City\hfil\break
\startnarrower[2*left]
\startalignment[right]
2/99 addr line 1\hfil\break
addr line 2\hfil\break
addr line 3
\stopalignment
\stopnarrower
\stoptext
Addr Line 1 Street\hfil\break
\hskip 2cm Addr Line 2\hfil\break
\hskip 2cm City\hfil\break
\startnarrower[2*left]
\startalignment[right]
2/99 addr line 1\hfil\break
addr line 2\hfil\break
addr line 3
\stopalignment
\stopnarrower
\stoptext
use \crlf
on why the first
does not work as (I) expected.
I would expect both addresses to be indented the same amount but only the
first line of the first address appears indented as expected:
\startnarrower[2*left]
\startalignment[right]
2/99 addr line 1\hfil\break
addr line 2\hfil\break
indented as expected:
\starttext
% define skip before paragraphs (default is no skip)
\setupwhitespace[3.5mm]
%\setupwhitespace[big]
\hskip 2cm 9/99 Addr Line 1 Street\hfil\break
\hskip 2cm Addr Line 2\hfil\break
\hskip 2cm City\hfil\break
\startnarrower[2*left
Not sure if there are side effects but this works (requires mkiv and a recent
installation):
\setuplayout[grid=yes]\showgrid
\setupbodyfont[14pt]
\usemodule[annotation]
\define[2]\ZitatCommand
{\topskip\dimexpr\topskip+\lineheight/2\relax
\startnarrower
“#2”%
\stopnarrower
installation):
\setuplayout[grid=yes]\showgrid
\setupbodyfont[14pt]
\usemodule[annotation]
\define[2]\ZitatCommand
{\topskip\dimexpr\topskip+\lineheight/2\relax
\startnarrower
“#2”%
\stopnarrower}
\defineannotation
[zitat]
[alternative=command,
command=\ZitatCommand,
spacebefore
. paragraphs whose first lines are always \textwidth in width and whose next
lines are always somehow indented.
I achieved the desired shape by the following combination of \setupnarrower and
\setupindenting:
---
\starttext
\setupnarrower[left=2em]
\startnarrower[1*left,0*right
combination of
\setupnarrower and \setupindenting:
---
\starttext
\setupnarrower[left=2em]
\startnarrower[1*left,0*right]
\setupindenting[yes,-2em]
\input knuth
\stopnarrower
\stoptext
---
But I would like to ask whether this way is clean enough and/or there
is a better way, especially via a kind
first lines are always \textwidth in width and
whose next lines are always somehow indented.
I achieved the desired shape by the following combination of
\setupnarrower and \setupindenting:
---
\starttext
\setupnarrower[left=2em]
\startnarrower[1*left,0*right]
\setupindenting[yes,-2em]
\input knuth
] \setupcolors[state=start]
\setuphead [part][page=right,placehead=yes]
\setuplist [chapter] [alternative=d,before=\blank,after=\blank]
\setuplist [part][before=\blank,after=\blank]
\starttext
\startsetups chapter
\blank \startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower
\startnarrower[3*middle] \placecontent[criterium=local]
\stopnarrower
\blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower
Wolfgang
___
If your question is of interest to others as well, please add
,after=\blank]
\starttext
\startsetups chapter
\blank \startnarrower[3*middle] \placecontent[criterium=local]
\stopnarrower
\blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower
Wolfgang
Oha, that was fast! Many thanks, this arguably looks better than
my hacking
Hi,
my goal is to make a table that is as wide as the current \startnarrower ...
\stopnarrower part (thanks to the answer to this question on
tex.stackexchange.com: http://tex.stackexchange.com/q/3381/243
Am 23.09.2010 um 10:14 schrieb Patrick Gundlach:
Hi,
my goal is to make a table that is as wide as the current \startnarrower ...
\stopnarrower part (thanks to the answer to this question on
tex.stackexchange.com: http://tex.stackexchange.com/q/3381/243
Hello Wolfgang,
Use the “textwidth” key but keep in mind with the linecorrection you can
use split tables, for tables which use indent from \startnarrower and
split across pages you can use tabulate.
I am afraid I don't get the full meaning of your answer. When I use tabulate, I
have
Am 23.09.2010 um 10:48 schrieb Patrick Gundlach:
Hello Wolfgang,
Use the “textwidth” key but keep in mind with the linecorrection you can
use split tables, for tables which use indent from \startnarrower and
split across pages you can use tabulate.
I am afraid I don't get the full
Hello Wolfgang,
Sorry but i don’t know what you mean, in my example the tabulate has the same
width as the text in the narrower environment.
Insert an \HL and you'll see that this a bit strange.
\starttext
\input knuth
\startnarrower
\input knuth
\starttabulate[|p|p|]
\HL
Am 23.09.2010 um 11:00 schrieb Patrick Gundlach:
Hello Wolfgang,
Sorry but i don’t know what you mean, in my example the tabulate has the same
width as the text in the narrower environment.
Insert an \HL and you'll see that this a bit strange.
You can use \HR, it has more spacing before
You can use \HR, it has more spacing before and after the line
but it works correct in narrower text and itemize.
Sorry for the stupid question, but how do I use \HR?
\starttabulate[|p|p|]
\HR
\NC \input ward \NC \input zapf \NC\NR
\HR
\stoptabulate
gives me a misplaced noalign.
Patrick
Am 23.09.2010 um 11:27 schrieb Patrick Gundlach:
You can use \HR, it has more spacing before and after the line
but it works correct in narrower text and itemize.
Sorry for the stupid question, but how do I use \HR?
\starttabulate[|p|p|]
\HR
\NC \input ward \NC \input zapf \NC\NR
want to indent more the abstract. What are the options of
definedelimitedtext? In the manual there is no mention for that.
indenting={yes,big}
Is there any way of doing the same as \startnarrower[2*middle,3*middle]?
leftmargin=2cm,
rightmargin=3cm
or whatever value you want
for that.
Is there any way of doing the same as \startnarrower[2*middle,3*middle]?
Thanks in advance,
Xan.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
of
definedelimitedtext? In the manual there is no mention for that.
indenting={yes,big}
Is there any way of doing the same as \startnarrower[2*middle,3*middle]?
leftmargin=2cm,
rightmargin=3cm
or whatever value you want, by default rightmargin has the same amount as
leftmargin
Wolfgang
Hi,
I try to duplicate this [http://arxiv.org/abs/0901.1458] article to
ConTeXt. The original article was written in LaTeX. I have to troubles
in this duplication:
- abstract: I emulate LaTeX abstract environment with \startnarrower
... \stopnarrower, as this
[http://wiki.contextgarden.net
Am 12.08.10 17:29, schrieb Xan:
Hi,
I try to duplicate this [http://arxiv.org/abs/0901.1458] article to
ConTeXt. The original article was written in LaTeX. I have to troubles
in this duplication:
- abstract: I emulate LaTeX abstract environment with \startnarrower
... \stopnarrower
the width of the textbackground (see example 1).
I also tried other approaches to set the width of a textbackground being
larger than the actual text width. So far I solved it using \startnarrower.
it's related to the negative rightskip ... i can fix it but i need
to think a bit about side
\startnarrower.
However when a page break happens within the textbackground ConTeXt
does not set it properly. The dimensions of the defined textbackground
are correct. however you will see the color of the background only at
the first page but not after the page break. below an example (example
text width. So far I solved it using \startnarrower.
it's related to the negative rightskip ... i can fix it but i need to
think a bit about side effects
-
Hans Hagen | PRAGMA ADE
control systems faculty
Aviation computer-integrated complexes department
\stopbuffer
\startbuffer[ApprovedByPolukhin]
\startalignment[right]\setupnarrower[left=12cm]\startnarrower[left]
Approved
Deputy Rector for Academics
\thinrule\hskip1mm A.Polukhin
\hl[2]\thinrule\hskip1mm
Hello,
Please, advise me.
Is there a way to keep margin text and body text on the same line in the
following situation?
\define[0]\chorus{\startnarrower{\itx CHORUS}\stopnarrower}
\starttext
\chorus
\chorus
\inmargin{B}\chorus
\stoptext
Now B is above CHORUS, I want it to be exactly
Vyatcheslav Yatskovsky (2010-06-05 14:25):
Hello,
Please, advise me.
Is there a way to keep margin text and body text on the same line in
the following situation?
\define[0]\chorus{\startnarrower{\itx CHORUS}\stopnarrower}
\starttext
\chorus
\chorus
\inmargin{B}\chorus
No, no, your idea is exactly what I missed! :) Thanks!
I somehow feel that this is not what you want:
\def\chorus#1{\startnarrower{\itx
CHORUS}\doiftext{#1}{\inmargin{#1}}\stopnarrower}
\starttext
\chorus{}
\chorus{B}
\stoptext
--
Best Regards,
Vyatcheslav Yatskovsky
faculty
Aviation computer-integrated complexes department
\startstandardmakeup[align=left] %is there better command for this?
\setupnarrower[left=12cm]
\startnarrower[left]
Approved
Deputy Rector for Academics
\fillinrules[]{}{A.Polukhin}
\fillinrules{}{}\fillinrules[]{}{\currentdate[year]}\par
Hi,
How is it possible to have a STEPchart be midaligned, or right-aligned,
Another way:
\startnarrower[6*left] \getbuffer \stopnarrower
--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest
On 9 avr. 2010, at 00:08, Vyatcheslav Yatskovsky wrote:
Hi,
How is it possible to have a STEPchart be midaligned, or right-aligned,
Another way:
\startnarrower[6*left] \getbuffer \stopnarrower
--
Best Regards,
Vyatcheslav Yatskovsky
Thanx Vyatcheslav: your suggestion works
that does not work?
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
\starttext
\startexdent
\dorecurse{10}{Para 1: Some random text to fill space}
\dorecurse{10}{Para 2: Some random text to fill space}
\dorecurse{10}{Para 3
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
\starttext
\chapter{HangingIndent}
\startexdent
\dorecurse{10}{Para 1: Some random text to fill space}
\dorecurse{10}{Para 2: Some random text to fill space}
\dorecurse{10}{Para 3: Some random
]%
\startnarrower[left]% blockindent only left
\startlines%
},after={%
\stoplines%
\stopnarrower%
\setuplines[indenting={no}]% must be reseted
\endgraf%
}]
\starttext
Three lines, first should be broken:
\startverse
FIRST---this should
\startnarrower[2em]%% hanging indent
\startalignment[flushleft]% % even inter-word-dist.
\startlines%% no justification
\indenting[first]}%
,after={\stoplines%
\stopalignment%
\stopnarrower%
\endgraf
201 - 300 of 450 matches
Mail list logo