[poem][n=2,width=5cm]
\setupparagraphs[poem][each][width=5cm,distance=0pt]
\startpoem
\startlines
One one ons ksl
One wer s dft tgf
\stoplines
\nextpoem
\startlines
two gfjgfd oski kwo
two gfkdsjg dfs we
\stoplines
\stoppoem
\stoptext
end example
Wolfgang
, 2016 — La reproduction de ce
texte est soumise à autorisation.]
\defineparagraphs[TwoColumns][n=2, align={hz, hanging}]
\setupparagraphs[TwoColumns][1][width=210pt, style=rm, align=left]
\starttext
\title{\ConTeXt, ou comment imprimer des langues non-romanes}
\section {\sc Préambule}
L
\defineparagraphs[Half] [n=2]
\setupparagraphs [Half]
[before=,after=,distance=3em,align={normal,hanging},tolerance={stretch,verytolerant}]
\setupparagraphs [Half]
[1]
[width=0.43\textwidth,tolerance={stretch,verytolerant}]
\setupparagraphs [Half
and what would be the best approach?
Would this setupparagraphs, definecolumnset, synchronizestreams, or
possibly incomplete/experimental functionality?
Thank you!
___
If your question is of interest to others as wel
On 7/10/2023 5:51 PM, Rik Kabel wrote:
The following code now fails. It works as expected under 2023.05.05 as
found in the texlive.net runner.
\defineparagraphs[TwoCols][n=2]
\setupparagraphs[TwoCols][2][\width=.5\textwidth]
\starttext
\input knuth \par
\startTwoCols
The following code now fails. It works as expected under 2023.05.05 as
found in the texlive.net runner.
\defineparagraphs[TwoCols][n=2]
\setupparagraphs[TwoCols][2][\width=.5\textwidth]
\starttext
\input knuth \par
\startTwoCols
\input knuth \par
\nextTwoCols
\input
,distance=\0.06\textwidth]
\setupparagraphs[bilingual][1][width=0.47\textwidth]
\setupparagraphs[bilingual][2][width=0.47\textwidth]
\starttext
\input tufte
\startbilingual
\input tufte
\nextbilingual
\input knuth
\stopbilingual
\stoptext
==
it should work.
Massi
Il 24/02/23 06:41, jbf via ntg-context ha scritto:
I have the following setup for side-by-side paras.
\defineparagraphs[Two][n=2]
\setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant]
\setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant
]
\setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant]
\setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant]
My difficulty is that while there is only ever just a couple of numbers
in the left-hand 'column', the right-hand 'column' may h
Betreff: [NTG-context] \setupparagraphs - can they run over two pages?
I have the following setup for side-by-side paras.
\defineparagraphs[Two][n=2]
\setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant]
\setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant]
My
I have the following setup for side-by-side paras.
\defineparagraphs[Two][n=2]
\setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant]
\setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant]
My difficulty is that while there is only ever just a couple of
On 28 Jan 2023, at 02:14, jbf via ntg-context wrote:
>
> Here's a tricky one (for me) that I haven't been able to work out. I am
> dealing with a set of constitutions that I am organizing with a paragraph
> definition
> \defineparagraphs[Two][n=2]
> \setupparagraph
Here's a tricky one (for me) that I haven't been able to work out. I am
dealing with a set of constitutions that I am organizing with a
paragraph definition
\defineparagraphs[Two][n=2]
\setupparagraphs[Two][1][width=.2\textwidth,style=\bfx,after={\blank},align=flushleft]
\setuppara
ith
one
longer
stanza
\stoplines
\stopbuffer
\startbuffer[lines2]
\startlines[inbetween={\blank}]
this
is
a
poem
with
some
stanzas
here is
another one
and another one
\stoplines
\stopbuffer
\starttext
Just the buffers.
One:
\getbuffer[lines1]
Two:
\getbuffer[lines2]
Via paragraphs
; \startlines
> Starlight, star bright,
> first star I see tonight;
> \stoplines
> \column
> \startlines
> I wish I may, I wish I might
> have the wish I wish tonight.
> \stoplines
> \stopcolumnset
>
>
> \defineparagraphs[Zwei][n=2]
> \setupparagraphs[Zwei][1
about columnsets or paragraphs?
\definecolumnset[Zwei][n=2]
\startcolumnset[Zwei]
\startlines
Starlight, star bright,
first star I see tonight;
\stoplines
\column
\startlines
I wish I may, I wish I might
have the wish I wish tonight.
\stoplines
\stopcolumnset
\defineparagraphs[Zwei][n=2]
\setupparagraphs[Z
tonight.
\stoplines
\stopcolumnset
\defineparagraphs[Zwei][n=2]
\setupparagraphs[Zwei][1][
width=.45\textwidth, distance=2em,
align={verytolerant,stretch}]
% width of 2nd column is calculated automatically
\startZwei
...
\nextZwei
...
\stopZwei
Hraban
://wiki.contextgarden.net/Command/setupparagraphs
Best regards,
Marcin Ciura
\mainlanguage[pl]
\defineparagraphs[proposition][n=2,align=nothyphenated]
\setupparagraphs[proposition][1][width=0.56\textwidth]
\setupparagraphs[proposition][2][width=0.41\textwidth]
\starttext
\startproposition
Jeśli w trójkącie $ABC
not clear enough for me to address b). I think I understand
what problem you have described in a).
If you want to explicitly typeset paragraphs into a columnar format, use
'paragraphs':
\defineparagraphs[mypar][n=5]
\setupparagraphs[mypar][1][width=…]
\setupparagraphs[mypar][2][width
el}\to\TOCNumberLabelWidth
\setwidthof\TOCLabel{TOCPageLabel}\to\TOCPageLabelWidth
and define a 'paragraphs' block with 3 columns with a separation of 1em between
each column
\defineparagraphs
[TOCpar]
[n=3]
\setupparagraphs
[TOCpar]
[each]
[distance=1em]
accomplish this using
the following…
\defineparagraphs[BilingualTitle][n=3,before={\blank[2*line]},after=,]
\setupparagraphs[BilingualTitle][1][width=.4\textwidth]
\setupparagraphs[BilingualTitle][2][width=.12\textwidth]
\setupparagraphs[BilingualTitle][3][width=.4\textwidth]
\define[2]\BilingualChapter
{
Fixed in today’s standalone. Many thanks—and best wishes for 2021!!
Alan
On Wed, Dec 30, 2020 at 10:51 AM Alan Bowen wrote:
> In the last few versions of luametatex standalone, paragraphs that were
> once justified now appear ragged right. My insertions of
> \setupparagraphs[align=wi
In the last few versions of luametatex standalone, paragraphs that were
once justified now appear ragged right. My insertions of
\setupparagraphs[align=wide/normal/yes] and \setupalign[wide/normal/yes]
have had no effect. Is there some new coding that is needed to get
justified text?
Alan
document, right?
By the way, and just out of curiosity, how does the recommended
provisional command work? Would it be something like this in the
preamble?:
\definingparagraphs
firstparagraph][n=1]
\setupparagraphs [firstparagraph][1][align={hanging}]
And then this arrangement in t
and work? Would it be something like this in the preamble?:
\definingparagraphs
firstparagraph][n=1]
\setupparagraphs [firstparagraph][1][align={hanging}]
And then this arrangement in the \input files?:
\startfirstparagraph
\lettrine{B}{lah} blah, blah, blah...
\stopfirstparagraph
in the preamble?:
\definingparagraphs
firstparagraph][n=1]
\setupparagraphs [firstparagraph][1][align={hanging}]
And then this arrangement in the \input files?:
\startfirstparagraph
\lettrine{B}{lah} blah, blah, blah...
\stopfirstparagraph
\blank [overlay] \strut
I know it's a dirty
al]
[step=2,location=text,align=flushright,distance=0.4cm,style=small,color=magenta]
\defineparagraphs [Half] [n=2]
\setupparagraphs [Half] [before=,after=,align=verytolerant]
\setupparagraphs [Half]
[1]
[width=0.45\textwidth]
\starttext
\startlinenumbering
[rulethickness=...]
\setupparagraphs[rulethickness=...]
\setupsidebar[rulethickness=...]
\setuptables[rulethickness=...]
\setuptabulation[rulethickness=...]
\setuptextbackground[rulethickness=...]
\setuptextrules[rulethickness=...]
\setupthinrules[rulethickness=...]
\setupxtable[rulethickness=...]
(And for
there are more ways to create adaptation.
I would also like to know whether certain combination don't work
together. For example, I cannot seem to get \doifmodeelse to work
inside a \defineparagraphs environment.
\defineparagraphs[BLpar][n=2, frame=on]
\setupparagraphs [BLpar][1][width=\dime
ly what I would like to achieve.
Here's what I've tried:
```
\defineparagraphs[TwoThirds][n=2]
\setupparagraphs[TwoThirds][1][width=0.33\textwidth]
\starttext
\startTwoThirds
\input tufte
\nextTwoThirds
\input tufte
\startcolumns[n=3]
\input tufte
\stopcolumns
\stopTwoThirds
what I've tried:
```
\defineparagraphs[TwoThirds][n=2]
\setupparagraphs[TwoThirds][1][width=0.33\textwidth]
\starttext
\startTwoThirds
\input tufte
\nextTwoThirds
\input tufte
\startcolumns[n=3]
\input tufte
\stopcolumns
\stopTwoThirds
\stoptext
```
Instead of doing what I described, it made the co
equal to the grid spacing.
> >
> > Is there a way to force the interline spacing inside the \framed
> > block? I'm sorry if this is a simple question, but I'm quite new to
> > context.
>
> The interlinespace is correct but the paragraphs environment is too high,
&g
s too high,
location=bottom puts the text on the baseline but it adds an extra blank
line at the begin of the environment.
A simple fix to get rid of the extra line is to set the width of the frame
border to 0pt which doesn’t matter when the rules are disabled.
\setuplayout[grid=yes]
\definep
between lines is not always equal to
the grid spacing.
Is there a way to force the interline spacing inside the \framed block? I'm
sorry if this is a simple question, but I'm quite new to context.
This is the new example:
\setuplayout[grid=yes]
\defin
/tex/context/interface/mkiv/i-context.pdf is
# really your friend here.
#
# > The proper solution for my problem is this:
# >
# > \setupparagraphs[align={hz, hanging}]
#
# I only wanted to test whether microtypography was working. I can detect
# a text with hanging punctuation, but I’m not a
our friend here.
> The proper solution for my problem is this:
>
> \setupparagraphs[align={hz, hanging}]
I only wanted to test whether microtypography was working. I can detect
a text with hanging punctuation, but I’m not able to detect whether the
text has the hz algorithm or not ;-).
>
Hi Pablo,
thank you very much, you are right.
The align={hz, hanging} is not documented on the wiki, so I did not think about
it.
The proper solution for my problem is this:
\setupparagraphs[align={hz, hanging}]
which sets all columns for all kinds of paragraphs defined by \defineparagraphs
that attributes inner=
> and command= works only for
> the first paragraph (column).
Hi Tomáš,
\setupparagraphs has an align key.
This command works with your sample:
\setupparagraphs[somepars][2][align={hz, hanging}]
I hope it helps,
Pa
,
Tomáš
--
Minimal example:
\definefontfeature[default][default][protrusion=quality,expansion=quality]
\starttext\mainlanguage[cz]
\defineparagraphs[pokus][n=2]
\setupparagraphs[pokus][1][width=10cc]
%\setupparagraphs[pokus][1][width=10cc,inner={\setupalign[hz,hanging]}] %
command
; \defineparagraphs [TestPar][n=2, distance=7mm]
> \setupparagraphs [TestPar][1][width=2em]
>
> \definetextbackground [CB][
> location=paragraph,
> backgroundcolor=gray,
> leftoffset=.3em,
> rightoffset=.3em,
> topoffset=.3em,
> bottomoffset=.3em,
> frame=off
> ]
>
Hi,
I noticed that with one of the recent betas the right offset of my
textbackgrounds doesn’t work properly anymore when the textbackground contains
a multi-column “paragraph”.
A minimal:
\defineparagraphs [TestPar][n=2, distance=7mm]
\setupparagraphs [TestPar][1][width=2em
tic" and run it without that mode and
it completes, although without the columns.
% macros=mkvi
\defineparagraphs [Col] [n=3]
\setupparagraphs [Col] [1] [width=.31\textwidth]
\setupparagraphs [Col] [2] [width=.31\textwidth]
\setupparagraphs [Col] [3]
> leftmargin=1em,
> rightmargin=1em,
> ]
>
> % Tables
> \setuptables[rulethickness=0.06em]
>
> \setupinteraction[state=start, % make hyperlinks active, etc.
> style=\tf,
> color=colortwo,
> title={What Do You Mean, “Null”?},
> author={Nicola Vitacolonna},
>
\defineparagraphs[twocol][n=2]
\setupparagraphs[twocol][1][width=.7\textwidth]
\starttext
\switchtobodyfont[17.3pt]
\startslide[title={Which Nulls?}][align=top]
All of the above may be abstracted into three categories:
\startitemize[packed]
\item
Exists, but unknown ({\bf missing
ere you set 2 columns and thei alignment. You can play with points (pt).
Here the Column 1 is in 250pt, regular et and left aligned.
\defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
\setupparagraphs[TwoColumns][1][width=250pt, style=regular, align=right]
\starttext
\dorecurse{10}{I. Qua v
On Tue, Nov 15 2016, Jean-Pierre Delange wrote:
> The best way is to use the TwoColumns command
When the text spans several pages, there is a problem:
\defineparagraphs[TwoColumns][n=2]
\setupparagraphs[TwoColumns][1][width=250pt, style=italic, align=left]
\starttext
\startTwoColu
ct]
% Here you set 2 columns and their alignment. You can play with points (pt).
Here the Column 1 is in 250pt, italics et and left aligned.
\defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
\setupparagraphs[TwoColumns][1][width=250pt, style=italic, align=left]
\starttext
\startTwoColumns
Ὅτι
text.
It's somewhat tricky, because I need to leave the second paragraph
empty.
Is there a way to obtain that effect without setupparagraphs?
Anyway it works as I wanted, so now I have a solution.
Thank you very much!
Best regards,
Massi
%% begin example
\setuplayout[rightmargin=7cm]
\defi
Hi Massi,
Why don't you try this kind of parallel paragraphs ?
% \setuppapersize[A5]
\defineparagraphs[TwoThird][n=2]
% The second paragraph width is automatically calculated, if not specified.
\setupparagraphs[TwoThird][1][width=.66\textwidth]
\starttext
\startTwoThird
quotation{..
ght=\rightmarginwidth,
default=-right]
\defineparagraphs[Sidenotes]
\setupparagraphs [Sidenotes]
[n=2,before={\startnarrow[SidenotesMargin]},after=\stopnarrow]
\setupparagraphs [Sidenotes:1][width=.6\localhsize,distance=.1\localhsize]
\setupparagraphs [Sidenotes:2][width=.3\localhsize]
\st
t fine), but
there is no "setups" key for \setupparagraphs (or it doesn’t work).
Let us know whether you find more issues.
You can apply setups with the inner key:
\defineparagraphs[TwoColumns][n=2,align=verytolerant]
\startsetups[TwoColumns]
\setupinterlinespace[line=
tate=start] is to be added here (see
http://wiki.contextgarden.net/Layers#State). Right after your closing
bracket.
And here you have a shorter sample:
\mainlanguage[fr]
\defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
\setupparagraphs[TwoColumns][1][width=200pt]
\setuppara
Pablo Rodriguez <mailto:oi...@gmx.es>
12. August 2016 um 17:21
Interline spacing is set in an unorthodox way (to put it fine), but
there is no "setups" key for \setupparagraphs (or it doesn’t work).
Let us know whether you find more issues.
You can apply setups wi
is to be added here (see
http://wiki.contextgarden.net/Layers#State). Right after your closing
bracket.
And here you have a shorter sample:
\mainlanguage[fr]
\defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
\setupparagraphs[TwoColumns][1][width=200pt]
\setupparagraphs[TwoColum
L[#1][mailto:#1][][#1]\from[{#1}]}
\def\MailTo#1#2{\useURL[#1][mailto:#1][][#2]\from[{#1}]}
% Style
\setupurl
[color=none,
style=normal]
% Setup two columns
\defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
\setupparagraphs[TwoColumns][1][width=200pt]
% Setup stretching tolerance..
On Tue, 2016-08-09 at 15:21 +0200, Jean-Pierre Delange wrote:
> Hi Kip,
>
>
> Maybe you can try this :
>
> \defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
> \setupparagraphs[TwoColumns][1][width=52pt, style=italic, align=left]
> % Note : you can play with th
Hi Kip,
Maybe you can try this :
\defineparagraphs[TwoColumns][n=2, align={hz,hanging}]
\setupparagraphs[TwoColumns][1][width=52pt, style=italic, align=left]
% Note : you can play with the width.
\starttext
\startTwoColumns
Yourtext1\TwoColumns
Yourtext2
\stopTwoColumns \stoptext If you read
attached.
Thanks! John
\defineparagraphs[Mypar][n=2]
\setupparagraphs[Mypar][1][width=0.5\textwidth]
% label subquestions (a, b, c, etc) with answerblanks
\defineconversionset[myitemize][n,a][n]
% define the answerblank in right margin
\define\ansblank
{\inright{\simplealignedbox{2em
9pt]
% Set up default paragraph indenting and spacing.
\setupindenting[yes,
medium,
next]
\setupwhitespace[small]
% Set up paragraph environment for subject header.
\defineparagraphs
[subjectpar][
n=2,
before={\blank[2*big]}]
\setupparagraphs
[subjectpar]
aragraph indenting and spacing.
\setupindenting[yes,
medium,
next]
\setupwhitespace[small]
% Set up paragraph environment for subject header.
\defineparagraphs
[subjectpar][
n=2,
before={\blank[2*big]}]
\setupparagraphs
[subjectpar]
[1]
[width=.3\
olerance[strict]
\defineparagraphs[TwoColumns][n=2, align={hz, hanging}]
\setupparagraphs[TwoColumns][1][width=200pt, style=regular, align=left]
\setuplinenumbering[step=5]
\setupbodyfont[palatino, 7.8pt]
\starttext
\start\fr % some text in French
Définir un apparat critique et le mettre
, before={\blank}, after={\blank}]
\setupparagraphs[Par][1]
[align=flushleft]
\setupparagraphs[Par][2]
[align=flushright]
\startPar
\vfill % I hoped this would push bob’s address down
Bob’s name \crlf
Company \crlf
Bob’s street \crlf
Bob’s town \crlf
Bob’s country
\Par
My street
e[lnum][default][lnum=yes]
\definefontfamily [myfamily] [serif] [MinionPro]
\definefontfamily [myfamily] [sans] [MyriadPro]
\setupbodyfont [myfamily]
\define[1]\sup{\feature[+][f:superscript]#1}
\defineparagraphs[TwoColumns][n=2, align={hz, hanging}]
\setupparagraphs[TwoColumns][1][width=100p
d][1][style=\newtimes]
> \defineparagraphs[timesdroid][2][style=\droidserif]
Partially replying to myself.
After defining a paragraphs environment, I have to set them up, not to
define them again.
So the code above should read:
\defineparagraphs[timesdroid][each][n=2, before=\blank]
\setup
k line).
My guess, untested, would be \setupparagraph[after=\thinrule]
The paragraph environment has no before/after keys
Then the wiki is mistaken:
http://wiki.contextgarden.net/Command/setupparagraphs
The page describes the paragraph*s* environment which isn’t related to
\startparagraph.
nrule]
The paragraph environment has no before/after keys
Then the wiki is mistaken:
http://wiki.contextgarden.net/Command/setupparagraphs
The page describes the paragraph*s* environment which isn’t related to
\startparagraph
http://wiki.contextgarden.net/Command/setupparagraphs
and even if it would
the after key would be normally applied after the paragraph has needed.
That was my guess as to why it didn't work.
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collin
\ifsecondargument
\definemathcommand[#1]{\mfunction[#2]{#3}}
\else
\definemathcommand[#1]{\mfunction{#3}}
\fi}
\setupmathlabeltext[arsinh=Arsinh]
\definemathfunction[arsinh]{\mathlabeltext{arsinh}}
\starttext
\startbuffer
$\arsinh x\ \text{and}\ n_{\mtext{air}}$
\stopbuf
%
{\text{\usemathematicsstyleandcolor\c!textstyle\c!textcolor#1}}
which can be used as:
$x^{\mtext{effe}}$
and obeys
\setupmathematics[textstyle=bold,textcolor=darkgreen]
\definemathcommand[arsinh][op]{\mathlabel{arsinh}}
\startbuffer
$\arsinh x\ \text{and}\ n_{\mathlabel{red}}$
y\dofunction}
\def\dofunction[#1]#2{%
\iffirstargument
\doifelse{#1}{limop}{\mathlimop{\mathlabel{#2}}}{\mathop{\mathlabel{#2}}}
\else
\mathop{\mathlabel{#2}}
\fi}
\definemathcommand[arsinh][op]{\mathlabel{arsinh}}
\startbuffer
$\arsinh x\ \text{and}\ n_{\mathlabel{red
Hi,
Is it possible to center horizontally and vertically the table with the
graphics ?
Best regards,
Fabrice
\defineparagraphs[TwoColumns][n=2]
\setupparagraphs[TwoColumns][1][width=0.45\textwidth]
\startsetups[table:initialize]
\setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex
={\setupbodyfont[6pt]},
after={\setupbodyfont[9pt]}]
\usetypescript[palatino]
\setupbodyfont[palatino,9pt]
\setupfootnotes[way=bysection, numberconversion=romannumerals]
\defineparagraphs
[mypar][n=3,before={\blank},after={\blank}]
\setupparagraphs
[mypar][1][width=.3\textwidth,style=bold
]
{\tfc AN IMPORTANT LEGAL DOCUMENT}
\stopalignment
\blank[2*big]
\dorecurse{1}{\input lorem\par}
\blank[2*big]
{\tt paragraphs} method:
\defineparagraphs[mypar][n=3,before={\blank},after={\blank}]
\setupparagraphs[mypar][1][width=.5\textwidth]
\setupparagraphs[mypar][2][width=.1\textwidth]
\setu
Hi ConTextists,
I have a few pages with questions and answers
\setuptolerance[verytolerant]
\defineparagraphs
[mypar][n=3,before={\blank[back]}]%,after={\blank[disable]}]
\setupparagraphs
[mypar][1][width=.01\textwidth,style=bold]
\setupparagraphs
[mypar][2][width=.95\textwidth]
\starttext
s
Lua-based, working out the conditional stuff you need will hopefully
be trivial (for 'if you know Lua or have an hour to learn the basics'
values of trivial).
Cheers,
Sietse
% 2013-04-27
\useMPlibrary[dum]
\showframe
\defineparagraphs[persoon]
\setupparagraphs[persoon][1]
[width=\dim
tting needed,
> by using defineparagraph and setupparagraphs, but then
> have I have to use start/stop-myparagraph, etc. .
>
> Well, I wanted "format" my normal paragraphs.
> Following, the standard way of doing things in ConTeX, as
> with headers and wanted to use setup
nTeXt I have to decided to write a
learning by doing manual for ConTeXt.
First off, I know I can get the formatting needed,
by using defineparagraph and setupparagraphs, but then
have I have to use start/stop-myparagraph, etc. .
Well, I wanted "format" my normal paragraphs.
Following,
eeded,
by using defineparagraph and setupparagraphs, but then
have I have to use start/stop-myparagraph, etc. .
Well, I wanted "format" my normal paragraphs.
Following, the standard way of doing things in ConTeX, as
with headers and wanted to use setupparagraphs.
The problem want is the nam
setupparagraphs, but then
have I have to use start/stop-myparagraph, etc. .
Well, I wanted "format" my normal paragraphs.
Following, the standard way of doing things in ConTeX, as
with headers and wanted to use setupparagraphs.
The problem want is the name of the standard(default) paragra
Hi Everybody,
Thank you for your help with the documentation.
Inorder to teach myself ConTeXt I have to decided to write a
learning by doing manual for ConTeXt.
First off, I know I can get the formatting needed,
by using defineparagraph and setupparagraphs, but then
have I have to use start
the width of a paragraph on a page. I found
>> \defineparagraphs and \setupparagraphs and it almost works. But for
>> doublesided documents the text on verso pages is incorrectly aligned. I
>> tried [location=inner], but the macros do not seem to be aware of that. I
>> a
Am 22.05.2012 um 18:11 schrieb Andy Thomas:
> Hello,
>
> I am trying to change the width of a paragraph on a page. I found
> \defineparagraphs and \setupparagraphs and it almost works. But for
> doublesided documents the text on verso pages is incorrectly aligned. I tried
&g
Hello,
I am trying to change the width of a paragraph on a page. I found
\defineparagraphs and \setupparagraphs and it almost works. But for doublesided
documents the text on verso pages is incorrectly aligned. I tried
[location=inner], but the macros do not seem to be aware of that. I also
to line up with the
> > resume section description header's first or last line.
>
> \defineparagraphs [rpara] [n=2]
> \setupparagraphs [rpara] [1] [width=3cm, style=\sc]
> \setupitemize [5, packed]
>
> \starttext
>
> \startrpara
>
temization to line up with the
> resume section description header's first or last line.
\defineparagraphs [rpara] [n=2]
\setupparagraphs [rpara] [1] [width=3cm, style=\sc]
\setupitemize [5, packed]
\starttext
\startrpara
Education
\nextrpara
\startitemize
Hello,
I'm rather new to ConTeXt and would like to simplify my document, in
order to simplify processing of documents.
I have this:
\defineparagraphs[infos][n=1]
\setupparagraphs[infos][1][
style={\switchtobodyfont[6pt]},
%command=,
]
\starttext
\startinfos
\
Am 03.06.2011 um 16:50 schrieb Stéphanie Vilayphiou:
> Hello,
> I'm rather new to ConTeXt and would like to simplify my document, in order to
> simplify processing of documents.
>
> I have this:
>
> \defineparagraphs[infos][n=1]
> \setupparagraphs[infos][1][
>
Hello,
I'm rather new to ConTeXt and would like to simplify my document, in
order to simplify processing of documents.
I have this:
\defineparagraphs[infos][n=1]
\setupparagraphs[infos][1][
style={\switchtobodyfont[6pt]},
%command=,
]
\starttext
\startinfos
\
ecolumnsetspan[Normal][n=1]
\definecolumnsetspan[Double][n=2]
\definecolumnsetspan[Triple][n=3]
\startcolumnset[Poster]
\defineparagraphs[Half][n=2,before=,after=]
\defineparagraphs[Third][n=3,before=,after=]
\defineparagraphs[TwoThird][n=2,before=,after=]
\setupparagraphs[TwoThird][1][width=.66\textwid
r,
width=broad,
frame=on,
location=paragraph]
\defineparagraphs
[TwoThird][n=2]
\setupparagraphs
[TwoThird]
[1]
[width=.66\textwidth]
\starttext
\startTwoThird
\startdefbackground
The frame is too wide.
The frame is too wide.
The frame is too wide.
\stopdefbackground
%
\nextTwoThird
\p
color=lightgray,
background=color,
width=broad,
frame=on,
location=paragraph]
\defineparagraphs
[TwoThird][n=2]
\setupparagraphs
[TwoThird]
[1]
[width=.66\textwidth]
\starttext
\startTwoThird
\startdefbackground
The frame is too wide.
The frame is too wide.
The frame is too
]
\defineparagraphs [TwoThird][n=2]
\setupparagraphs[TwoThird]
[1]
[width=.66\textwidth]
\starttext
\startTwoThird
\starttextbackground
the Italian original
slanted. So In the preamble I have
\defineparagraphs[mypar] [n=2,distance=1em]
\setupparagraphs[mypar][1][style=slanted]
\setupparagraphs[mypar][2][style=normal]
In the text:
\startmypar
Some text in language Italian, slanted.
\mypar
The text translated in English, regular.
\s
est wishes, Peter
\starttext
\startbuffer[FOO]
%\startlocal
\defineparagraphs[SomePar][n=2]%,rule=on]%
%\setupparagraphs [SomePar][1][width=.5\hsize]%
%\setupparagraphs [SomePar][2][width=.4\hsize]%
%\CalloutFont\setupstrut\setupinterlinespace % right font must be set
%\setupwhitespace[small]%
\s
> information and name. Margins appear to apply to the whole document.
>
>
> So I tried a hack using paragraphs in two columns. The left column is
> the section heading and the right column is the information.
>
> Example:
>
> \defineparagraphs[TwoColumns][n=2]
> \setuppara
nd name. Margins appear to apply to the whole document.
So I tried a hack using paragraphs in two columns. The left column is
the section heading and the right column is the information.
Example:
\defineparagraphs[TwoColumns][n=2]
\setupparagraphs[TwoColumns][1][width=1.5in]
\startTwoColumns
\
07;33,00 , Hans Hagen wrote:
> Alan Bowen wrote:
>> I have set two paragraphs side by side using
>>
>> \defineparagraphs[TwoColumns]
>> [n=2,tolerance=verytolerant,before={\blank},after={\blank}]
>> \setupparagraphs[TwoColumns][distance=1pc]
>>
>> One of th
Alan Bowen wrote:
> I have set two paragraphs side by side using
>
> \defineparagraphs[TwoColumns]
> [n=2,tolerance=verytolerant,before={\blank},after={\blank}]
> \setupparagraphs[TwoColumns][distance=1pc]
>
> One of the columns is the length of the page. How do I preven
On Tue, Aug 26, 2008 at 3:34 PM, Alan Bowen <[EMAIL PROTECTED]> wrote:
> I have set two paragraphs side by side using
>
> \defineparagraphs[TwoColumns]
> [n=2,tolerance=verytolerant,before={\blank},after={\blank}]
> \setupparagraphs[TwoColumns][distance=1pc]
>
> One of t
I have set two paragraphs side by side using
\defineparagraphs[TwoColumns]
[n=2,tolerance=verytolerant,before={\blank},after={\blank}]
\setupparagraphs[TwoColumns][distance=1pc]
One of the columns is the length of the page. How do I prevent the two
columns from starting a new page? Right now
1 - 100 of 153 matches
Mail list logo