how to do that?
\definelines
[verse]
[indenting={yes,-2em,first},
before={\startnarrower[2em]},
after=\stopnarrower,
% style={\setupalign[flushleft,nothyphenated]},
style={\raggedright\nohyphens},
]
@Hans, can you change \setupalign to
\unexpanded\def\setupalign
be broken
into hanging indentations.
Any idea how to do that?
\definelines
[verse]
[indenting={yes,-2em,first},
before={\startnarrower[2em]},
after=\stopnarrower,
% style={\setupalign[flushleft,nothyphenated]},
style={\raggedright\nohyphens},
]
@Hans, can you change \setupalign to
\unexpanded\def
. This now
works.
But what about environments like \startnarrower? Are they supposed to
work in footnotes? How do I know when writing a document that I can't
use them in footnotes when interaction is enabled? (Sorry I can't look
up in the wiki right now whether this is mentioned or not.)
Philipp
]
\setuplayout[grid=tolerant]
\definestartstop[quotetest]
[before={\startnarrower\switchtobodyfont[8pt]\setuplocalinterlinespace[line=16pt]\setupwhitespace[0pt]\setupindenting[0em,yes]},after=\stopnarrower]
\starttext
\input tufte \par
\startquotetest
\input tufte \par
\stopquotetest
\stoptext
][serif][times][default]
\setupbodyfont[postscript,20pt]\setupinterlinespace[line=12pt]\lineskiplimit-\maxdimen
\setuplayout[grid=tolerant]
\definestartstop[quotetest]
[before={\startnarrower\switchtobodyfont[8pt]\setupinterlinespace[line=7pt]\lineskiplimit-\maxdimen},after=\stopnarrower]
\starttext
Hallo,
I have an other problem which was asked for years if I remember
right. But I can not find it.
In the following
\starttext
\startnarrower
Und Gott der Herr machte Adam und seinem Weibe Röcke
von Fellen, und kleidete sie. \RA{\tfx (Genesis 3, 21)}
\stopnarrower
\stoptext
I want \RT
---
\usetypescript[postscript]
\definetypeface[postscript][rm][serif][times][default]
\setupbodyfont[postscript,20pt]\setupinterlinespace[line=12pt]\lineskiplimit-\maxdimen
\setuplayout[grid=tolerant]
\definestartstop[quotetest]
[before={\startnarrower\switchtobodyfont[8pt]\setupinterlinespace
Am 11.03.10 12:51, schrieb Wolfgang Werners-Lucchini:
Hallo,
I have an other problem which was asked for years if I remember
right. But I can not find it.
In the following
\starttext
\startnarrower
Und Gott der Herr machte Adam und seinem Weibe Röcke
von Fellen, und kleidete sie. \RA{\tfx
]
\definestartstop[quotetest]
[before={\startnarrower\switchtobodyfont[8pt]\setupinterlinespace[line=7pt]\lineskiplimit-\maxdimen},after=\stopnarrower]
Hi Steffen,
this works, but the \startlocal...\stoplocal combination is not used
very often in 'the source' (so there must be a better way
Thank you Aditya and Wolfgang,
I will try it both:
No page breaks possible:
\defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before
=,after=]
\starttext
vorher
\startnarrower
text
\starttablebox
\starttable[s0|l|]
\NC table entry \NC\AR
\stoptable
Am 27.02.10 20:40, schrieb Wolfgang Werners-Lucchini:
If there is really no solution, I will make something with an empty
first column.
No page breaks possible:
\defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before=,after=]
\starttext
vorher
\startnarrower
text
Thank you Taco,
I want some space on the left of \start\stoptables. What I get is
SOME space, but not that what I wanted!
---
\starttext vorher
\setupnarrower[left=3cm]
\startnarrower[left]
\starttables[|l|]
Where is that little space from? How
On Fri, 26 Feb 2010, Wolfgang Werners-Lucchini wrote:
Thank you Taco,
I want some space on the left of \start\stoptables. What I get is
SOME space, but not that what I wanted!
---
\starttext vorher
\setupnarrower[left=3cm]
\startnarrower[left]
\starttables[|l|]
Where
Hallo,
I asked this question some times before
but I can't remember if I got some answers. Sorry!
I want some space on the left of \start\stoptables. What I get is
SOME space, but not that what I wanted!
---
\starttext vorher
\setupnarrower[left=3cm]
\startnarrower
\setupnarrower[left=3cm]
\startnarrower[left]
\starttables[|l|]
Where is that little space from? How can I get a left space of, say
3cm?
\starttables[s0|l|]
?
Best wishes,
Taco
___
If your question is of interest
On 18-1-2010 18:28, Horacio Suarez wrote:
hello all:
I need someting like a negative kerning to reduce some paragraphs length.
I was reading the mails but I didn´t find it or was too complex for me.
i'm not sure what you mean .. narrower?
\startnarrower[right]
...
\stopnarrower
otherwise
\startnarrower[left]
\stopnarrower
that was quick, thank you!
just what i was looking for but couldn´t find.
tobias
___
If your question is of interest to others as well, please add an entry to the
Wiki
comm...@googlemail.com wrote:
i have tried vtop, which works ok, but looks ugly, and splitting proofs
across multiple pages is a pain. is there a better way to do this?
\startnarrower[left]
\startnarrower[left] ...
\stopnarrower
\stopnarrower
Best wishes,
Taco
, but not that what I wanted!
---
\starttext
vorher
\setupnarrower[left=3cm]
\startnarrower[left]
\starttables[|l|]
\NC hmm \NC\MR
\stoptables
\stopnarrower
nachher
\stoptext
---
Where is that little space from?
How can I get a left space of, say 3cm?
Thank you
Hallo
I want some space on the left of \start\stoptables.
What I get is SOME space, but not that what I wanted!
---
\starttext
vorher
\setupnarrower[left=3cm]
\startnarrower[left]
\starttables[|l|]
\NC hmm \NC\MR
\stoptables
\stopnarrower
nachher
\stoptext
Hi Hans,
here is a new attempt to get a more generalized version of the
startnarrower macros, now mkiv only.
Wolfgang
\unprotect
\def\narrowerparameter #1{\csname\donarrowerparameter{\??sl
\@@narrower}#1\endcsname}
\def\donarrowerparameter #1#2{\ifcsname#1#2\endcsname#1#2
}
\startnarrower[3*middle]
\noindenting\getmyAbstract
\stopnarrower
At one time (long ago) this worked, but now it is throwing this error.
! Undefined control sequence.
\getmyAbstract -\dodoprocessTEXbuffer
[myAbstract][def-2]
l.218 \getmyAbstract
What
:
\midaligned{\bf Abstract}
\startnarrower[3*middle]
\noindenting\getmyAbstract
\stopnarrower
At one time (long ago) this worked, but now it is throwing this error.
! Undefined control sequence.
\getmyAbstract -\dodoprocessTEXbuffer
[myAbstract][def-2]
l.218
\input ward
\startnarrower
\startLongQuote
\input knuth \par
\stopLongQuote
\stopnarrower
\input ward
\stoptext
I have two related questions for the list:
a. Would it be useful to add this information to the ConTeXt wiki page on
Quotes?
b. Is there a complete and up to date list of commands
]
definetextbackground[Quote]
[backgroundcolor=linen,
backgroundoffset=0.25cm,
frame=off,
location=paragraph,
before=\vskip 1ex\startnarrower,
after=\stopnarrower\vskip 2.5ex]
\def\Ex#1{{\bf Exercise #1}}
\def\Dfn#1{{\bf Definition #1}}
\def\bb#1{\blackboard{#1}}
\stopenvironment
I do NOT get bold with $ {\bf x
=]
\setuptitle
[\c!author,\c!date]
[\c!style=\tfa,
\c!color=]
\setuptitle
[\c!title=,
\c!author=,
\c!date=\currentdate]
% define abstracts
\definestartstop
[abstract]
[before={\midaligned{\bf Abstract}
\startnarrower[2*middle]},
after={\stopnarrower
\blank
with...
---
\definehead[mysubject][subject]
\defineframed[lrframe][
width=\localhsize,
align=normal,
rulethickness=1pt]
\setuphead[mysubject][style={\bf}]
\define[3]\CHRONSUBJ
{\mysubject{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3}\stopnarrower}
\showframe[text
{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3}\stopnarrower}
\showframe[text]
\starttext
\CHRONSUBJ
{This happened from June 08 to June 09}
{06/08--06/09}
{\CHRONSUBJ
{This happened from June 08 to December 08}
{06/08--12/08}
{\input tufte
{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3}\stopnarrower}
\showframe[text]
\starttext
\CHRONSUBJ
{This happened from June 08 to June 09}
{06/08--06/09}
{\CHRONSUBJ
{This happened from June 08 to December 08}
{06/08--12/08}
{\input tufte }
\CHRONSUBJ
=\localhsize,
align=normal,
rulethickness=1pt]
\setuplayout[header=0pt,footer=0pt]
\definedescription[topdesc][
inbetween={\blank[none]},
headstyle={\bf},
style={\tf\rm},
location=top,
width=broad]
\define[3]\CHRONDESC
{\starttopdesc
{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3
\starttext
\input knuth
\startnarrower
\input knuth
\dontleavehmode\framed[width=\localhsize,align=normal]{left\hfill right}
\stopnarrower
\stoptext
Wolfgang
___
If your question is of interest to others as well, please
]
\setuplayout[header=0pt,footer=0pt]
\definedescription[topdesc][
inbetween={\blank[none]},
headstyle={\bf},
style={\tf\rm},
location=top,
width=broad]
\define[3]\CHRONDESC
{\starttopdesc
{\dontleavehmode\lrframe{#1\hfill#2}}
\startnarrower[left]{#3}\stopnarrower
\stoptopdesc}
\definehead[mysubject
to have any effect on the indenting.
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
\setuppublicationlist[before={\startexdent},after={\stopexdent}]
or
\startexdent
\placepublicationlist
\stopexdent
Thanks,
Mike
Am 08.04.2009 um 16:52 schrieb frantisek holop:
hi there,
what would be the equivalent of the following
\startnarrower[2*left,0*right]
\stopnarrower
using
\setupnarrower ?
not possible
my problem is that \setupnarrower takes dimensions, while
\startnarrower takes... i am not sure what
hi there,
what would be the equivalent of the following
\startnarrower[2*left,0*right]
\stopnarrower
using
\setupnarrower ?
my problem is that \setupnarrower takes dimensions, while
\startnarrower takes... i am not sure what actually...
\startnarrower[..,...,..] ... \stopnarrower
... n
]
\definestartstop[Abstract][before={\page[blank,right] \midaligned{\bf
Abstract}\startnarrower[2*middle]}, after={\stopnarrower\blank[big] }]
\starttext
\startTitlepagemakeup
\bookmark[chapter]{Title page}
\tfd Title page \\
\stopTitlepagemakeup
\startResumemakeup
\bookmark[chapter]{Resume
]
[before={\bgroup \startnarrower\switchtobodyfont[10pt]},
after={\endgraf\nobreak\vskip-0.2ex\nobreak Author
\stopnarrower \egroup \blank \noindentation}]
Best wishes,
Taco
___
If your question
line or an \endgra. Try this:
\definestartstop[AuthorNote]
[before={\bgroup \startnarrower\switchtobodyfont[10pt]},
after={\endgraf\nobreak\vskip-0.2ex\nobreak Author
\stopnarrower \egroup \blank \noindentation}]
Excellent! That works!
Now the only problem I have is I have
the
author's signature leaving it dangling on the next page. If I use a
\vbox, that has problems when the notes need to go more than the current
page. How do I fix the code below?
\definestartstop[AuthorNote][
before={\bgroup
\startnarrower
\switchtobodyfont[10pt]
},
after
, that has problems
when the notes need to go more than the current page. How do I fix the code
below?
\definestartstop[AuthorNote][
before={
\bgroup
\startnarrower
\switchtobodyfont[10pt]
},
after={
\vskip-0.2ex
Author
\stopnarrower
,
interaction=all,
alternative=c,
aligntitle=yes,
before={\startnarrower[0*left,8*right]},
after={\stopnarrower},
margin=2em]
\blank[2*big]
1. The first line 1.1 section1 . . . . . . . . . . . . . . . . . . . . . .
.
.. . . . 1 is red! This is only the case
,
alternative=c,
aligntitle=yes,
before={\startnarrower[0*left,8*right]},
after={\stopnarrower},
margin=2em]
\blank[2*big]
1. The first line 1.1 section1 . . . . . . . . . . . . . . . . . . . . . . .
. . . . 1 is red! This is only the case with mkiv.
mkii; http
On Tue, Aug 5, 2008 at 1:16 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
- whatever the dimension (number and/or unit) I set for
\setupnarrower[left=1pt,right=1pt]
the left and right margin remain the same
Use \startnarrower[left,right].
Used it, still doesn't work.
- when setting
\startnarrower[left,right].
Used it, still doesn't work.
It works.
\setupnarrower[left=1em,right=1em]
\startinteractionmenu[myMenu]
\placecontent[
criterium=all,
alternative=b,
style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]},
interaction=all,
before={\blank[small
,
alternative=b,
%style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]},
style={\switchtobodyfont[small]\setuplinewidth[150pt]\setupinterlinespace[line=2.4ex]},
interaction=all,
before={\blank[small]\startnarrower[left,right]},
after={\stopnarrower\blank[medium
[line=2.4ex]},
style={\switchtobodyfont[small]\setuplinewidth[150pt]\setupinterlinespace[line=2.4ex]},
interaction=all,
before={\blank[small]\startnarrower[left,right]},
after={\stopnarrower\blank[medium]}]
\stopinteractionmenu
but that generates a compile error. Grrr...
You could
]\startnarrower[left,right]},
after={\stopnarrower\blank[medium]}]
\stopinteractionmenu
but that generates a compile error. Grrr...
Was the empty line also in your source, if your answer is yes remove it.
Wolfgang
]
\startinteractionmenu[myMenu]
\placecontent[
criterium=all,
alternative=b,
style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]},
interaction=all,
before={\blank[small]\startnarrower},
after={\stopnarrower\blank[medium]},
]
\stopinteractionmenu
\startnarrower[left,right].
- when setting for example
\setuplist[chapter][align=middle,distance=1em]
( or whatever else for distance ) it has no effect
upon the distance between the chapter number
and the chapter title
\setuplist[chapter][align=middle,distance=0pt,width=1em]
Wolfgang
title gets whacked
out of rightedge
%maxwidth=.9\rightedgewidth, % no effect
interaction=all,
before=\startnarrower, % sets a default left and
right margin, i.e. independent
after=\stopnarrower]% of left/right setting
(3b) margin=xpt sets the left margin to xpt
How to set the right margin to xpt ?
depends, sometimes setting the width works ok, otherwise wrap the whole
in narrower
I'm out of inspiration...
\setupnarrower[left=.6pt,right=.6pt]
\startinteractionmenu[right]
% \startnarrower
,right=.6pt]
\startinteractionmenu[right]
% \startnarrower % sets a wide right margin, whatever \setnarrower
left/right settings
\placecontent[
%criterium=all,
criterium=chapter,
alternative=b,
style=\tfx,
%offset=5pt
,
before=\startnarrower, % sets a default left and
right margin, i.e. independent
after=\stopnarrower]% of left/right setting
%before=,
%after=]
\stopinteractionmenu
\setupinteractionmenu[myMenu][state=start]
\setupinteractionmenu
?
Some defs
\define[1]\Note{\blank{\tt [Lavori in corso: #1]}\blank}
\define[1]\Code{{\tt #1}}
\define[1]\Line{\startnarrower\tfx\startlines\blank{\tt #1}\blank
\stoplines\tfa\stopnarrower}
\define[1]\Url{\startnarrower #1 \stopnarrower}
%%
\define[1]\Ex{\tfx \input code/#1 \tfa
\startmakeup[name][settings] \stopmakeup
\startmarginblock \stopmarginblock
\startmarginrule[number] \stopmarginrule
# \startmode \stopmode
# \startMPpage \stopMPpage
\startnamemakeup \stopnamemakeup
\startnarrower[left|middle|right] \stopnarrower
# \startnointerference \stopnointerference
# \startnotmode
.
If these two are already there (not in the manual) then please let us
know
how to set this up. Otherwise could you add configuration options for
this?
FYI: Here is what I use
===
\definestartstop
[quote]
[before={\startnarrower[2*left,2*right]\blank[big]\noindenting
this up. Otherwise could you add configuration options for
this?
FYI: Here is what I use
===
\definestartstop
[quote]
[before={\startnarrower[2*left,2*right]\blank[big]\noindenting},
after={\stopnarrower\blank[big]}]
===
Best wishes
Idris
Hi Idris
for this?
FYI: Here is what I use
===
\definestartstop
[quote]
[before={\startnarrower[2*left,2*right]\blank[big]\noindenting},
after={\stopnarrower\blank[big]}]
===
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
what i want to set up with \setupquotation
a lot of publisher make even typeset these in smaller fonts.
how can i make this happen? this is really important for typesetting
books, it is not?
Just roll your own! Here is what i use:
\definestartstop
[quote]
[before={\startnarrower[1*middle
Hello,
I try to prevent indention after a custom enviroment used for
quotations which uses \startnarrower ... \stopnarrower:
\setupindenting [0.5cm]
\indenting[yes,next]
\definestartstop[Zitat]
[before={\startnarrower[2*left]},
after=\stopnarrower\noindent]
\starttext
\input knuth
Am 31.07.2007 um 10:18 schrieb Karsten Heymann:
Hello,
I try to prevent indention after a custom enviroment used for
quotations which uses \startnarrower ... \stopnarrower:
Here you are:
\setupindenting [0.5cm]
\indenting[yes,next]
\definestartstop[Zitat]
[before={\startnarrower[2
Hi Steffen,
2007/7/31, Steffen Wolfrum [EMAIL PROTECTED]:
Am 31.07.2007 um 10:18 schrieb Karsten Heymann:
I try to prevent indention after a custom enviroment used for
quotations which uses \startnarrower ... \stopnarrower:
Here you are:
after={\stopnarrower\setupindenting[none
[verse]
[before=\vbox\bgroup\startlines,
after=\stoplines\egroup]
\definestartstop
[chorus]
[before=\startnarrower\startlines,
after=\stoplines\stopnarrower]
\setuplines[before=\nowhitespace,after=\nowhitespace]
Wolfgang
\starttext
\startverse
We all came out to Montreux
=\stoplines\egroup]
\definestartstop
[chorus]
[before=\startnarrower\startlines,
after=\stoplines\stopnarrower]
\starttext
\startverse
We all came out to Montreux,
On the Lake Geneva shoreline.
To make records with a mobile,
We didn't have much time.
But Frank Zappa and the Mothers,
Were
PROTECTED]
\definestartstop
[chorus]
[before=\startnarrower\startlines,
after=\stoplines\stopnarrower]
or interlinepenlty 1 within a verse
-
Hans Hagen | PRAGMA ADE
[chorus]
[before=\startnarrower\startlines,
after=\stoplines\stopnarrower]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
\startfootnotequotation
{\dosingleempty\dostartfootnotequotation}
\long\def\dostartfootnotequotation[#1]#2#3\stopfootnotequotation
{\bgroup \par
\startnarrower
\symbol[leftquotation]%
#3\removeunwantedspaces
\symbol[rightquotation
\startquotation ... \stopquotation doesn't actually support tacking on
stuff at the end. Try this instead:
\long\def\startcitedquotation[#1]#2\stopcitedquotation
{\bgroup \par
\startnarrower
\symbol[leftquotation]%
#2\removeunwantedspaces
\symbol
:
\long\def\startcitedquotation[#1]#2\stopcitedquotation
{\bgroup \par
\startnarrower
\symbol[leftquotation]%
#2\removeunwantedspaces
\symbol[rightquotation]%
\cite[#1]
\stopnarrower
\par \egroup}
Greetings, Taco
definitions for setting extracts in the body text.
\defineblank[extractdistance][3pt]
\definestartstop[extract][
before={[extractdistance]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]
\noindent},
after={\stopnarrower
\blank
be able to use \setuphead[section,subsection][command=...]
This would look then like this:
\setuppagenumbering[alternative=doublesided]
\setuplayout
[backspace=2cm,
leftmargin=5cm,
rightmargin=7cm]
\setupnarrower[left=3cm]
\setuphead[section,subsection][after={\startnarrower[left
Schmidt wrote:
Hi,
Another simple question--have at it!
I'd like to typeset some poetry. It should be
indented,
\startnarrower \stopnarrower
obey lines,
\startlines ... \stoplines (it is more customizable than \obeylines)
You can actually say
\setupindenting[medium
,
\startnarrower \stopnarrower
obey lines,
\startlines ... \stoplines (it is more customizable than \obeylines)
You can actually say
\setupindenting[medium] \startlines[indenting=yes] (other options are
no, yes, odd, even) and see which one you like.
and the lines should be close together, not like
be
indented,
\startnarrower \stopnarrower
obey lines,
\startlines ... \stoplines (it is more customizable than \obeylines)
You can actually say
\setupindenting[medium] \startlines[indenting=yes] (other options are
no, yes, odd, even) and see which one you like
\stopbuffer
\getbuffer
\startnarrower \getbuffer \stopnarrower
\placefigure[left]{}{} \getbuffer
\stoptext
=
log file:
=
(chart-test-mpgraph.mp
(c:\ConTeXt\tex\texmf-local/metapost/context/base/mp-step
.mp)
(0.5,0.5,0.5)
2.5
things, normally
the \start/\stop things ; some commands provide left and right for horizontal
things which is probably what you're looking for
top bottom usage: the following sets a narrower text (the origin of this
thread)
\bTABLE[top=\startnarrower,bottom=\stopnarrower]
\bTR \bTD something
On Fri, 23 Jun 2006, Hans Hagen wrote:
\bTABLE[left={(},right={)},top=\startnarrower,bottom=\stopnarrower]
\bTR \bTD something \eTD \eTR
\eTABLE
Thank you very much!
If this goes into the distribution, the item
http://context.literatesolutions.com/collector/52 can be considered
resolved
= misc]
instead of
\startpublication[k=ArcticCorsairTrawling,
t=misc]
2) When trying to define an abstract command:
\definestartstop
[abstract]
[before={\midaligned{\bf Abstract} \startnarrower[2*middle]},
after={\stopnarrower \blank[big]}]
In this case
:
\startpublication[k = ArcticCorsairTrawling,
t = misc]
instead of
\startpublication[k=ArcticCorsairTrawling,
t=misc]
2) When trying to define an abstract command:
\definestartstop
[abstract]
[before={\midaligned{\bf Abstract} \startnarrower[2*middle]},
after
frantisek holop wrote:
but the default narrowness is not good for me.
but setupnarrower doesn't seem to work for me.
here's a minimal example:
The use of narrower is a bit abnormal. Either use:
\setupnarrower[left=3cm, right=3cm]
\startnarrower[left,right]
or
\setupnarrower
hmm, on Tue, May 16, 2006 at 10:45:32AM +0200, Taco Hoekwater said that
The use of narrower is a bit abnormal. Either use:
\setupnarrower[left=3cm, right=3cm]
\startnarrower[left,right]
or
\setupnarrower[middle=3cm]
\startnarrower % [middle] is default
thanks a lot
frantisek holop wrote:
thanks a lot.
is there a reason this was solved abnormally?
\startnarrower (\startsmaller in dutch) is one of the oldest
commands in ConTeXt. It predates the now-normal conventions
by a few years.
are there plans to make this more context-ish?
Don't expect any
.
when i use \nowhitespace between midaligned and startlines,
the whitespace is smaller, but still there, depending on
where the actual text is on the page.
how can i get rid of the whitespace entirely?
\starttext
\startnarrower[3cm]
\midaligned{test}
\startlines
There snores -- I mean sleeps
.
\setuplines[before={\startnarrower[3cm]},after=\stopnarrower]
\midaligned{test}
\startlines
There snores -- I mean sleeps -- my wife so frail.
There snores -- I mean sleeps -- my wife so frail.
\stoplines
--
Aditya
___
ntg-context mailing list
ntg
hmm, on Tue, May 16, 2006 at 06:27:12PM -0400, Aditya Mahajan said that
Use the before and after mechanism.
\setuplines[before={\startnarrower[3cm]},after=\stopnarrower]
\midaligned{test}
\startlines
There snores -- I mean sleeps -- my wife so frail.
There snores -- I mean sleeps -- my
[descr][
headstyle=bold,style=normal,align=left,location=hanging,
width=broad,margin=2em, before=\doMySetup]
\def\doMySetup{
\setupdescriptions[descr]
[before=\startnarrower,after=\stopnarrower]}
\setupwhitespace[medium]
\starttext
\startdescr{Para}
This is a shorter
of whitespace between paragraphs and also narrower. I'd like
to setup some form of quotation paragraph style to use. I started out with
\startquotation but I do not want quotes, so now I use startnarrower, but
what I need is a paragraph style. Maybe another font (1pt smaller) is nice
too. And noindenting
\defineparagraphs[BookQuote][n=1,before={\indenting[never]\whitespace\startnarrower},after={\indenting[yes]\nowhitespace\stopnarrower}]
in my environment file, but that gave me page breaks as soon as
\startBookQuote was given and the quotes themselves do not receive page
breaks, hence a quote
indentation, but here I want a
small amount of whitespace between paragraphs and also narrower. I'd like
to setup some form of quotation paragraph style to use. I started out with
\startquotation but I do not want quotes, so now I use startnarrower, but
what I need is a paragraph style. Maybe
paragraph style to use. I started out with
\startquotation but I do not want quotes, so now I use startnarrower, but
what I need is a paragraph style. Maybe another font (1pt smaller) is nice
too. And noindenting while the rest of the book uses indenting.
What I would like to do is something
additions to ConTeXt, and detailed solutions to some tricky problems.
%
Yours,
Karsten
\starttext
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
\startexdent
\input tufte \endgraf
\input tufte \endgraf
\stopexdent
Hans Hagen wrote:
Karsten Heymann wrote:
what's the context'ish way of creating a start-stop environment in
which each paragraph is indented from the 2nd line on?
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
Great
Hans Hagen wrote:
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
Can you make the following work too? Adding \indenting[yes] to before=
doesn't help.
\startexdent
\section{Test}
\input tufte \endgraf
\input tufte \endgraf
Karsten Heymann wrote:
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
Great, works like a charm! By the way: What's the benefit of
\definestartstop over \def\start..., \def\stop...?
looks nicer
Karsten Heymann wrote:
Hans Hagen wrote:
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
\setuphead[section][indentnext=first]
Can you make the following work too? Adding \indenting[yes] to before=
doesn't
Renaud AUBIN wrote:
Hi all,
Up to now, I used:
\startnarrower[left]
\startitemize[2,packed,joinedup]
\item 4 liaisons pivot (1 degré de liberté en rotation) soit 4 couples
cinématiques de classe V,
\item 1 liaison pivot glissant (2 degrés de liberté dont 1 en rotation
et 1 en
Hi all,
Up to now, I used:
\startnarrower[left]
\startitemize[2,packed,joinedup]
\item 4 liaisons pivot (1 degr de libert en rotation) soit 4 couples
cinmatiques de classe V,
\item 1 liaison pivot glissant (2 degrs de libert dont 1 en rotation
et 1 en translation) soit 1 couple cinmatique
background graphics that adapt
- a bit of tuning of margins
\starttext
\setupcolors[state=start]
\defineblank[myquotation][3*medium]
\definetextbackground
[myquotation]
[state=start,
location=paragraph,
%before={\blank[myquotation]\startnarrower},
%after={\stopnarrower\blank
)
%
% \defineheadplacement[poemtitle][horizontal]#1#2%
% {\margintitle{\hskip\measure{SavedLeftSkip}#1\enspace#2}}
\defineheadplacement[poemtitle][vertical]#1#2%
{\setupparagraphintro[first][{\llap{\hbox to
\leftskip{#1\enspace#2\hss}}}]}
\setuplines[before=,after=]
\def\StartPoem#1%
{\startnarrower[5*left
that simplecolumns will also be honoring
startnarrower..stopnarrower?
Is there another, simple solution?
\framed[width=\hsize]\bgroup
\startnarrower
\setlocalhsize \hsize\localhsize
\startsimplecolumns
\input tufte \par
\input tufte\par
\stopsimplecolumns
301 - 400 of 450 matches
Mail list logo