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]
\s
hi there,
i am trying to make a document in the form of a movie script
ACTOR
hi there
ACTRESS
and hi over there
i thought this would work nicely:
\startnarrower
\midaligned{\sc actor}
hi there
\stopnarrower
but the default
ation=hanging,
> width=broad,margin=1cm]
Try,
\definedescription[descr][
headstyle=bold,style=normal,align=left,location=hanging,
width=broad,margin=2em, before=\doMySetup]
\def\doMySetup{
\setupdescriptions[descr]
[before=\startnarrower,after=\stopnarrower]}
>
> \set
27;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 while the rest of the book us
ce between paragraphs and small 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,
> \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
bre
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 another font (1pt smaller) is nice
too.
Karsten Heymann wrote:
> Hans Hagen wrote:
>
>> \definestartstop
>> [exdent]
>> [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>>after=\stopnarrower]
>>
>
>
\setuphead[section][indentnext=first]
> Can you make the
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\
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 \end
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[-\leftsk
ith alternate explanations and examples
>for a number of key subjects, updates describing more recent
>additions to ConTeXt, and detailed solutions to some tricky problems.
> %
>
> Yours,
> Karsten
>
\starttext
\definestartstop
[exdent]
[before={\startnarrower[left]\se
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é
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 translation) soit 1 couple
- cross page backgrounds
- dedicated 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},
%af
efineheadplacement[poemtitle][vertical]#1#2%
{\setupparagraphintro[first][{\llap{\hbox to
\leftskip{#1\enspace#2\hss}}}]}
\setuplines[before=,after=]
\def\StartPoem#1%
{\startnarrower[5*left]
% \expanded{\definemeasure[SavedLeftSkip][\the\leftskip]}
\Poem{#1}
\starttextback
narrowing, simplecolumns does not.
>>
>> Now I am caught between two impossibilities.
>> Is it an option that simplecolumns will also be honoring
>> startnarrower..stopnarrower?
>> Is there another, simple solution?
>>
> \framed[width=\hsize]\bgroup
> \sta
simplecolumns does not.
>
> Now I am caught between two impossibilities.
> Is it an option that simplecolumns will also be honoring
> startnarrower..stopnarrower?
> Is there another, simple solution?
>
\framed[width=\hsize]\bgroup
\startnarrower
\setlocalhsize \hsize
impossibilities.
Is it an option that simplecolumns will also be honoring
startnarrower..stopnarrower?
Is there another, simple solution?
yours sincerely,
dr. H. van der Meer
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman
n odd (right side) page but when there is a quote that comes with the�
>> chapter I want to have that appear on the opposing side.
>>
>> G
\def\MyChapter[#1]%
{\doifsomething{#1}
{\page[left]
\setupheader[state=empty]
\startnarrower[3*left,4*right]
\get
30
\stoptyping
\stopframedtext}
\placefigure
{Sterk gestructureerde tekst}
{\startframedtext[frame=on,width=fit,offset=0pt]
\startnarrower[right]
\starttyping
* MYSTERY PROGRAM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0010
* D.E.KNUTH? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Adrian Drury wrote:
Hello,
Using \lettrine (version 2005.08.29) inside \startnarrower\stopnarrower
gives results I didn't expect - see the example below. Part of the text
seems to be shifted right by an additional left-indent amount. Is this
correct and/or expected behavior? If it i
Hello,Using \lettrine (version 2005.08.29) inside \startnarrower\stopnarrower gives results I didn't expect - see the example below. Part of the text seems to be shifted right by an additional left-indent amount. Is this correct and/or expected behavior? If it is, is there a workaround to shi
Hi all,
\startnarrower[left]
\startitemize[1]
\item
\stopitemize
\stopnarrower
Is there another solution in order to ident itemize ?
Since many french documents need indentation of every paragraph and itemize,
maybe it will be a good idea to manage this behavior as a
Ville Voipio wrote:
> One phenomenon I have repeatedly come accross but not quite
> understood... If I have \startalignment, \startnarrower, etc., then
> there has to be text immediately after the start command.
The best thing you can add is \dontleavehmode. The problem is
that TeX
One phenomenon I have repeatedly come accross but not quite
understood... If I have \startalignment, \startnarrower, etc., then
there has to be text immediately after the start command.
As small example:
\startalignment[center]
\bTABLE
\bTR \bTD something \eTD \eTR
\eTABLE
\stopalignment
This
Why is this called an English line?
\startnarrower
\EnglishRule
Is it because they cannot draw a straight one? This could be ture
after a few strong beers, but then, ow do Germans draw a line?
\EnglishRule
\stopnarrower
\defineblank
[EnglishRule]
[big]
Why is this called an Engli
number=yes]
\def\startexample%
{\blank
\start
\setupbackground
[frame=off,
leftframe=on,
offset=0pt,
width=broad,
background=,
rulethickness=2pt,
framecolor=examplecolor]
\startbackground
\startnarrower[left]
\startExample }
\def\s
start
\setupbackground
[frame=off,
leftframe=on,
offset=0pt,
width=broad,
background=,
rulethickness=2pt,
framecolor=examplecolor]
\startbackground
\startnarrower[left]
\startExample }
\def\stopexample%
{\stopExample
\stopnar
//
In body text
\defineblank[extractdistance][3pt]
\definestartstop[extract][
before={ \blank[extractdistance,force]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]
\noindent},
after={\stopnarrower
\blank[extractdistance,force]
\indenting
same problem. A.
% Extracts or Long Quotations
//
In body text
\defineblank[extractdistance][3pt]
\definestartstop[extract][
before={ \blank[extractdistance,force]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower
tups[chapter:after]}]
>
> \startsetups chapter:before
>
> \page[left]
>
> \noheaderandfooterlines
>
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \noindent \em \getbuffer [chapter:quote]
> \stopnarrower
> \stopalig
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\noindent \em \getbuffer [chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
\noheaderandfooterlines
\
ter:before
>
> \page[left]
>
> \noheaderandfooterlines
>
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \noindent \em \setups[chapter:quote]
> \stopnarrower
> \stopalignment
>
> \resetsetups[quote:text]
>
[...]
>
> \startsetups chapter:before
>
> \page[left]
>
> \noheaderandfooterlines
>
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \noindent \em \setups[chapter:quote]
> \stopnarrower
> \stopalig
,nothyphenated]
\startnarrower[4*left]
\noindent \em \setups[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
\noheaderandfooterlines
\blank[force,2*big]
\stopsetups
\startsetups [chapter:after]
\blank[3*big
.
% Extracts or Long
Quotations//
In body text
\defineblank[extractdistance][3pt]
\definestartstop[extract][
before={ \blank[extractdistance,force]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right
=yes]
\setupfootnotes[interaction=yes]
\setupnotedefinition[footnote][indenting={big,yes}]
% Extract setup
\definestartstop[extract][
before={\godown[0.10pc]
\indenting[next]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]},
after={\stopnarrower
gt; before={\godown[0.10pc]
\blank[0.25pc,force] % 0.10pc is not enough
> \indenting[next]
% delete this and insert a \noindent at the end
> \setupnarrower[left=1.5pc,right=1.5pc]
> \startnarrower[left,right]
\noindent},
\definestartstop[extract][
before={\godown[0.10pc]
\indenting[next]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]},
after={\stopnarrower
\godown[0.25pc]
\indenting[yes]}]
\starttext
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi
] % does not indent
%\setupindenting[medium,next] % need both to indent
\definestartstop
[quote]
[before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\input knuth
\startquote
\input knuth
\stopquote
\input knuth
\stoptext
I thought I should let you know.
Hi Charles,
Current ConTeXt chokes on the use of \ within \startlines ...
\stoplines (that is a known bug). You need a workaround. This works
for the current example:
\starttext
Example 1
And here is the sentence before
\startnarrower[2*left,2*right
On 19 Jul 2005, at 13:23, Taco Hoekwater wrote:
Current ConTeXt chokes on the use of \ within \startlines ...
\stoplines (that is a known bug). You need a workaround. This works
for the current example:
\starttext
Example 1
And here is the sentence before
\startnarrower[2*left,2
you know.
Hi Charles,
Current ConTeXt chokes on the use of \ within \startlines ...
\stoplines (that is a known bug). You need a workaround. This works
for the current example:
\starttext
Example 1
And here is the sentence before
\startnarrower[2*left,2*right]
% Bugfix: redefinition
Doherty\starttextExample 1And here is the sentence before\startnarrower[2*left,2*right]\startlinesA Somonour was ther with us in that place, That hadde a fyr-reed cherubynnes face, For saucefleem he was, with eyen narwe. As hoot he was and lecherous as a sparwe, With scalled browes blake and piled
Hi Gary,
I do not know what this LATeX package is able to do. However in Context
you can use
\startalignment[middle] %[left] or [right]
...
\stopalignment
You may play with
\startnarrower[left] %[3*left] [right] or whatever you want the
indentation to be.
...
\stopnarrower
You can use
ghtskip) 0.0
===
===
\setupoutput[pdftex]%
\definestartstop
[quote]
[before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\startquote
\input knuth \inmargin{This is a test.}
\stopquot
Hi Taco and all,
I found a temporary solution: Given a \start-\stopnarrower environment like
===
\definestartstop
[quote]
[before={\startnarrower[1*middle]\blank[big]},
after={\stopnarrower\blank[big
\def\inmargin#1{{\parindent0pt\normalinmargin{#1}}}
\definestartstop
[quote]
[before={\startnarrower[1*left,1*right]\blank[big]},
after={\stopnarrower\blank[big]}]
\starttext
\startquote
\input knuth \inmargin{This is a test.}
\input knuth {\parindent0pt\inmargin{This is a test.}}
\stop
eems a bit of a hack. Is there a better way?
Paul
%Footnotes with indenting
\starttext
% define amount to indent
\setupnarrower[left=12pt]
At present I am a sojourner in civilized life
again. \footnote{\startnarrower[left]
% need a negatvie vskip so ConTeXt won't read this as a paragrpah.
Gerben Wierda wrote:
I forgot one part at the end. Here it is again.
I've got this in my environment file:
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{\starttext%
^^ no
\startalignment[left]%
\startnarro
Gerben Wierda wrote:
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{\starttext%
\startalignment[left]%
\startnarrower[4*left] \noindent{\nohyphens\em #1}%
\stopnarrower\stopalignment\stoptext\blank}
\setuphead[chapter]
[page
nment[left]%
\startnarrower[4*left] \noindent{\nohyphens\em #1}%
\stopnarrower\stopalignment\stoptext\blank}
\setuphead[chapter]
[page=left,
before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines%
\page[right]\blank[2*big]},
after={\ClearChapterQuote\b
On 19 Mar 2005, at 23:22, Henning Hraban Ramm wrote:
Am 19.03.2005 um 20:42 schrieb Gerben Wierda:
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{\starttext%
\startalignment[left]%
\startnarrower[4*left] \noindent{\hyphenpenalty 1\em #1
Am 19.03.2005 um 20:42 schrieb Gerben Wierda:
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{\starttext%
\startalignment[left]%
\startnarrower[4*left] \noindent{\hyphenpenalty 1\em #1}%
\stopnarrower\stopalignment\stoptext\blank
I forgot one part at the end. Here it is again.
I've got this in my environment file:
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{\starttext%
\startalignment[left]%
\startnarrower[4*left] \noindent{\hyphenpenalty 1\
I've got this in my environment file:
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{\starttext%
\startalignment[left]%
\startnarrower[4*left] \noindent{\hyphenpenalty 1\em #1}%
\stopnarrower\stopalignment\stoptext\blank}
\setu
nnumerals,
start=1,
step=1,
location=text,
style=slanted,
color=blue,
width=1.5em]
\stopbuffer
{\typebuffer[setup] \startnarrower\getbuffer[setup,test]\stopnarrower} \page
\startbuffer[setup]
\setuplinenumbering
[width=4em,
left=--,
right=--,
align=middle]
\stopbuffer
{\
parranging[2SIDE]
\setuppagenumbering[alternative=doublesided]
%
\usemodule[lettri]
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\newcommand{\ChQuoteFormat}[1]{\starttext%
%\raggedright%
\startalignment[left]%
\startnarrower[4*left] \noind
\newcommand{\ChQuoteFormat}[1]{\starttext%
%\raggedright%
\startalignment[left]%
\startnarrower[4*left] \noindent{\em #1}%
\stopnarrower\stopalignment\stoptext\blank}
\setuphead[chapter]
[page=left,
before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines
On 10 Mar 2005, at 18:34, Janko Hauser wrote:
Gerben Wierda schrieb:
I would like to have a right-aligned quote before the chapter header.
I
use the following snippet in my environment file:
==
\newcommand{\chquote}[1]{\startalignment%
\startnarrower[4
Gerben Wierda schrieb:
> I would like to have a right-aligned quote before the chapter header. I
> use the following snippet in my environment file:
>
> ==
> \newcommand{\chquote}[1]{\startalignment%
> \startnarrower[4*left] {#1} \stopnarr
I would like to have a right-aligned quote before the chapter header. I
use the following snippet in my environment file:
==
\newcommand{\chquote}[1]{\startalignment%
\startnarrower[4*left] {#1} \stopnarrower\stopalignment
Willi Egger <[EMAIL PROTECTED]> said on 2005-02-16, 20:14 (+0100 GMT):
> may be not a very nice solution but ...
>
> \startitemize[none,packed]
> \item LONG-UGLY-STRING-LIKE-THIS
>
> \startnarrower[left]
> A few sentences, indented somewhat from the left mar
Hi,
may be not a very nice solution but ...
\startitemize[none,packed]
\item LONG-UGLY-STRING-LIKE-THIS
\startnarrower[left]
A few sentences, indented somewhat from the left margin, that
relate to the long ugly string above. The indentation allows the
reader to scan the ugly
R[\foxarguments]}}
{\eTR}
\defineXMLnested [fx:td][fox] [] {\expanded{\bTD[\foxarguments]}}
{\eTD}
\stopsetups
\defineXMLnested
[fx:table] [fox] []
{\bgroup
\directsetup{fox:table}
\expanded{\bTABLE[\foxarguments]}}
{\eTABLE
\egroup}
% misc
\defineXMLenvironment
[fx:narrowe
Wha
Thanks a lot to you all.
Hans,
I have tried:
\startnarrower[4*right] \placecontent \stopnarrower \blank[4*big]
This is exactly what i meant.
Unfortunately, there is a problem, which is in my opinion not related to
TOC, but to Tex (or Context, you'll be able to tell).
i get a r
ight,placehead=yes,before={\null\vfill},after={\vfill}]
\setuphead [chapter][before=,after=\blank]
\setuplist
[chapter][alternative=d,left=(,right=),pagestyle=slanted,before=\blank,after=\blank]
\setuplist [part] [before={\blank[big]},after=\blank]
\starttext
\startnarrower[2*right] \placecontent \s
rower
\startnarrower[left]
\startitemize[columns,three]
\item Bauherr
\item Architekt
\item Bauleiter
\stopitemize
\stopnarrower
The problem with this variant is that the coluns do not respect the
right margin, i.e. the items reach beyond the paper.
Has anyone a solution for this problem?
see end of mail
additional empty line and b) the [columns,three] parameter is not
considered.
2. Variant - using a narrower
\startnarrower[left]
\startitemize[columns,three]
\item Bauherr
\item Architekt
\item Bauleiter
\stopitemize
\stopnarrower
The problem with this variant is that the coluns do not respect
dure][frame=off, leftframe=on,
rulethickness=.4mm]
\def\StartProcedure{\startnarrower[2*left]
\startprocedure \startitemize[n]}
\def\StopProcedure{\stopitemize \stopprocedure
\stopnarrower}
\def\Step{\item}
\starttext
\dorecurse{20}{Some Text. Some Text. Some Text. }
\StartProcedure
\dorecurse{10}{
dure][frame=off, leftframe=on,
rulethickness=.4mm]
\def\StartProcedure{\startnarrower[2*left]
\startprocedure \startitemize[n]}
\def\StopProcedure{\stopitemize \stopprocedure
\stopnarrower}
\def\Step{\item}
\starttext
\dorecurse{20}{Some Text. Some Text. Some Text. }
\StartProcedure
\dorecurse{10}{
,
continue=no,
style={\ss\bs},
color=black]
\def\mysec#1#2{\framed[width=\textwidth,
corner=round,
radius=0.05em,
background=color,
backgroundcolor=HKS5,
framecolor=HKS5]{\startnarrower[1*left,1*right] #2 \hfill #1
\stopnarrower}}
They are spanning the complete textwidth. What
[command=\mysec,
page=no,
continue=no,
style={\ss\bs},
color=black]
\def\mysec#1#2{\framed[width=\textwidth,
corner=round,
radius=0.05em,
background=color,
backgroundcolor=HKS5,
framecolor=HKS5]{\startnarrower[1*left,1*right] #2 \hfill #1
\stopnarrower}}
They are sp
force]%
\startnarrower[left,right]%
\leavevmode{\rm\tf\em\the\mottotoks}\par
\stopnarrower
\vskip0pt plus 1filll
\hbox to \textwidth{\hss\vbox{\hsize=0.8\textwidth
\startframedtext
[width=0.8\textwidth,align={left,broad}, offset=1.5ex,
background=color, backgroundcolor=
rocessed
% by \TeX.
%
% \blank
%
% Copyright: NTG, 2001.
%
% \stoptext
\setupcolors[state=start]
\definecolor [DutchColor] [darkred]
\definecolor [EnglishColor] [black] % [s=.4]
\def\startDutch
{\blank
\startnarrower[5*right]
\setupinteraction[color=]
\language[nl]
\DutchColor}
|
> > | More text|
> > | Even more text |
Guy wrote:
> I can't take credit for the following clever snippet of code:
>
> \startalignment[left]
>\noindent\framed
> [width=fit,align=right,frame=off]
>
On Wed, 4 Jun 2003 08:10:07 -0700 (PDT)
Andrew Lawson <[EMAIL PROTECTED]> wrote:
> I want to right-align a block of text, e.g. have
> the text left-aligned but the block right aligned. An
> ascii example would be;
Would indenting the left margin do this? If so, look at \st
401 - 478 of 478 matches
Mail list logo