finehspace[tnumber][0.5em]
\startsetups [fheader]
\startframed[width=max,frame=off]
\startoverlay
{\leftaligned{\framedtext[location=top,frame=off,width=fit,offset=0ex]{„ДОЛИНА” Д.О.О. Београд\\
ПЈ за прераду меса\\
ПИБ: СР 100029284\\
МБ: 06434517\\
Текући рачун: 205-15795
[1]\SectionTocEntry{%
\leftaligned{#1}\par% title. \leftaligned is needed
\hskip1cm\relax\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%
}
\setuphead[chapter] of course includes number=no.
\setuplist[chapter] is currently set as:
[label=yes,distance=1.2cm
]\SectionTocEntry{%
\leftaligned{#1}\par% title. \leftaligned is needed
\hskip1cm\relax\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}%
}
\setuphead[chapter] of course includes number=no.
\setuplist[chapter] is currently set as:
[label=yes,distance=1.2cm,style=normal
[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
else I can substitute it for?
D'oh! Sorry - completely forgot about the indent.
Best I can come up with at the moment is this - but I'm not sure how to get
leading dots.
\starttext
\define[3]\SectionToCEntry{
#2\crlf
\leftaligned
\bgroup
\hskip 0.5cm
> }
>
> But the \hskip is ignored at the beginning of a line. I wonder if there is
> something else I can substitute it for?
D'oh! Sorry - completely forgot about the indent.
Best I can come up with at the moment is this - but I'm not sure how to get
leading dots.
\startt
I need to create my own links somehow?
>>
>> Example:
>>
>> \setupinteraction[state=start]
>> \setupinteractionscreen[option=bookmark]
>>
>> \define[3]\SectionListEntry
>> {\par \leftaligned\bgroup
>> \hbox to 2em{#3}%
>>
[option=bookmark]
\define[3]\SectionListEntry
{\par \leftaligned\bgroup
\hbox to 2em{#3}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}
\egroup \par}
% Comment out this next line to regain section hyperlinks in the ToC
\setuplist[section][alternative
etupinteraction[state=start]
> \setupinteractionscreen[option=bookmark]
>
> \define[3]\SectionListEntry
> {\par \leftaligned\bgroup
> \hbox to 2em{#3}%
> \hskip 1em
> \vtop{\hsize\dimexpr\textwidth-3em\relax#2}
> \egroup \par}
>
> % Comment o
{\par \leftaligned\bgroup
\hbox to 2em{#3}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}
\egroup \par}
% Comment out this next line to regain section hyperlinks in the ToC
\setuplist[section][alternative=command,command=\SectionListEntry]
\starttext
Table
ut:\verbatim{\vbox{\hbox{abc}\hbox{xyz}}}\crlf
\vbox{\hbox{abc}\hbox{xyz}}\blank
\setupframed[width=0.7\textwidth]
\leftaligned{these are in the command reference}\blank
input:\verbatim{\framed[align=OPTION]{\hbox{abc}\hbox{xyz}}}\blank
inner:\crlf
\framed[align=inner]{\hbox{abc}\hbox{xyz}}\bla
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
initial
prd_book.tex ===
\startproduct prd_book
\project project_cataoia
\starttext
\start
\startstandardmakeup[doublesided=no]
\ss
\hairline \start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Chess}%
\blank[line]
\leftaligned{and the Art of}%
\blank[line
= (-71,-1125) ;
z22 = (-97,-1106) ;
z23 = (-143,-1031) ;
z24 = (-199,-673) ;
z25 = (-155,-211) ;
z26 = (-220,-22) ;
fill z1 for i=2 upto 14: .. z[i] endfor z14 for j=15 upto 26: .. z[j]
endfor .. z1 cycle withcolor red ;
\stopuseMPgraphic
\defineoverlay[leftbrace] [\leftaligned
{\scale[height
,
background=color,
backgroundcolor=mycolor]
\leftaligned{\color[red]{PROPRIÉTÉ}}
\blank[big]
Deux plans ${\cal P}_1$ et ${\cal P}_2$ de l'espace sont soit sécants, soit
parallèles.
\blank[big]
\bTABLE[align={middle,lohi}]
\setupTABLE[column][first][width=0.3\textwidth]
\setupTABLE[column][two][width=0.7
\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
with statement
Right page with page number on top
This is what I have in my prd_book.tex. What is a cleaner way to do this and
also one that works? ;-):
\starttext
\start
\startstandardmakeup \ss
\hairline \start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Foo}%
\blank[line
Am 07.11.2014 um 15:04 schrieb Michał Goliński golin...@amu.edu.pl:
The following example is taken from the wiki
(http://wiki.contextgarden.net/Command/setuplist):
\define[3]\SectionToCEntry{
\leftaligned\bgroup
\hbox to 2em{#3}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth
The following example is taken from the wiki
(http://wiki.contextgarden.net/Command/setuplist):
\define[3]\SectionToCEntry{
\leftaligned\bgroup
\hbox to 2em{#3}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}%
\egroup
}
\setuplist
[part]
[alternative=interactive
[alternative=doublesided]
\setuplayout[backspace=4cm,width=12cm]
\definemeasure[Widetext][\textwidth+\rightmargindistance+\rightmarginwidth]
\define\WideFloatCommand
{\dowithnextbox
{\signalrightpage
\ifdim\nextboxwd\textwidth
\doifrightpageelse{\leftaligned{\flushnextbox
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
,
]
\mainlanguage[fr]
\usemodule[tikz]
\usetikzlibrary[calc]
\starttext
\blank[small]
\leftaligned{\bf Partie A}
\blank[small]
\startitemize[n][stopper=),style=bold]
\item \input knuth
\item \input knuth
\stopitemize
\startcolumns
\blank[small]
\leftaligned{\bf Partie B}
\blank[small]
\startitemize[n
,]
\setupcombinedlist[content][interaction=all,]
\unprotect
\define[3]\SectionToCEntry{%
\hbox \strc_lists_get_reference_attribute\v!all{%
\par \leftaligned\bgroup
\hbox to 2em{#3}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}
\egroup \par%
}
}
\protect
title would be useful.
\unprotect
\define[3]\SectionToCEntry{%
\hbox \strc_lists_get_reference_attribute\v!all{%
\par \leftaligned\bgroup
\hbox to 2em{#3}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}
\egroup \par%
}
}
\protect
\setuplist
\leftaligned\bgroup
\hbox to 2em{\color[red]{#3}}%
\hskip 1em
\vtop{\hsize\dimexpr\textwidth-3em\relax#2}
\egroup \par}
\setuplist[chapter][headnumber=no,pagenumber=no,style=\bfc]
\setuplist[section][alternative=command,command=\SectionListEntry]
\starttext
[pageboundaries={0.1.1.5}] \stopnarrower:
The output of the following minimalistic example is partly attached as .pdf
file. I shortened there
the textheight to 80mm.
a.) I would expect the TOC to be midaligned. But it isn't. It is leftaligned.
b.) I would expect the TOC stopped after the 5th
to be midaligned. But it isn't. It is leftaligned.
b.) I would expect the TOC stopped after the 5th subsection row at page bottom
and to be
continued at the next page due to [pageboundaries={0.1.1.5}]. But it isn't.
2. attempt with
\line{\hfill\vbox{\hsize=.75\hsize\completecontent[pageboundaries
.)
The three commands
- \leftline,
- \rightline and
- \centerline
are copied from plain TeX and allow you to center short text which fits 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
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
[corner=09,width=broad,align=center,height=\headerheight]%
% {\syllabusheader}}]
\startsetups[header]
\startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex]
\startoverlay
{\leftaligned {Left}}
{\midaligned {Middle
\startoverlay
{\leftaligned {Left}}
{\midaligned {Middle}}
{\rightaligned{Right}}
\stopoverlay
\egroup
\stopsetups
\setupheadertexts[\setups{header}]
When you have a longer text for all three fields
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
the
chemical macros. I don't know the current state.
- 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
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
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
\setupmakeup[standard][bottom=,top=]
to
\setupmakeup[standard][bottom=,top=,page=yes]
BTW: The makeup environment has a align key (you can use this to get rid of
all the \centerline and \leftaligned settings) and the font command (\bf, \bs
etc.) don’t take argument and you can
environment has a align key (you can use this to get rid of all
the \centerline and \leftaligned settings) and the font command (\bf, \bs etc.)
don’t take argument and you can remove the braces.
Wolfgang
___
If your question
Hi,
when I run this example ...
\setupcolors[state=stop,conversion=never]%needed for specific reason in project
\startuseMPgraphic{Test}
z1 = (-233,0) ;
z2 = (-220,22) ;
fill z1 for i=2 upto 2: .. z[i] endfor .. z1 cycle ;
\stopuseMPgraphic
\defineoverlay[TTest] [\leftaligned
{\scale
=no]
\starttext
\leftaligned{\centerframe{\tfa } \centerframe{\vi AAA}}
\dontleavehmode\centerframe{\tfa } \centerframe{\vi AAA}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please
[centerframe][frame=off,location=middle,strut=no]
\starttext
\leftaligned{\centerframe{\tfa } \centerframe{\vi AAA}}
\dontleavehmode\centerframe{\tfa } \centerframe{\vi AAA}
\stoptext
Thanks for your help. It's work.
Another question, where have you found \defineframed documentation
I want to use the following macro taken from the ConTeXt garden :
\define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off,
bottomframe=on, topframe=on, width=broad]{\leftaligned{\tfb \chapter
{#1}}\pagenumber}}
Ouch. There is no need to resort to such macros. A nicer definition
I want to use the following macro taken from the ConTeXt garden :
\define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off, bottomframe=on,
topframe=on, width=broad]{\leftaligned{\tfb \chapter {#1}}\pagenumber}}
On 18 sept. 2011, at 20:34, Wolfgang Schuster wrote:
Am 18.09.2011 um 20:29
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
Hi,
In the following example, accents between \startletter and \stopletter only are
not working.
How could this be fixed ?
Thank you in advance !
\usemodule[letter]
\enableregime[il1]
\setupletterstyle[reference][list=reference]\setupletter[reference=\leftaligned{Montréal}]
\setupletter
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
Dear Wolfgang,
Your animation module works really fine.
It reduces a lot of work to set the fieldstack.
I'd like to ask you a few more small things.
1) Is it possible to set the duration time in the case of autoplay?
2) The location of buttons is leftaligned when [menu=yes]. Is it what you want
in the case of autoplay?
I’ll add a key to change this.
2) The location of buttons is leftaligned when [menu=yes]. Is it what you
want or I did something wrong?
Will be fixed.
3) What is the meaning of \start and \stop in animation-1.tex?
I added them to keep the \startMPinitializations settings
%
{%
\externalfigure[#1][width=3in]%
}%
\hss%
}%
}%
}%
}%
\def\Picture#1#2#3%
{\placefigure
[][#3]{#2}%
{\leftaligned{\externalfigure[#1][width=3in,background=Label,backgroundoffset=1ex]}}}
or
\def\Picture#1#2#3%
{\placefigure
[][#3]{#2}%
{\framed
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
. The
ConTeXt source file contains the command:
\setupexternalfigures
[directory={/home/somewhere}]
in the preamble.
The image file is called using:
\leftaligned{\externalfigure[someplot.1][scale=100]}
But no image is presented in the generated pdf-file! However, all
jpg-type of images that I
is correct:
\setuphead
[section,subject]
[style={\ss\bfa},
before={\blank[2*big]},
after={\blank[nowhite]}]
and
\setuphead
[title]
[ style={\ss\bfd},
before={\begingroup\switchtobodyfont[14.4pt]},
after={\leftaligned{\ss\tfa A. U. Thor
$\langle$\from[author-email]$\rangle$}\blank[2
[subsection][style=,command=\SubsectionCommand]
\define[2]\SectionCommand
{\inleftmargin{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin{\leftaligned{\em
]
\setuphead[subsection][style=,command=\SubsectionCommand]
\define[2]\SectionCommand
{\inleftmargin{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin
{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx
{\inleftmargin{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle
\startcheckbox[#1]{
\blank
\leftaligned{#1}
\startitemize[packed, intro, joinedup][margin=\CheckBoxMargin,
symbol=CheckBox, width=\CheckBoxWidth,
distance=\CheckBoxDistance]
}
\def\stopcheckbox{
\stopitemize
\blank
\crlf
]{
\blank
\leftaligned{#1}
\startitemize[packed, intro, joinedup][margin=\CheckBoxMargin,
symbol=CheckBox, width=\CheckBoxWidth,
distance=\CheckBoxDistance]
}
\def\stopcheckbox{
\stopitemize
\blank
\crlf
}
Brr, latex
[ ]No
[ ]A little bit
\definesymbol[checkbox][{[~~~]}]
\starttext
\def\startcheckbox
{\dosingleempty\dostartcheckbox}
\def\dostartcheckbox[#1]%
{\blank
\doifsomething{#1}{\leftaligned{#1}}%
\startitemize[packed,intro,joinedup,columns,three][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em
[ ] No
[ ] A little bit
but I get:
title
[ ]Yes
[ ]No
[ ]A little bit
\definesymbol[checkbox][{[~~~]}]
\starttext
\def\startcheckbox
{\dosingleempty\dostartcheckbox}
\def\dostartcheckbox[#1]%
{\blank
\doifsomething{#1}{\leftaligned{#1}}%
\startitemize
[Front]
\leftaligned{\recurselevel\ - Front}%
\stopbuffer
\startbuffer[Back]
\leftaligned{\recurselevel\ - Back}%
\stopbuffer
\def\printactionpageone{%
\setupbackgrounds [page][background={pozadifront}]%
\getbuffer[Front]\page%
}%
\def\printactionpagetwo{%
\setupbackgrounds [page][background
]
\leftaligned{\recurselevel\ - Front}%
\stopbuffer
\startbuffer[Back]
\leftaligned{\recurselevel\ - Back}%
\stopbuffer
\def\printactionpageone{%
\setupbackgrounds [page][background={pozadifront}]%
\getbuffer[Front]\page%
}%
\def\printactionpagetwo{%
\setupbackgrounds [page][background={pozadiback
.jpg][width=\cardwidth,height=\cardheight]}]
\startbuffer[Front]
\leftaligned{\recurselevel\ - Front}%
\stopbuffer
\startbuffer[Back]
\leftaligned{\recurselevel\ - Back}%
\stopbuffer
\def\printactionpageone{%
\setupbackgrounds [page][background={pozadifront}]%
\getbuffer[Front]\page%
}%
\def
=doublesided,location=, state=stop]
\defineoverlay[pozadifront][{\externalfigure[file1.jpg][width=\cardwidth,height=\cardheight]}]
\defineoverlay[pozadiback][{\externalfigure[file2.jpg][width=\cardwidth,height=\cardheight]}]
\startbuffer[Front]
\leftaligned{\recurselevel\ - Front
{$\left.\vrule height .5\vsize depth .5\vsize
width 0pt\relax\right\}$}%
\leftaligned{\hbox to
.5\wd\scratchbox{\hss\raise\dp\scratchbox\box\scratchbox}}}
\defineoverlay[linkeklammer] [\linkeklammer]
\defineoverlay[rechteklammer][\rechteklammer]
\starttext
\bTABLE
\bTR[align={middle,middle
}}}
\def\rechteklammer
{\setbox\scratchbox\hbox{$\left.\vrule height .5\vsize depth
.5\vsize width 0pt\relax\right\}$}%
\leftaligned{\hbox to
.5\wd\scratchbox{\hss\raise\dp\scratchbox\box\scratchbox}}}
\defineoverlay[linkeklammer] [\linkeklammer]
\defineoverlay[rechteklammer
=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
cause of my problem.
Change the height/depth ratio of the interlinespace.
\showboxes
\starttext
\setupinterlinespace[line=12pt]
\leftaligned{(gplQT}
\setupinterlinespace[line=18pt]
\leftaligned{(gplQT}
\setupinterlinespace[line=28pt]
\leftaligned{(gplQT}
\page
\setupinterlinespace[height
\raise.385em\hbox{\txx#1}}
\leftaligned{%
\rotate[rotation=90]{\externalfigure[abb_12_d][frame=on,width=\dimexpr(\textheight-05pt)]\kern2.5pt\strut}%
\rotate[rotation=90]{\framed[frame=off,height=1cm,width=\dimexpr(\textheight-05pt)]{\vskip2pt
Abbildung 12:\pagereference[Abb_12]{\enskip} Regelungen
}
{\placelocalfootnotes}
\stoplocalfootnotes
\stoptext
The problem is that the footnotes are printed centered over a very small
linewidth. To avoid this I can put every footnote text in a \hbox and then
use \leftaligned{\placelocalfootnotes}}, but this
is rather cumbersome. Has anyone a better solution
\eTD\eTR
\eTABLE
}
{\placelocalfootnotes}
\stoplocalfootnotes
\stoptext
The problem is that the footnotes are printed centered over a very small
linewidth. To avoid this I can put every footnote text in a \hbox and then
use \leftaligned{\placelocalfootnotes}}, but this
is rather cumbersome. Has
centered over a very small
linewidth. To avoid this I can put every footnote text in a \hbox and then
use \leftaligned{\placelocalfootnotes}}, but this
is rather cumbersome. Has anyone a better solution?
With many thanks in advance,
Albrecht
centered over a very small
linewidth. To avoid this I can put every footnote text in a \hbox and then
use \leftaligned{\placelocalfootnotes}}, but this
is rather cumbersome. Has anyone a better solution?
With many thanks in advance,
Albrecht
this I can put every footnote text in a \hbox and then
use \leftaligned{\placelocalfootnotes}}, but this
is rather cumbersome. Has anyone a better solution?
With many thanks in advance,
Albrecht
Hi,
maybe like this:
\setupoutput[pdftex]
\starttext
\startlocalfootnotes[n=0,conversion
I have a book project with a structure I copied a few years ago from
some instructional page. The product file looks like this:
\startproduct prd_book
\project project_teoada
\starttext
\start
\startstandardmakeup \ss
\hairline \start
\switchtobodyfont[20pt]\bf
\leftaligned{Test
. For \startcolumns .. \stopcolumns this is not a solution: an
error message about \prevdepth appears.
\starttext
% bare columns
\leftaligned{\em simplecolumns:}\blank
\startsimplecolumns[n=2]
COLUMN 1\crlf
COLUMN 1.1\crlf
\column
COLUMN 2\crlf
\stopsimplecolumns
\blank
% this does not work
(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
}
\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
1 - 100 of 127 matches
Mail list logo