6-65\\
Email: dolin...@gmail.com}}}
{\rightaligned{\framedtext[location=top,frame=off,width=fit,offset=0ex]{%
Булевар Краља Александра 334, 11000 Београд\\
011\hspace[tnumber]3806\hspace[tnumber]007\\
011\hspace[tnumber]3820\hspace[tnumber]457\\
011\hspace[tnumber]2419\
].
And then, but I guess it is still a hack, I use \hskip at a suitable
dimension whenever I need indented lines:
\startpoem
This is line one,
\hskip1em{This is line two}
This is line three,
\hskip1em{This is line four,}
\hskip1em{This is line five.}
\rightaligned{Poet's name}
\stoppoem
\quad
at a suitable
dimension whenever I need indented lines:
\startpoem
This is line one,
\hskip1em{This is line two}
This is line three,
\hskip1em{This is line four,}
\hskip1em{This is line five.}
\rightaligned{Poet's name}
\stoppoem
Julian
On 11/1/22 1:01 pm, Youssef Cherem via ntg-context wrote:
Hello
[part]}][]
\setuppagenumbering
[alternative=doublesided]
\setupfootertexts
[margin]
[\leftaligned {A}]
[\rightaligned{B}]
[\leftaligned {C}]
[\rightaligned{D}]
\setuplayout
[backspace=4cm,
width=12cm]
\showframe
\starttext
\dorecurse{4}{\dontleavehmode\page}
\stoptext
\hfuzz#3\hfuzz
\rightaligned{\ssa\sl --- #2}
\else
\rightaligned{\ssa\sl --- #2, \tf\ssa\symbol[leftquote]#3\symbol[rightquote]}
\fi
}
\starttext
Testing epigraph
\epigraph{% para
\quotation{My birthday-present!} he whispered to himself, as he had often done
in the endless dark days
[flushright,nothyphenated,broad]
\dontcomplain
\noindent},
after={\stopalignment\stopnarrower
\blank[EpigraphDistance]
\indenting[next]}]
\long\def\epigraph#1#2#3{%
\startEpigraphText #1 \par \stopEpigraphText
\ifx\hfuzz#3\hfuzz
\rightaligned{\ssa\sl --- #2}
\else
\structurelistuservariable{author}
\rightaligned
\bgroup
#3
\egroup
\egroup
}
\setuplist
[chapter]
[alternative=command,
command=\SectionToCEntry,
after=\endgraf]
\completecontent
\startchapter
[title={This is my chapter title}]
[author={Dummy Name}]
\input Tufte
ext
\define[3]\SectionToCEntry{
#2\crlf
\leftaligned
\bgroup
\hskip 0.5cm
\structurelistuservariable{author}
\rightaligned
\bgroup
#3
\egroup
\egroup
}
\setuplist
[chapter]
[alternative=command,
command=\SectionToCEntry,
after=\endgraf]
\completecontent
\startchapter
=global,
method=unicode]
\setuptagging
[state=start]
\starttext
\starttabulate[|pA{righttoleft}|p|]
%\NC \raggedleft Text \NC Translation \NC\NR
\NC \rightaligned{Text} \NC Translation \NC\NR
\NC \input ward \NC \input ward \NC\NR
\stoptabulate
\stoptext
Ok, that works
]
\starttext
\starttabulate[|pA{righttoleft}|p|]
%\NC \raggedleft Text\NC Translation \NC\NR
\NC \rightaligned{Text} \NC Translation \NC\NR
\NC \input ward \NC \input ward \NC\NR
\stoptabulate
\stoptext
Wolfgang
[.2\textheight]
\rightaligned{Bramble-Bees}
\stopstandardmakeup
\startstandardmakeup[doublesided=yes,page=yes]
\strut
\godown[.1\textheight]
\startalignment[middle]
{\bfb BRAMBLE-BEES AND OTHER}
\blank[line]
{\bfa by J. HENRI FABRE}
\stopalignment
\vfill
On 1/27/2019 7:15 PM, Rik Kabel wrote:
That allows the compilation to complete, but method=three breaks other
stuff. Try this:
\starttext
\setupdirections [bidi=on,method=three]
\rightaligned{(( How is this?}
\stoptext
(I also see problems with boxes set in the margin where
-
That allows the compilation to complete, but method=three breaks other
stuff. Try this:
\starttext
\setupdirections [bidi=on,method=three]
\rightaligned{(( How is this?}
\stoptext
(I also see problems with boxes set in the margin where
dule[letter]
>> \useletterstyle[dinb]
>> \mainlanguage[de]
>> \starttext
>> \setupletter
>> [signature={Unterschrift},
>> fromname={Absender},
>> fromaddress={Straße\\Ort},
>> toname={An},
>> toaddress={Adresse}]
>> % correspondence.pdf, p. 73
>>
]
\starttext
\setupletter
[signature={Unterschrift},
fromname={Absender},
fromaddress={Straße\\Ort},
toname={An},
toaddress={Adresse}]
% correspondence.pdf, p. 73
\startsetups letter:head
\rightaligned{Seite \correspagenumber\ von \numberofcorrespages}
\stopsetups
% correspondence.pdf, p. 71
={Unterschrift},
fromname={Absender},
fromaddress={Straße\\Ort},
toname={An},
toaddress={Adresse}]
% correspondence.pdf, p. 73
\startsetups letter:head
\rightaligned{Seite \correspagenumber\ von \numberofcorrespages}
\stopsetups
% correspondence.pdf, p. 71
\startuseMPgraphic{dactylus}
draw unitsquare
=9.7cm, height=21cm]
\setuppapersize
[flyer]
[A4, landscape]
\setuplayout [page]
\setuparranging [TRYPTICHON]
\starttext
\showframe
10cm:\blank \rightaligned{\blackrule[width=10cm]}\vfill{\tfd\currentpage}
\page
10cm:\blank[5mm] \blackrule[width=10cm]\vfill{\tfd\currentpage}
\page
10cm:\blank
On Tue, Sep 27, 2016 at 3:14 PM, Henri Menke wrote:
> No problem with TL 2016. Are you on beta?
>
> On 09/27/2016 03:10 PM, Mikael P. Sundqvist wrote:
>> Hi!
>>
>> Look at the following example (pdf attached)
>>
>> \setupformulas[
>> align=flushleft,
>> leftmargin=3em,
>> ]
No problem with TL 2016. Are you on beta?
On 09/27/2016 03:10 PM, Mikael P. Sundqvist wrote:
> Hi!
>
> Look at the following example (pdf attached)
>
> \setupformulas[
> align=flushleft,
> leftmargin=3em,
> ]
>
> \starttext
> \input tufte % Some text to see where the margin is
>
> This looks
Hi!
Look at the following example (pdf attached)
\setupformulas[
align=flushleft,
leftmargin=3em,
]
\starttext
\input tufte % Some text to see where the margin is
This looks OK:
\startformula
1+1=2
\stopformula
This does not look OK:
\startformula
1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
width
\raise \baselineskip \hbox to \textwidth{% shift one line back
\rightaligned{Line}% typset right aligned
}%
}%
}%
\input knuth
\stopsection
\stoptext
You can use \offset to shift the text to a different position.
\define[1]\MoveText
{\dontleavehmode\offset[width=0pt,height=0pt,y=-\line
\rightaligned{Line}% typset right aligned
}%
}%
}%
\input knuth
\stopsection
\stoptext
On 08/02/2016 10:16 PM, Joseph Canedo wrote:
> Dear all,
>
>
>
> I have this simple MWE :
>
>
>
> \starttext
>
> \startsection[title=Section]
>
On 1/20/2016 4:27 PM, Mohammad Hossein Bateni wrote:
Hello,
There seems to be a bug in RTL documents when \framed goes in
\leftaligned, \midaligned, or \rightaligned AND corner=round option is
used. (I don't know what other options trigger the bug.)
Here is the MWE (verified in ConTeXt ver
Hello,
There seems to be a bug in RTL documents when \framed goes in \leftaligned,
\midaligned, or \rightaligned AND corner=round option is used. (I don't
know what other options trigger the bug.)
Here is the MWE (verified in ConTeXt ver: 2016.01.18 22:21 MKIV beta fmt:
2016.1.19 int: english
]
\leftaligned{Enterprise Architecture}%
\stop
\hairline \blank[line]
\leftaligned{Making the right moves to manage Business--IT complexity}%
\hairline \blank[line]\rightaligned{Gerben Wierda}%
\blank[6cm]\start\leftskip=10cm\hairline\stop
\rightaligned{2015}%
\stopstandardmakeup
\startstandardmakeup
:*}
...
\xmlsetsetup{\xmldocument}{p[@class='letter-date']}{xml:p:letter-date}
...
\stopxmlsetups
...
\startxmlsetups xml:p:letter-date
\page[no]\rightaligned{\noindent\xmlflush{#1}}\par\page[no]
\stopxmlsetups
...
Is that the right way or is it better to define and setup a style like
=\overlayheight]{\useMPgraphic{accolade}}}]
\defineoverlay[rightbrace][\rightaligned{\mirror{\scale[height=\overlayheight]{\useMPgraphic{accolade]
\starttext
\framedtext[frame=off,loffset=1em,roffset=1em,background={rightbrace}]{
La longueur est \unit{4 centimeter} ; on donne à $L$ la valeur
\start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Foo}%
\blank[line]
\leftaligned{bar bar bar bar}%
\blank[line]
\leftaligned{Foo}%
\stop
\hairline \blank[line]
\leftaligned{Foo bar foo bar bar bar bar}%
\hairline \blank[line]\rightaligned{Gerben Wierda}%
\blank[6cm]\start\leftskip=10cm
]
\leftaligned{bar bar bar bar}%
\blank[line]
\leftaligned{Foo}%
\stop
\hairline \blank[line]
\leftaligned{Foo bar foo bar bar bar bar}%
\hairline \blank[line]\rightaligned{Gerben Wierda}%
\blank[6cm]\start\leftskip=10cm\hairline\stop
\rightaligned{2014}%
\stopstandardmakeup
\stop
Copyright notice
}}{\rightaligned{\flushnextbox}}%
\else
\midaligned{\flushnextbox}%
\fi}
\hbox}
\definefloat [widefigure] [figure] [figure]
\setupfloat [widefigure] [command=\WideFloatCommand]
\usemodule[tikz]
\showframe
\starttext
x
\page
\startplacewidefigure
\framed[width=\measure
[draw, minimum width=1.2\textwidth] {Three};
\stoptikzpicture
\stopplacewidefigure
\startplacewidefigure
\starttikzpicture
\node [draw, minimum width=3cm] {Four};
\stoptikzpicture
\stopplacewidefigure
\startplacewidefigure
\rightaligned{%
\starttikzpicture
\node [draw, minimum width=1.2\textwidth
to the width of the text are,
when the figure is wider then the available space use the \leftaligned
or \rightaligned commands
to let the content protrude to the outer margins.
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=4cm,width=12cm]
\definemeasure[Widefigure][\textwidth
are,
when the figure is wider then the available space use the \leftaligned
or \rightaligned commands
to let the content protrude to the outer margins.
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=4cm,width=12cm]
\definemeasure[Widefigure][\textwidth+\rightmargindistance
and compare the width
to the width of the text are,
when the figure is wider then the available space use the \leftaligned
or \rightaligned commands
to let the content protrude to the outer margins.
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=4cm,width=12cm]
\definemeasure
are,
when the figure is wider then the available space use the \leftaligned or
\rightaligned commands
to let the content protrude to the outer margins.
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=4cm,width=12cm]
\definemeasure[Widefigure][\textwidth+\rightmargindistance
the figure is wider then the available space use the \leftaligned or
\rightaligned commands
to let the content protrude to the outer margins.
\setuppagenumbering[alternative=doublesided]
\setuplayout[backspace=4cm,width=12cm]
\definemeasure[Widefigure][\textwidth+\rightmargindistance
\nextboxwd\textwidth
\doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}%
\else
\midaligned{\flushnextbox}%
\fi}
\hbox}
\showframe
\starttext
\startplacefigure[location={270, page}]
\framed[width=\textheight,framecolor=red]{Turned
\blank[1*halfline]
\rightaligned{--- #2}
}}
\def\trojtecka {
{\bf \ruda \tt...}
}
\def \robotitulka{
\startstandardmakeup
\title{Neslyšný kočkopes - \getvariable[cislo]}
\placecontent
\stopstandardmakeup
\page
}
\def\zanrO #1{
\framed[
background=color,
backgroundcolor=grave,
foreground=color
,
- \rightaligned and
- \midaligned.
Even though each command is only meant for short text you use the \\ command to
put text into several lines, e.g.
\starttext
\midaligned{One\\Two\\Three}
\stoptext
creates three lines for the input. In recent installations you can write
on a
single line but it isn’t recommended to use them because ConTeXt has it’s own
alternative for them. The replacement commands are
- \leftaligned,
- \rightaligned and
- \midaligned.
Even though each command is only meant for short text you use the \\ command to
put text into several lines
.
\setupbackgrounds[page][background={document_logo,document_data}]
2. You can insert a certain numbers of empty lines in your document with
\blank[n*line].
3. \startalignment makes no sense in a layer.
4. You can align single lines of text with \leftaligned, \midaligned or
\rightaligned
=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex]
\startoverlay
{\leftaligned {Left}}
{\midaligned {Middle}}
{\rightaligned{Right}}
\stopoverlay
\stopframed
\stopsetups
,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex]
\startoverlay
{\leftaligned {Left}}
{\midaligned {Middle}}
{\rightaligned{Right}}
\stopoverlay
\stopframed
\stopsetups
\setupheadertexts[\texsetup{header}]
Wolfgang
}}
{\rightaligned{Right}}
\stopoverlay
\stopframed
\stopsetups
\setupheadertexts[\texsetup{header}]
Use the normal \framed command and replace \texsetup with \setups in
\setupheadertexts
and it will also work with your older version of context.
\startsetups[header]
\framed[corner=09,width
\startoverlay
{\leftaligned {Left}}
{\midaligned {Middle}}
{\rightaligned{Right}}
\stopoverlay
\egroup
\stopsetups
\setupheadertexts[\setups{header}]
When you have a longer text for all three fields
)
\starttext
\startquotation
The mind cannot possibly grasp the full meaning of the term of a hundred
million years.
\stopquotation
\rightaligned{\cite [Darwin1859]}
\completepublications [criterium=all]
\stoptext
-
@BOOK{ Darwin1859
is the manual
about it?
- The boxes on page 45, second example are not at the right
position, particularly the second is on the same line as the
first.
\leftaligned
{\inframed[width=fit]{People in Hasselt}}
\midaligned
{\inframed[height=1.5cm,frame=off]{have a}}
\rightaligned
{\inframed[background
a}}
\rightaligned
{\inframed[background=screen]{historic background}}
In MkIV there's a new syntax you can use:
\startlinealignment [left]
\inframed[width=fit]{People in Hasselt}
\stoplinealignment
\startlinealignment [middle]
\inframed[height=1.5cm,frame=on]{have a}
\stoplinealignment
as the first.
\leftaligned
{\inframed[width=fit]{People in Hasselt}}
\midaligned
{\inframed[height=1.5cm,frame=off]{have a}}
\rightaligned
{\inframed[background=screen]{historic background}}
In MkIV there's a new syntax you can use:
\startlinealignment [left]
\inframed[width=fit]{People in Hasselt
:
\setuppagenumbering[alternative=doublesided,location=]
\setupheadertexts
[margin]
[][\rightaligned{\bf\userpagenumber}]
[\leftaligned{\bf\userpagenumber}][]
\setupheader[margin][align=outer]
\starttext \showframe
\dorecurse{10}{\dontleavehmode\page}
\stoptext
Wolfgang
=\PageNumberCommand]
\starttexdefinition PageNumberCommand #pageno
\signalrightpage
\doifrightpageelse
{\rightaligned{#pageno}}
{\leftaligned{#pageno}}
\stoptexdefinition
Marco
signature.asc
Description: Digital signature
=doublesided,
location={header, margin},
style=bold,
command=\PageNumberCommand]
\starttexdefinition PageNumberCommand #pageno
\signalrightpage
\doifrightpageelse
{\rightaligned{#pageno}}
{\leftaligned{#pageno}}
\stoptexdefinition
Marco
When you’re in the header you can just
to be numbers? Here is
what worked in the end:
\setuppagenumbering[
alternative=doublesided,
location={header, margin},
style=bold,
command=\PageNumberCommand
]
\starttexdefinition PageNumberCommand #1
\doifoddpageelse
{\rightaligned{#1}}
{\leftaligned{#1
:
\unexpanded\def\leftaligned {\spac_align_wrapper_handle\v!left }
-\unexpanded\def\midaligned {\spac_align_wrapper_handle\v!middle}
+\unexpanded\def\middlealigned{\spac_align_wrapper_handle\v!middle}
\unexpanded\def\rightaligned {\spac_align_wrapper_handle\v!right }
\unexpanded\def\maxaligned
is minimal example (or something very close to that):
% The title page
\startsetups titlepage
\startstandardmakeup[style=sans]
\blank[50mm]
\rightaligned{\bfd\getvariable{titlepage}{project}}
\textrule
\rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title
titlepage
\startstandardmakeup[style=sans]
\blank[50mm]
\rightaligned{\bfd\getvariable{titlepage}{project}}
\textrule
\rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}}
\blank[170mm]
\starttabulate[|plf{\tfa}|prf{\tfa}|]
\NC\tfa
to that? Is there maybe a
way to position the information down the bottom absolute?
Here is minimal example (or something very close to that):
% The title page
\startsetups titlepage
\startstandardmakeup[style=sans]
\blank[50mm]
\rightaligned{\bfd\getvariable{titlepage}{project
is minimal example (or something very close to that):
% The title page
\startsetups titlepage
\startstandardmakeup[style=sans]
\blank[50mm]
\rightaligned{\bfd\getvariable{titlepage}{project}}
\textrule
\rightaligned{\tfc\color[darkgray]{\getvariable{titlepage
On Sun, Jul 29 2012, Steffen Wolfrum wrote:
but these numbers should be right aligned:
so that the ones (eg. in 1 and 21 and 201) are exactly on top of each
other
any idea how to achieve this?
\def\NumberCommand#1{\rightaligned{#1}} % or:
\def\NumberCommand#1{\hfill#1}
\setupnotation
Am 29.07.2012 um 18:27 schrieb Peter Münster:
On Sun, Jul 29 2012, Steffen Wolfrum wrote:
but these numbers should be right aligned:
so that the ones (eg. in 1 and 21 and 201) are exactly on top of each
other
any idea how to achieve this?
\def\NumberCommand#1{\rightaligned{#1
any idea how to achieve this?
\def\NumberCommand#1{\rightaligned{#1}} % or:
\def\NumberCommand#1{\hfill#1}
\setupnotation[footnote][alternative=left,width=12pt,distance=4.80pt,
numbercommand=\NumberCommand]
Yes numbercommand, that's it!
I wanted command=\NumberCommand with \def
! \vfill \rightaligned{bla} \eTD \eTR
\eTABLE}
\stoptext
--
Peter
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl
=flushleft]
\strut 1 Über\crlf 1 and 1 are aligned! \vfill \rightaligned{bla} \eTD \eTR
\eTABLE}
\stoptext
in that case \begstrut ... \endstrut
(you can also play with overlay=0pt or none)
-
Hans
,
frame=off]{%
This text is indented to the right by the amount of the width of
\quote{Bla:~}. Can this be done better?
\vfill
\rightaligned{At the bottom of the outer box.}}}
\stoptext
--8---cut here---end---8---
Any hints, how to do this in a cleaner
Hello,
is it possible to find if you’re on an odd or an even page in context?
I want to do something like this:
\def\makemytext#1{
%if page is even
\rightaligned{#1}
%else
\leftaligned{#1}
}
Thanks for the answer.
Pavel Dohnal
Am 06.06.2012 um 17:13 schrieb Pavel Dohnal:
Hello,
is it possible to find if you’re on an odd or an even page in context?
I want to do something like this:
\def\makemytext#1{
%if page is even
\rightaligned{#1}
%else
\leftaligned{#1}
}
\defineframed[noframed
On Wed, 6 Jun 2012, Wolfgang Schuster wrote:
\define[1]\AlignOuter
{\doifoddpageelse\rightaligned\leftaligned{#1}}
you can simplify this to:
\define\AlignOuter
{\doifoddpageelse\rightaligned\leftaligned}
Aditya
On 6-6-2012 17:40, Aditya Mahajan wrote:
On Wed, 6 Jun 2012, Wolfgang Schuster wrote:
\define[1]\AlignOuter
{\doifoddpageelse\rightaligned\leftaligned{#1}}
you can simplify this to:
\define\AlignOuter
{\doifoddpageelse\rightaligned\leftaligned}
there's also the pair:
\signalrightpage
Thank you for answer,
I have discovered, that \tbox does the job for me.
\startoverlay
{\leftaligned{nazev}}
{\midaligned{\pagenumber /\totalnumberofpages}}
{\rightaligned{\tbox{\externalfigure[jc_logo_small][width=4cm]}}}
\stopoverlay
regards
Jan
Dne Wed, 30 May 2012
{\leftaligned{title}}
{\midaligned{1/1}}
{\rightaligned{\externalfigure[jc_logo_small][width=4cm]}}
\stopoverlay
Unfortunately I have two problems with code above. I need to have the text
and figure in overlay top aligned and also the text in the frame should have
to a
minimal example:
% Select A4 as the paper size
\setuppapersize[A4]
% A macro for the title page
\def\titlepage[#1][#2][#3][#4]{
\startstandardmakeup
\blank[50mm]
\rightaligned{\ss\tfd\bf\nohyphens{#1}}
\blank[2mm]\textrule[bottom]
\rightaligned{\ss{\tfc{\color[darkgray] {#2
\blank[170mm]
\ss
page is \setvariables:
\startsetups titlepage
\startstandardmakeup[style=sans]
\blank[50mm]
\rightaligned{\bfd\getvariable{titlepage}{company}}
\textrule
\rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}}
\blank[170mm]
\starttabulate[|plf{\tfa}|prf{\tfa
Hi,
I am trying to have the header text aligned at the outer border of
margin.
At the moment I have
\setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][]
and in the text
\chapter{A very, very long long heading}
and it works like I
replace
\setupbackgrounds [state=repeat]
\defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}]
\setupbackgrounds [text] [rightmargin] [background=side]
with
\setuptexttexts [margin]
[][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}]
[\leftaligned{\rotate[rotation=90
{\leftaligned {\rotate[rotation=90] {...}}}
{\rightaligned{\rotate[rotation=270]{...}}}
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
for all these things:
\doifoddpageelse
{\leftaligned {\rotate[rotation=90] {...}}}
{\rightaligned{\rotate[rotation=270]{...}}}
since a few days the beta also has rotation=left|right|inner|outer per
request by taco (although no final word yet on if i need to swap 'm)
Hans
]
with
\setuptexttexts [margin]
[][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}]
[\leftaligned{\rotate[rotation=90]{\getmarking[section]}}][]
Wolfgang
___
If your question is of interest to others as well
the box
\defineframedtext[][rulethickness=2bp]
Perfect. That looks much more slick.
I know have defined:
\define[2]\Citation{
\blank
\startframedtext[middle][align=middle,corner=round,rulethickness=2bp]
{\bf #2}
\blank[small]
\rightaligned{\it #1}
\stopframedtext
\blank
,
rulethickness=2bp
]
{\bf #2}
\blank[small]
\rightaligned{\it #1}
\stopframedtext
\blank
}
This results in an even more pleasing effect. (In my opinion.)
--
Cecil Westerhof
___
If your question
=middle,
background=color,
backgroundcolor=lightgray,
corner=round,
rulethickness=2bp
]
{\bf #2}
\blank[small]
\rightaligned{\it #1}
\stopframedtext
\blank
}
This results in an even more pleasing effect. (In my opinion.)
You can also use metafun, which
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com
\define[2]\epigraph
{\blank
\startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
\color[darkgreen]{#2}\endgraf
\rightaligned{\it #1
{\blank
\startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
\color[darkgreen]{#2}\endgraf
\rightaligned{\it #1}%
\stopframedtext
\blank}
Wolfgang
___
If your question is of interest
}%
\stopalignment
\stopframedtext
\blank
}
I think it does not look bad. But I have to let it grow on me.
\define[2]\epigraph
{\blank
\startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
\color[darkgreen]{#2}\endgraf
\rightaligned{\it #1
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com
\define[2]\epigraph
{\blank
\startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
\color[darkgreen]{#2}\endgraf
\rightaligned{\it #1}%
\stopframedtext
\blank}
I want to do something like
Am 08.03.2011 um 19:57 schrieb Cecil Westerhof:
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com
\define[2]\epigraph
{\blank
\startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
\color[darkgreen]{#2}\endgraf
\rightaligned{\it #1
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com
\define[2]\epigraph
{\blank
\startframedtext[middle][frame=off,offset=none,width=fit,align=middle]%
\color[darkgreen]{#2}\endgraf
\rightaligned{\it #1}%
\stopframedtext
\blank}
I want to do something like
:
\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
Am 05.03.2011 um 23:01 schrieb C.:
Good evening,
How can I place left aligned and centered text on one line?
So that the centered text is in the same place as with \startaligned[middle]
\starttext
\startoverlay
{\leftaligned{left}}
{\midaligned{middle}}
% {\rightaligned{right
(context minimal).
You can play with this:
\def\linkeklammer
{\setbox\scratchbox\hbox{$\left\{\vrule height .5\vsize depth
.5\vsize width 0pt\relax\right.$}%
\rightaligned{\hbox to
.5\wd\scratchbox{\raise\dp\scratchbox\box\scratchbox\hss}}}
\def\rechteklammer
{\setbox\scratchbox\hbox
big brace. And, yes I use mkiv and latest beta (context minimal).
You can play with this:
\def\linkeklammer
{\setbox\scratchbox\hbox{$\left\{\vrule height .5\vsize depth
.5\vsize width 0pt\relax\right.$}%
\rightaligned{\hbox to
.5\wd\scratchbox{\raise\dp\scratchbox\box\scratchbox\hss
In plain pdftex I can define a string thus:
\def\booktitle{My Book Title}
and then reuse it later as
\rightline{\bf\booktitle}
But in Context when I use
\rightaligned{\bf\booktitle}
it errors on the tag \booktitle
I tried \the\booktitle but that didn't work either.
--
John Culleton
Wexford
John Culleton wrote:
In plain pdftex I can define a string thus:
\def\booktitle{My Book Title}
and then reuse it later as
\rightline{\bf\booktitle}
But in Context when I use
\rightaligned{\bf\booktitle}
it errors on the tag \booktitle
This definitely should work, so you should post
On Wed, May 12, 2010 at 4:46 PM, John Culleton j...@wexfordpress.com wrote:
In plain pdftex I can define a string thus:
\def\booktitle{My Book Title}
and then reuse it later as
\rightline{\bf\booktitle}
But in Context when I use
\rightaligned{\bf\booktitle}
it errors on the tag
On 12 mai 2010, at 16:52, luigi scarso wrote:
no problem here with last current
\def\booktitle{My Book Title}
\showframe
\starttext
then reuse it later as
\rightline{\bf\booktitle}
But in Context when I use
\rightaligned{\bf\booktitle}
\stoptext
Hi Luigi,
Are you sure? If I
Am 12.05.10 16:46, schrieb John Culleton:
In plain pdftex I can define a string thus:
\def\booktitle{My Book Title}
and then reuse it later as
\rightline{\bf\booktitle}
But in Context when I use
\rightaligned{\bf\booktitle}
it errors on the tag \booktitle
I tried \the\booktitle
\rightaligned{\bf\booktitle}
\stoptext
Hi Luigi,
Are you sure? If I compile exactly the lines above, I don't get the intended
righ aligned title: it seems that one needs a blank line before \rightalign,
that is:
\def\booktitle{My Book Title}
\showframe
\starttext
then reuse it later
On Wednesday 12 May 2010 10:52:03 Taco Hoekwater wrote:
John Culleton wrote:
In plain pdftex I can define a string thus:
\def\booktitle{My Book Title}
and then reuse it later as
\rightline{\bf\booktitle}
But in Context when I use
\rightaligned{\bf\booktitle}
it errors
=middle]
\setupheadertexts
[margin]
[\leftaligned{very long leftmargin text}]
[\rightaligned{very long rightmargin text}]
\setupheadertexts[text in the middle]
\showframe
\starttext
\input knuth
\stoptext
or
\setuplayout
[backspace=6cm,
width=middle]
\setupheader
[margin
a macro which does nothing if there is enough space on the
right to set the whole argument and puts the argument in a new line,
rightaligned otherwise.
Can someone remember who has asked this before, or a fresh solution
alternativly.
thank you
Wolfgang
(Genesis 3, 21)}
\stopnarrower
\stoptext
I want \RT a macro which does nothing if there is enough space on the
right to set the whole argument and puts the argument in a new line,
rightaligned otherwise.
Can someone remember who has asked this before, or a fresh solution
alternativly.
\wordright
1 - 100 of 137 matches
Mail list logo