][][]
\definemakeup[cover]
[headerstate=high,
footerstate=high,
pagestate=stop,]
\starttext
\startcovermakeup
\midaligned{My Title}
\stopcovermakeup
\input knuth
\inleft{\ConTeXt }Other text\footnote{\LaTeX }.
\stoptext
%=
Am I setting something wrong?
Best
\midaligned{Is this a bug in mkiv?}
\vfill
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer
\showframe
\dorecurse{16}{\getbuffer[TestPage]\page}
\stoptext
Using mkiv (ConTeXt ver: 2009.04.16 22:27 MKIV fmt: 2009.4.17 int:
english/english) I get
\blank
\midaligned{Is this a bug in mkiv?}
\vfill
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer
\showframe
\dorecurse{16}{\getbuffer[TestPage]\page}
\stoptext
Using mkiv (ConTeXt ver: 2009.04.16 22:27 MKIV fmt: 2009.4.17 int:
english/english) I get an error
] or
\startbaslinecorrection
\midaligned{\externalfigure[...]}
\stopbaselinecorrection
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
Hi,
The solution works indeed. Thanks to all of you. There is a related
refinement I'd like but don't know Context enough to bring by myself:
\starttext
This is a combination of 3 figures on two lines
\placefigure{none}
{
\midaligned{
\startcombination[1*2
]
\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
Alan STONE wrote:
On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
Hi,
\setupcolors[state=start]
\setupcolor[rgb]
\setupcolor[xwi]
\setupcolor[ema]
\starttext
\midaligned{\tfb \bf RGB colors
On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone
[EMAIL PROTECTED]wrote:
Hi,
\setupcolors[state=start]
\setupcolor[rgb]
\setupcolor[xwi]
\setupcolor[ema]
\starttext
\midaligned{\tfb \bf RGB colors}
\blank[3*big]
\showcolor[rgb]
\page
\midaligned{\tfb \bf XWI colors}
\blank[3*big
PROTECTED] wrote:
On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED]
wrote:
Hi,
\setupcolors[state=start]
\setupcolor[rgb]
\setupcolor[xwi]
\setupcolor[ema]
\starttext
\midaligned{\tfb \bf RGB colors}
\blank[3*big]
\showcolor[rgb]
\page
\midaligned{\tfb \bf XWI colors
]
% Bibliography options
%\setupbibtex[database=llibres]
\setuppublications [numbering=yes, sort=author]
% Start the text
\starttext
\midaligned{\tfb De què faré l'article?}
\midaligned{\tfx Xavier Bordoy}
%\midaligned{\tfx \currentday}
Posar el problema de Dehn.
{\bf Automatic group
;
\stopuniqueMPgraphic
\def\SwelledRule{\blank%
\setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank}
%% end swelled rule
\starttext
This file has been typeset
on \currentdate{}
at \currenttime,
with
\doifmodeelse{mkiv}
{mkiv,
LuaTeX revision \luatexrevision,
(LuaTeX
= y4 = \MPvar{height}/2; y2 = y3 = \MPvar{height}; y5 = y6 = 0;
fill z1--z2--z3--z4--z5--z6--cycle;
\stopuniqueMPgraphic
\def\SwelledRule{\blank%
\setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank}
%% end swelled rule
\starttext
This file has been typeset
on \currentdate
]
\startuniqueMPgraphic{SwelledRule}{height,breadth}
x1 = 0; x2 = x6 = .333x4; x3 = x5 = .667x4; x4 = \MPvar{breadth};
y1 = y4 = \MPvar{height}/2; y2 = y3 = \MPvar{height}; y5 = y6 = 0;
fill z1--z2--z3--z4--z5--z6--cycle;
\stopuniqueMPgraphic
\def\SwelledRule{\blank%
\setlocalhsize\midaligned
Hans fix this program one week ago.
On Sun, Sep 14, 2008 at 5:04 AM, Alan Stone
[EMAIL PROTECTED] wrote:
Hi,
\setupcolors[state=start]
\setupcolor[rgb]
\setupcolor[xwi]
\setupcolor[ema]
\starttext
\midaligned{\tfb \bf RGB colors}
\blank[3*big]
\showcolor[rgb]
\page
\midaligned
Hi,
\setupcolors[state=start]
\setupcolor[rgb]
\setupcolor[xwi]
\setupcolor[ema]
\starttext
\midaligned{\tfb \bf RGB colors}
\blank[3*big]
\showcolor[rgb]
\page
\midaligned{\tfb \bf XWI colors}
\blank[3*big]
\showcolor[xwi]
\page
\midaligned{\tfb \bf EMA colors}
\blank[3*big]
\showcolor[ema
Steffen Wolfrum wrote:
Hi,
in order to write a command=... for \setuphead I am fighting with the
following \framed:
\starttext
\showframe
\def\TestFrame%
{\hbox to \hsize\bgroup%
\tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth]{{\kern0.75em}Test
Steffen Wolfrum schrieb:
Hi,
in order to write a command=... for \setuphead I am fighting with the
following \framed:
\starttext
\showframe
\def\TestFrame%
{\hbox to \hsize\bgroup%
\tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth]
{{\kern0.75em}Test
to \hsize\bgroup%
\tbox{\midaligned
\framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth]
{{\FuenfCommand{\convertnumber{characters}
{\countervalue{@@sesection-6{\kern0.75em}#2}}%
\egroup}
\setuphead[EbeneFuenf][command=\CurrentEbeneFuenfNumber]% using this
command moves
.}
\def\CurrentEbeneFuenfNumber#1#2%
{\hbox to \hsize\bgroup%
\tbox{\midaligned\framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth]{{\FuenfCommand{\convertnumber{characters}{\countervalue{@@sesection-6{\kern0.75em}#2}}%
\egroup}
\setuphead[EbeneFuenf][command
,previousnumber=yes]
\def\FuenfCommand#1{#1.}
\def\CurrentEbeneFuenfNumber#1#2%
{\hbox to \hsize\bgroup%
\tbox{\midaligned
\framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth]
{{\FuenfCommand{\convertnumber{characters}
{\countervalue{@@sesection-6{\kern0.75em}#2}}%
\egroup
Hi,
in order to write a command=... for \setuphead I am fighting with the
following \framed:
\starttext
\showframe
\def\TestFrame%
{\hbox to \hsize\bgroup%
\tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth]
{{\kern0.75em}Test}}%
\egroup}
\TestFrame
%Test% -
\stoptext
حسني},
subtitle={صف الحروف حاسوبيا مع تخ وكنتكست},
keyword={عربي تخ كنتكست صف محارف طباعة}]
\starttext
\setArabic
\startstandardmakeup
\midaligned{كيف تكتب عربي في كُنْتِكِسْت}
\midaligned{كتبه}
\midaligned{خالد حسني}
\stopstandardmakeup
\completecontent
\chapter{مقدمة}
كُنْتِكِسْت
Am 24.07.2008 um 21:58 schrieb Aditya Mahajan:
On Thu, 24 Jul 2008, Steffen Wolfrum wrote:
Hi,
the content is centered, but how do I center the frame:
Do you want
\midaligned{\framed[...]{...}}
Thanks, that works – but I was expecting a setupframed internal
solution
On Fri, Jul 25, 2008 at 9:43 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote:
Am 24.07.2008 um 21:58 schrieb Aditya Mahajan:
On Thu, 24 Jul 2008, Steffen Wolfrum wrote:
Hi,
the content is centered, but how do I center the frame:
Do you want
\midaligned{\framed[...]{...}}
Thanks
On Thu, Jul 24, 2008 at 9:58 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:
On Thu, 24 Jul 2008, Steffen Wolfrum wrote:
Hi,
the content is centered, but how do I center the frame:
Do you want
\midaligned{\framed[...]{...}}
Aditya
\presetlocalframed[centeredframe]
\def\startcenteredframed
On Thu, 24 Jul 2008, Steffen Wolfrum wrote:
Hi,
the content is centered, but how do I center the frame:
Do you want
\midaligned{\framed[...]{...}}
Aditya
___
If your question is of interest to others as well
},
keyword={فارسی لواتک كانتكست}]
\starttext
\environment far-env
\setfarsi
\startfrontmatter
\startstandardmakeup
\midaligned{راهنمای فارسی کانتکست}
\midaligned{نويسنده}
\midaligned{مهدی امیدعلی}
\stopstandardmakeup
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{پیشگفتار}
\section[firstsection
\midaligned{\tfc \cap{Title}}
\blank[small]
\midaligned{\cap{Subtitle}}
\vfill
\stopstandardmakeup
\startstandardmakeup[doublesided=no]
\midaligned{\tfd \cap{Big Title}}
\blank[medium]
\midaligned{\tfc \cap{Subtitle}}
\vfill
\stopstandardmakeup
\startstandardmakeup[page=no]
\vfill
Indicia Page
]
\starttext
\setArabic
\startstandardmakeup
\midaligned{كيف تكتب عربي في كُنْتِكِسْت}
\midaligned{كتبه}
\midaligned{خالد حسني}
\stopstandardmakeup
\completecontent
\chapter{مقدمة}
كُنْتِكِسْت \LT{(\CONTEXT)} هو حزمة ماكرو لنظام تخ \LT{(\TeX)} لصف المحارف.
\chapter{أول فصل}
\section
},
subtitle={صف الحروف حاسوبيا مع تخ وكنتكست},
keyword={عربي تخ كنتكست صف محارف طباعة}]
%there is a bug
%\setcharactermirroring[1]
\starttext
\setArabic
\startstandardmakeup
\midaligned{كيف تكتب عربي في كُنْتِكِسْت}
\midaligned{كتبه}
\midaligned{خالد حسني}
\stopstandardmakeup
]
\starttext
\startstandardmakeup
\midaligned{كيف تكتب عربي في كنتكست}
\midaligned{كتبه}
\midaligned{خالد حسني}
\stopstandardmakeup
\completecontent
\chapter{مقدمة}
... كلام\index{مدخلة فهرس} ...
\chapter{أول فصل}
\section[firstsection]{أول باب}
... كلام ...
\section{ثاني باب}
... كلام\index
[Arabic,20pt]
% directionality
\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT
%
\setcharactermirroring[1]
% hyperlinks
\setupinteraction
[state=start,
color=red,
style=bold]
\starttext
\startstandardmakeup
\midaligned{كيف تكتب عربي في كنتكست}
\midaligned{كتبه}
\midaligned{خالد حسني
of what I'm trying to
achieve:
\midaligned{Section1}
\startcolumns[n=2]
Subsection1
\stopcolumns
\midaligned{Section2}
\startcolumns[n=2]
Subsection1
\stopcolumns
Does anyone know how to automate this for a table of contents?
% \setuplist
% [chapter]
% [after
a table of contents for a document that's split into two
large sections. I'm trying to display a centered heading for each
section, and subsections listed in two columns underneath each section
heading. Hopefully this illustrates something of what I'm trying to
achieve:
\midaligned{Section1
(%
\framed[width=1.5cm]{ s }),p)
enddef ;
\stopMPinclusions
\startstaticMPfigure{tst}
LABEL.llft(Test, (1,1) ) ;
\stopstaticMPfigure
\starttext
\midaligned{\usestaticMPfigure[tst]}
\stoptext
%
I got the following error
(60mm)|p(40mm)|]
% \TABLEnoalign{\vskip-1.75pt} % ugly
\HL
\VL \leftaligned{left} \VL \midaligned{middle} \VL
\rightaligned{right} \VL\SR
\HL
\stoptable
\egroup
\stopsetups
\starttext
\showframe
\showskips
\start
\SetTableToWidth\makeupwidth
\setuptables[split=repeat
=off]
[width=5.2cm,frame=off]
[width=5.2cm,frame=off,style=type]
\dorecurse{\totalnumberofpages}{\copyfield[time.clock
][clock::\recurselevel]}
\def\clock{\field[clock::\pagenumber]}
\setupfootertexts[{\color[white]\tfxx \midaligned{\rlap{\currentdate} \hfill
TITLE\hfill \llap{AUTHOR
}
\starttable[|p(40mm)|p(60mm)|p(40mm)|]
\HL
\VL \leftaligned{left} \VL \midaligned{middle} \VL
\rightaligned{right} \VL\SR
\HL
\stoptable
\stopsetups
\starttext
\start
\SetTableToWidth{\makeupwidth}
\setuptables[split=repeat]
\starttablehead
\HL
\VL Head \VL\SR
\HL
\stoptablehead
{\vskip-1.75pt} % ugly
\HL
\VL \leftaligned{left} \VL \midaligned{middle} \VL
\rightaligned{right} \VL\SR
\HL
\stoptable
\egroup
\stopsetups
\starttext
\showframe
\showskips
\start
\SetTableToWidth\makeupwidth
\setuptables[split=repeat]
\starttablehead
\HL
\VL Head \VL\SR
\HL
}][]
\startsetups[pagehead]
\SetTableToWidth{\makeupwidth}
\starttable[|p(40mm)|p(60mm)|p(40mm)|]
\HL
\VL \leftaligned{left} \VL \midaligned{middle} \VL
\rightaligned{right} \VL\SR
\HL
\stoptable
\stopsetups
\starttext
\start
\SetTableToWidth{\makeupwidth}
\setuptables[split=repeat]
\starttablehead
\HL
\VL
a simple version of this to demonstrate the effect(s)
\setuppagenumbering[location=]
\setupheadertexts[\setups{pagehead}][][\setups{pagehead}][]
\startsetups[pagehead]
\SetTableToWidth{\makeupwidth}
\starttable[|p(40mm)|p(60mm)|p(40mm)|]
\HL
\VL \leftaligned{left} \VL \midaligned{middle
}][]
\startsetups[pagehead]
\SetTableToWidth{\makeupwidth}
\starttable[|p(40mm)|p(60mm)|p(40mm)|]
\HL
\VL \leftaligned{left} \VL \midaligned{middle} \VL
\rightaligned{right} \VL\SR
\HL
\stoptable
\stopsetups
\starttext
\start
\SetTableToWidth{\makeupwidth}
\setuptables[split=repeat
}
# \loadmapfile
\loadsorts
\loadsynonyms
# \localhsize
\logfields
\lohi[low]{text}{text}
\low{text}
# \LR
\mainlanguage[language code]
\mar[references]{text}
\marginrule[number]{text}
\margintext[+|-|low][reference]{text}
\marking[name]{text}
\markversion
\mathematics{text}
\mediaeval{text}
\midaligned
to help me off-
list; he provided a solution that works wonderfully. If anybody is
interested, here's the relevant code:
\def\CurPres#1{\gdef\doCurPres{#1}}
\def\sln
{\blank[line]
\incrementSlideNumber % vor dem Bild notwendig?
\midaligned{\externalfigure[\doCurPres]
[page={\getnumber
]
\stopalignment
\stopstandardmakeup
\stoptext
Yes! Now let's make it even simpler:
\starttext
\startstandardmakeup
\midaligned{\externalfigure[cow.pdf]}
\stopstandardmakeup
\stoptext
Best
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department
Hi Klaus,
try this:
---
% engine=xetex
\definetypeface[MyFace][rm][Xserif][TeX Gyre Pagella]
\setupbodyfont[MyFace,10pt]
\starttext
\midaligned{\tfb\bf Arkadi und Boris Strugazki}
\blank
\midaligned{\tfb\bf Аркадий и Борис Стругацкие}
\blank[7*big]
\midaligned{\tfc\bf Milliarden Jahre
][rm][Xserif][TeX Gyre Pagella]
\setupbodyfont[MyFace,10pt]
\starttext
\midaligned{\tfb\bf Arkadi und Boris Strugazki}
\blank
\midaligned{\tfb\bf ??? ? ? ??}
\blank[7*big]
\midaligned{\tfc\bf Milliarden Jahre vor dem Weltuntergang}
\blank
\midaligned{\tfc\bf
I have prepared a movie in one of the presentation styles and set
this ready in the followwing way:
\defineoverlay
[name]
[{\framed[height=\overlayheight, width=\overlaywidth,%
background=color, backgroundcolor=yellow]%
{\midaligned{title text
][title=layer 1]
^^
[title={layer 1}, state=stop]
should work.
Best wishes, Peter
\button{HIDE L1}[HideLayer{L1}]
\button{VIDE L1}[VideLayer{L1}]
\midaligned
{\definedfont[Mono at 150pt]%
\startproperty[L1]
TEST
Text can be seen when you open the document but it should
appear only if you press the VIDE button.
\starttext
\setupinteraction[state=start]
\defineproperty[L1][layer][title=layer 1]
\button{HIDE L1}[HideLayer{L1}]
\button{VIDE L1}[VideLayer{L1}]
\midaligned
{\definedfont[Mono at 150pt
]
^^
[title={layer 1}, state=stop]
should work.
Best wishes, Peter
\button{HIDE L1}[HideLayer{L1}]
\button{VIDE L1}[VideLayer{L1}]
\midaligned
{\definedfont[Mono at 150pt]%
\startproperty[L1]
TEST
\stopproperty}
\stoptext
Wolfgang
=jpg]}]
\starttext
...
\midaligned{%\framed[offset=0pt, strut=no, background=
{foreground,shark}]%
{\placerenderingwindow[movie][sharkfilm]}}%
Is there some spurious space in the code? Perhaps a missing % at the
end of a line? I could not spot the culprit in the code, but I might
have
[ContactColumns][each][rule=off,distance=0pt]
\define[2]\CVTITLE{\midaligned{\framed[frame=off,align=middle]
{{\bfa
#1}\blank[medium]{\tfb#2}}}\blank[small]}
\define[1]\CVEMAIL{{\bf Email:}{ \type{#1}}\blank}
% \framed is good for testing or fine-tuning \CONTACT
[SUBCVHEAD][subsubject]
\setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}]
\defineparagraphs[ContactColumns][n=2]
\setupparagraphs[ContactColumns][each][rule=off,distance=0pt]
\define[2]\CVTITLE{\midaligned{\framed[frame=off,align=middle
Hello Wolfgang,
Thanks. It works!
%engine=luatex
\starttext
\font\vladimirscript=name:vladimir*default at 36pt
\vladimirscript
\midaligned{This is my title to be in big vladimir font}
\stoptext
--
Best regards,
Vyatcheslav Yatskovsky
\vladimirscript=name:vladimir*default at 36pt
\midaligned{This is my title to be in big vladimir font}
\stoptext
--
Best regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add
this, small and ugly: :)
%engine=luatex
\starttext
\font\vladimirscript=name:vladimir*default at 36pt
\vladimirscript
\midaligned{This is my title to be in big vladimir font}
\stoptext
--
Best regards,
Vyatcheslav Yatskovsky
You should also enable then font, it is not enough to define it only
alternating headers,
they're left/right aligned by default... right?
So far I have a two-page spread set up so that the chapter appears on the right
header and the title of the text on the left, but neither are centered. Do I
use \midaligned, or am I on the wrong track?
Thanks.
- Original
2007/7/19, Johan Sandblom [EMAIL PROTECTED]:
Looks like a typo. A
}
is missing on line 15
Johan
he should better remove the first { on line 15
A few alternatives for his \midaligned commands:
\startstandardmakeup[align=middle]
\startlines
{\tfd Just a test}
{\it an excerpt}
by
Nobody
Problem
2007/7/19, Johan Sandblom [EMAIL PROTECTED]:
Looks like a typo. A
}
is missing on line 15
Johan
he should better remove the first { on line 15
A few alternatives for his \midaligned commands:
\startstandardmakeup[align=middle]
\startlines
{\tfd Just a test}
{\it an excerpt}
by
Nobody
{foo}
for i = 0 upto 10:
% Draw a label at position (i*cm,0)
endfor;
\stopuseMPgraphic
\starttext
\midaligned{\useMPgraphic{foo}}
\stoptext
is it possible to replace the comment with an instruction (or a macro),
such that I do not get compilation errors and I get consistent font
a label at position (i*cm,0)
endfor;
\stopuseMPgraphic
\starttext
\midaligned{\useMPgraphic{foo}}
\stoptext
is it possible to replace the comment with an instruction (or a macro),
such that I do not get compilation errors and I get consistent font
usage?
I have tried the following
][mm][math][euler][euler]
\setupbodyfont[MyMainFace,10pt]
\startuseMPgraphic{foo}
for i = 0 upto 10:
% Draw a label at position (i*cm,0)
endfor;
\stopuseMPgraphic
\starttext
\midaligned{\useMPgraphic{foo}}
\stoptext
is it possible to replace the comment
=uc]
\definetypeface[MyMainFace][mm][math][euler][euler]
\setupbodyfont[MyMainFace,10pt]
\startuseMPgraphic{foo}
for i = 0 upto 10:
% Draw a label at position (i*cm,0)
endfor;
\stopuseMPgraphic
\starttext
\midaligned{\useMPgraphic{foo}}
\stoptext
is it possible to replace
Hi,
the following code
\startMPinclusions
drawoptions(withpen pencircle scaled 1mm);
u := 1cm;
\stopMPinclusions
\startreusableMPgraphic{foo}
draw origin--(u,u);
\stopreusableMPgraphic
\starttext
\midaligned{\reuseMPgraphic{foo}}
\stoptext
produces a line with default thickness, not 1mm wide
Quoting nicola [EMAIL PROTECTED]:
Hi,
the following code
\startMPinclusions
drawoptions(withpen pencircle scaled 1mm);
u := 1cm;
\stopMPinclusions
\startreusableMPgraphic{foo}
draw origin--(u,u);
\stopreusableMPgraphic
\starttext
\midaligned{\reuseMPgraphic{foo}}
\stoptext
colors and different fonts, different lines
between in/out and so on.
\startalignment[middle]
\midaligned{\ss
\bTABLE
\bTR \bTD[nc=3] validateRegistration \eTD \eTR
\bTR \bTD[nr=3] \rotate[rotation=90]{Input} \eTD \bTD parameter1 \eTD
\bTD Beschreibung zu
Parameter 1 \eTD \eTR
\bTR \bTD
). Here is a simple
example, but I will need colors and different fonts, different lines
between in/out and so on.
\startalignment[middle]
\midaligned{\ss
\bTABLE
\bTR \bTD[nc=3] validateRegistration \eTD \eTR
\bTR \bTD[nr=3] \rotate[rotation=90]{Input} \eTD \bTD parameter1 \eTD
\bTD Beschreibung zu
} \defineconversion [oddpagenumber][\oddpagenumbers]
%\setuppagenumbering[conversion=oddpagenumber]
\starttext
\dorecurse
{10}
{\dorecurse
{12}
{\section{Knuth}\input knuth\par}
\placefigure{}{\framed{}}
%\page[right]
\midaligned{Figure \recurselevel}
\dorecurse
{4
{\startcolor[darkgray]
\vrule\c!height.5\!!dimena\c!width\hsize\hss
\stopcolor}%
\midaligned{\box\scratchbox}
\egroup}
\protect
\setupcolors[state=start]
\setuphead
[section]
[command=\cvsection,
textstyle=\ss\bf]
\starttext
\section{Work experience}
\stoptext
But this disturbs the alignment:
\midaligned{%
\bTABLE
…
\eTABLE}
When the footnotemarker is wide (for example 888), then the table gets
shifted away from the middle!
Is there a workaround?
Steffen
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl
\postponefootnotes something tabular \flushfootnotes
But this disturbs the alignment:
\midaligned{%
\bTABLE
…
\eTABLE}
When the footnotemarker is wide (for example 888), then the table
gets shifted away from the middle!
\setupindenting[no] was missing.
Without the footnote it was centered
of the table to match the surrounding text? I have tried using
\setuptables[align=middle], but it seems to have no effect.
You can use
\midaligned{\starttable ... \stoptable}
or (untested)
\placetable
[here][none]{none}
{\starttable ... \stoptable}
Aditya
to indent the
left edge of the table to match the surrounding text? I have tried using
\setuptables[align=middle], but it seems to have no effect.
You can use
\midaligned{\starttable ... \stoptable}
or (untested)
\placetable
[here][none]{none}
{\starttable ... \stoptable
\hbox to
\localhsize {\ifc...
l.6 \midaligned{\tfa\bf PRACTICUMBOEK CRYPTOGRAFIE}
That is somewhat misleading, if I may permit myself an understatement.
In the source of the midaligned there is not a math formula in sight.
Now I know enough TeX to see the relevance of the two $'s further
David Arnold wrote:
All,
How do you set up:
\startlinecorrection[blank]
\midaligned{\getbuffer[table]}
\stoplinecorrection
so ensuing lines are not indented?
There is not actual support for that, but this should work:
\let\MYstoplinecorrection\stoplinecorrection
\def
All,
How do you set up:
\startlinecorrection[blank]
\midaligned{\getbuffer[table]}
\stoplinecorrection
so ensuing lines are not indented?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
\textheight]
\setupTABLE[c][5][width=0.4\textheight]
\bTABLE
\bTABLEhead
\bTR
\bTH[nc=5] \midaligned{Übung: Einschätzung der eigenen Erfahrung: Prüfen,
was wirkungsvoll ist} \eTH
\eTR
\eTABLEhead
\switchtobodyfont[small]
\bTABLEbody
\bTR
.
\bTR
\bTD[m=5] \eTD
\eTR
\eTABLEbody
\eTABLE
\setupTABLE[width=\textheight, height=\textwidth]
\setupTABLE[r][each][height=0.13\textwidth]
\setupTABLE[r][1,2][align=lohi, height=0.06\textwidth]
\setupTABLE[c][1,2,3,4][width=0.15\textheight]
\setupTABLE[c][5][width=0.4\textheight]
\bTABLE
\bTABLEhead
\bTR
\bTH[nc=5] \midaligned{Übung
\bTR
\bTH[nc=5] \midaligned{Übung: Einschätzung der eigenen Erfahrung:
Prüfen, was wirkungsvoll ist} \eTH
\eTR
\eTABLEhead
\switchtobodyfont[small]
\bTABLEbody
\bTR
\bTD[m=5] \eTD
\eTR
\eTABLEbody
\eTABLE
%\stopbackground
\egroup % \framed
}
\stoptext
Greetings, Peter
\bTABLE
\bTABLEhead
(btex $\tfx \Delta x=1$ etex, 0.5[Q,R]);
%labels
dotlabel.urt(btex $\tfx (-3,3)$ etex, P);
\stopbuffer
\startbuffer[combined]
\startcombination[2*1]
{\processMPbuffer[one]}{(a)}
{\processMPbuffer[two]}{(b)}
\stopcombination
\stopbuffer
\startlinecorrection[blank]
\midaligned
, as well as \underbars,
\overstrike, \overstrikes, \low, \high and \lohi.
You mentioned that \underbar (and presumably the others I mentioned
above) are macros taking arguments e.g. \acommand{...}. However
presumably something like \midaligned{...} is also a macro requiring
an argument
with \underbar, as well as \underbars,
\overstrike, \overstrikes, \low, \high and \lohi.
You mentioned that \underbar (and presumably the others I mentioned
above) are macros taking arguments e.g. \acommand{...}. However
presumably something like \midaligned{...} is also a macro
requiring
, \overstrike, \overstrikes, \low, \high and \lohi.
You mentioned that \underbar (and presumably
the others I mentioned above) are macros taking arguments e.g. \acommand{...}.
However presumably something like \midaligned{...} is also a macro
requiring an argument, but this works as a \defineXMLgrouped
*: \
.\*palatino10pftt*: l
.etc.
Overfull \hbox (50.99391pt too wide) in paragraph at lines 51--51
[][]\*palatino10pftt*: \midaligned[] [][] [][] []{Hasselt[] []byl[] []vybu
dov\dochar[] []{225}n[] []na[] []soutoku[] []dvou[] []\dochar[] []{176}ek.}
\hbox(9.45493+3.6769)x426.79134
.\glue(\leftskip
e={\starttextbackground[ul]
},
% after={\stoptextbackground\fixedspaces}]
after={\stoptextbackground\
}]
% Other mappings
\defineXMLgrouped [right] \rightaligned
\defineXMLgrouped [centre] \midaligned
\defineXMLgrouped [em] \em
\defineXMLsingular [br] [nr=1]
{\blank[\XMLop{nr}*medium
On 10/8/06, Aditya Mahajan [EMAIL PROTECTED] wrote:
You can center it on your own by \midaligned.
Thanks, works like a charm.
Pepe
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
\startcombination[2*1]
\stopcombination
} % Note this
Thanks. It does work, but is the same as doing 3*5. The last line does
not show centered.
You can center it on your own by \midaligned.
\placefigure {Combinations}
{
\startcombination [3*4]
{\externalfigure[unknown]}{1}
{\externalfigure
(-5u,0)--(10u,0) withcolor red;pickup defaultpen;filleddotred((-5u,0));label.bot(btex $\tfx -5$ etex, (-5u,0));\stopbuffer\startlinecorrection[blank]\midaligned{\processMPbuffer}\stoplinecorrection\column Taco, inserting a column break works, which is what we'll
I have tried ...
\setuplist[chapter]
[label=no,prefix=no,sectionnumber=no,alternative=a,textcommand=
\midaligned,distance=0cm,margin=0cm,width=0cm]
... but still there is the sectionnumber shown in the content.
Is this because of our special setuphead[chapter] command?
Is there no way
=\midaligned,numbercommand=\it,inbetween=
\crlf,textcommand=\bf]
That is what I meant but it dodn't work out too well. New approach:
\def\Sectioncommand#1#2%
{\vbox{\centerline{\it Chapter #1}%
\centerline{\bfb #2}}}
\setuphead[chapter]
[command=\Sectioncommand,
style
Am 29.07.2006 um 09:11 schrieb Taco Hoekwater:
Steffen Wolfrum wrote:
You mean like this?
\setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween=
\crlf,textcommand=\bf]
That is what I meant but it dodn't work out too well. New approach:
\def\Sectioncommand#1#2%
{\vbox
You mean like this?
\setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween=
\crlf,textcommand=\bf]
But what should inbetween be to force a linebreak?
Steffen
On 27.07.2006, at 15:25, Taco Hoekwater wrote:
Steffen Wolfrum wrote:
Hi,
I was sure it should be quite standard
\startquestion[ex:secqu.29]
$p(x)=-x^6-4x^5+27x^4+78x^3+4x^2+376x-480$
\stopquestion
\endquestion
\beginlonganswer
\startanswer
%\startlinecorrection[blank]
%\midaligned{\externalfigure[q25v][width=0.4\textwidth]}
%\midaligned{\externalfigure[q25][width=0.4\textwidth]}
%\stoplinecorrection
\stopanswer
David Arnold wrote:
All,
I've been using this construct a lot.
\startlinecorrection[blank]
\midaligned{\getbuffer[table]}
\stoplinecorrection
My thinking was that it put a blank before and after, but now I am
not sure.
It is my understanding that the baselinecorrection
All,
I've been using this construct a lot.
\startlinecorrection[blank]
\midaligned{\getbuffer[table]}
\stoplinecorrection
My thinking was that it put a blank before and after, but now I am
not sure.
Am I missing something?
___
ntg-context mailing
Hans van der Meer wrote:
Question:� Why does this gives an error
\midaligned{%
\starttabulate[|r|c|l|]
\NC abc \NC : \NC PQR \NC\NR
\NC def \NC : \NC XYZ \NC\NR
\stoptabulate
}
! Missing } inserted.
inserted text
� � � � � � � � }
to be read again
� � � � � � � � �� \vskip
\whitespace
Question: Why does this gives an error \midaligned{% \starttabulate[|r|c|l|] \NC abc \NC : \NC PQR \NC\NR \NC def \NC : \NC XYZ \NC\NR \stoptabulate }! Missing } inserted.inserted text }to be read again \vskip \whitespace ...\parskip \zeropoint \relax \vskip
\starttext
\midaligned{\usestaticMPfigure[square]}
\blank[2*big]
\midaligned{\usestaticMPfigure[2squares]}
\stoptext
Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
drawoptions(withcolor black) ;
label (textext(Sans Serif),z[19]) ;
label (textext(Serif),z[20]) ;
picture p; p := textext(\AXIS{a}{4}{Serif});
p := p rotatedaround (z[21], -14.036) ;
label.bot(p,z[21]);
currentpicture := currentpicture scaled 0.9 ;
\stopstaticMPfigure
\starttext
\midaligned
301 - 400 of 473 matches
Mail list logo