overlaps with the content of the
left column
\hrule
\startcolumns[n=2]
Line \par
\blank[1.5ex]
Line \par
Line \par
Line
\stopcolumns
\hrule
\blank[big]
% Same issue with \startframed ... \stopframed
\startframed[offset=none]
\startcolumns[n=2]
Line \par
==
%% HEADER'S FORMAT
%% ===
% set the header logo height
\def\headerlogoheight{13mm}%{40pt}%{13mm}
% carico logo aziendale
\useexternalfigure
[logo]
[.\\TEX\\01-DOCFORMAT\\IMG\\Logo_P
gt; \setupdelimitedtext
> >[extract]
> >[leftmargin=1.5pc,
> > style={\italic},
> > before={\setupindenting[next]},
> > after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
> > \tfx\italic{René Descartes} \stopalignment}]
> >
> >
ext
> >[extract]
> >[leftmargin=1.5pc,
> > style={\italic},
> > before={\setupindenting[next]},
> > after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
> > \tfx\italic{René Descartes} \stopalignment}]
> >
> >
={\setupindenting[next]},
after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
\tfx\italic{René Descartes} \stopalignment}]
\starttext
\startextract
Cogito ergo sum.
\stopextract
\stoptext
```
So it should setup a quotation and mentions the author.
However, here the author is hardcoded
Gerion Entrup schrieb am 06.06.2024 um 12:30:
Hi,
I like to achieve something that looks like this:
```
\definedelimitedtext[extract][blockquote]
\setupdelimitedtext
[extract]
[leftmargin=1.5pc,
style={\italic},
before={\setupindenting[next]},
after={\blank[1ex] \hrule \blank
On 6/6/2024 12:30 PM, Gerion Entrup wrote:
Hi,
I like to achieve something that looks like this:
```
\definedelimitedtext[extract][blockquote]
\setupdelimitedtext
[extract]
[leftmargin=1.5pc,
style={\italic},
before={\setupindenting[next]},
after={\blank[1ex] \hrule \blank[1ex
Hi,
I like to achieve something that looks like this:
```
\definedelimitedtext[extract][blockquote]
\setupdelimitedtext
[extract]
[leftmargin=1.5pc,
style={\italic},
before={\setupindenting[next]},
after={\blank[1ex] \hrule \blank[1ex] \startalignment[flushright]
\tfx\italic{René
ion\blank[3.5cm]\item equation\blank[3.5cm]\item equation\blank[3.5cm] \stopitemize \hrule\column \item Draw the graph of the following linear function.\startitemize[r]\item $2x +3y = 6$\startplacefigure[location={here,none},]\useMPgraphic{mark}\stopplacefigure
item equation\blank[3.5cm] \stopitemize \hrule\column \item Draw the graph of the following linear function.\startitemize[r]\item $2x +3y = 6$\startplacefigure[location={here,none},]\useMPgraphic{mark}\stopplacefigure \item $y = 2x - 1$ \startplacefigure[locati
framed[frame=on,frameoffset=1cm]{\externalfigure[cow][width=3cm,frame=on]}
This following text ends up inside the frame.
\vskip0.25 in\hrule\vskip0.25 in
fr[ef] with offset=1cm: This preceding text is above the frame as desired.
\framed[frame=on,offset=1cm]{\externalfigure[cow][width=3cm,f
,
after={\hrule}
]
\defineenumeration
[example]
[
text=Example,
headalign=middle,
headcolor=white,
headcommand={\inframed[background=color,backgroundcolor=darkgreen,width=\textwidth]},
number=no,
before={%
\starttextbackground[textFrameEx]
},
after
always zero in LuaMetaTeX, so I'm not sure how to get the class/type.
After playing around, I found that this is stored in ".index". I'm able to write to this value just fine, but whenever I
read it I get an error.
This minimal example:
\starttext
\setbox999=\
{\doifmode{hideSolution}{\starteffect[hidden]}}
\def\StopHide{\doifmode{hideSolution}{\stopeffect\blank[\the\noflines*line
+ \the\noflines*halfline]}}
\enablemode[hideSolution]
\starttext
The first line.
\hrule
\StartHide
\samplefile{knuth}
\determinenoflines{\samplefile{knuth}}
\StopHide
\hrule
]}}
\def\StopHide{\doifmode{hideSolution}{\stopeffect\blank[\the\noflines*line +
\the\noflines*halfline]}}
\enablemode[hideSolution]
\starttext
The first line.
\hrule
\StartHide
\samplefile{knuth}
\determinenoflines{\samplefile{knuth}}
\StopHide
\hrule
The second line.
\hrule
\StartHide
On 22/01/2021 23:39, Wolfgang Schuster wrote:
No \do...empty (LMTX only):
\tolerant\protected\def\startzzz#=%
{\hrule
\doifsomething{#1}{\bold{\strut#1}\blank}}
\protected\def\stopzzz
{\blank[10mm]}
\starttext
\startzzz
\input weisman
\stopzzz
\startzzz{Ward}
\input ward
ut it doesn't create
> new environment commands.
>
> \defineuserdata
>[zzz]
>[alternative=zzz,
> after={\blank[10mm]}]
>
> \defineuserdataalternative[zzz][renderingsetup=userdata:zzz]
>
> \startsetups[userdata:zzz]
> \hrule
>
][renderingsetup=userdata:zzz]
\startsetups[userdata:zzz]
\hrule
\doifsomething{\userdataparameter{title}}
{\bold{\strut\userdataparameter{title}}
\blank}
\strut\getuserdata
\stopsetups
\starttext
\startuserdata[zzz]
\input weisman
\stopuserdata
\startuserdata[zzz][title=W
Like this?
\usemodule[annotation] %Thanks for this module, Wolfgang
\defineannotation[zzz]
\define[2]\AnnotationCommand
{\doifelse{\placeannotationtitle}{}{}{\hrule\bf\placeannotationtitle\par}#2\blank[10mm]}
\setupannotation[zzz]
[alternative=command,
command=\AnnotationCommand,
text
I'd like to create a start/stop command with a parameter
\startzzz[a]
one two three
\stopzzz
\startzzz[b]
one two three
\stopzzz
How do i define/pass the tag parameter in the definition?
This does not work (obviously)
\definestartstop[zzz][
before={\hrule\bf tag\blank},
after={\blank
erent default width than *\framed*. Perhaps I missed it.)
New overwrought example:
\definelayer [HRule]
[x=0mm,y=0pt,width=\textwidth,height=\textheight]
\setlayer [HRule]
[hoffset=0pt,voffset=10em]
{\blackrule[color=green,height=1pt,width
t;> % in LMTX defining \HR and \VR to create block matrices:
>> \pushoverloadmode
>> \noaligned\tolerant\protected\def\HR[#1]{\noalign{\hrule #1}}
>> \popoverloadmode
>> \def\VR{\dosingleempty\doVR}
>> \def\doVR[#1]{\NC \hskip-0.5em \vrule #1 \hskip-0.5em \NC}
d\tolerant\protected\def\HR[#1]{\noalign{\hrule #1}}
\popoverloadmode
\def\VR{\dosingleempty\doVR}
\def\doVR[#1]{\NC \hskip-0.5em \vrule #1 \hskip-0.5em \NC}
given the \HR definition that should be
\tolerant\protected\def\VR[#1]{\NC ...\NC}
\definemathmatrix[mymatrix]
[left={\left(\,},
copy below the whole example which can be found later in the mail
archive.
(For mkiv, I don't know how to do the same thing…).
%%% begin block-matrix.tex
% in LMTX defining \HR and \VR to create block matrices:
\pushoverloadmode
\noaligned\tolerant\protected\def\HR[#1]{\noalign
\NC A \VR[depth 2mm] B \NR \HR[height 0.6pt] \NC C \VR D
\NR \stopmatrix}
\pushoverloadmode
\noaligned\tolerant\protected\def\HR[#1]{\noalign{\hrule #1}}
\popoverloadmode
\def\VR{\dosingleempty\doVR}
\def\doVR[#1]{\NC \hskip-0.5em \vrule #1 \hskip-0.5em \NC}
===
=== MkIV ve
\noalign{\hrule}
\NC C \NC \hskip-.5em\vrule \NC \hskip-.5em D \NR
\stopmymatrix
\stopformula
\stoptext
Best regards: Otared K.
> On 26 Nov 2020, at 10:19, Jean-Philippe Rey
> wrote:
>
> Dear list,
>
> I would like to draw matrices with internal lines a
\NR
\noalign{\hrule}
\NC C \hskip .5em |\hskip-.5em \NC D \NR
\stopmymatrix
\stopformula
\stoptext
However I think I have seen sometime ago a more elegant solution, but I could
not find it right now…
Best regards: Otared K.
> On 26 Nov 2020, at 10:19, J
apply to \vskip, wouldn’t it?
also for \hrule and \vrule (and in pdftex/luatex some backend related
primitives); primitives like \hbox have their keyword scan terminated by
a leftbrace token
Hans
from it.
\starttext
\startbuffer
\vrule width 4cm height 4cm depth 0pt\relax
\stopbuffer
\typebuffer \getbuffer
\startbuffer
\hrule width 4cm height 4cm depth 0pt\relax
\stopbuffer
\typebuffer \getbuffer
\startbuffer
\frule width 4cm height 4cm type fill\relax
\stopbuffer
\typebuffer
op of the footer.
\setuppagenumbering
[location=footer]
\setupfooter
[text]
[before=\hrule]
\starttext
\page[dummy]
\stoptext
2. Put the page number in a frame (preferred method).
\setuppagenumbering
[location=]
\setupfootertexts
[{\framed[width=max,frame=off,topframe=on]{\pagen
re is another solution altogether. Any thoughts?
1. Add a rule at the top of the footer.
\setuppagenumbering
[location=footer]
\setupfooter
[text]
[before=\hrule]
\starttext
\page[dummy]
\stoptext
2. Put the page number in a frame (preferred method).
\setuppagenumbering
[loc
opA02]}
%
%%--
\hrule\blank
%%--
%% When \placebtxrendering for the quotation database is removed,
%% none of the text from the database is printed, even though the
%% dataset completeness shows the
[DefNumber]}
}
\defineenumeration[Definition]
[width=fit,
alternative=serried,
text={},
number=no,
before={\DefCommand},
after=\vskip3pt\hrule\blank]
%%% Examples with or without solutions
\defineenumeration[Exam]
[text={\white\translate[en=Exam
r=dBlue]
\define\DefCommand{\incrementnumber[DefNumber]
\textrule[top]{\translate[en=Definition, kr=정 의] \getnumber[DefNumber]}
}
\defineenumeration[Definition]
[alternative=hanging,
width=fit,
alternative=serried,
text={},
number=no,
be
Definition]
[alternative=hanging,
width=fit,
alternative=serried,
text={},
number=no,
before={\DefCommand},
after=\vskip3pt\hrule\blank]
%%% Examples with or without solutions
\defineenumeration[Exam]
[text={\white\translate[en=Example, kr=예제]},
num
from your sample, I wonder whether you need a complete frame or only a
rule in the header.
If you only need a rule, this is the way to go:
\setuplayout[header=5mm,headerdistance=5mm,]
%~ \setupheader[text][after=\vskip 4pt\hrule]
\setupheader[text][after={\blackrule[
width=
stance=5mm,]
%~ \setupheader[text][after=\vskip 4pt\hrule]
\setupheader[text][after={\blackrule[
width=\textwidth,
height=1em]}]
\setupheadertexts[left][right]
\starttext
Page 1
\page[empty,blank]
Page 2
\stoptext
I hope it helps,
Pablo
only a
rule in the header.
If you only need a rule, this is the way to go:
\setuplayout[header=5mm,headerdistance=5mm,]
%~ \setupheader[text][after=\vskip 4pt\hrule]
\setupheader[text][after={\blackrule[
width=\textwidth,
height=1em]}]
\setupheadertexts[lef
Hi Pablo,
Thank you so much !
Fabrice
%\setupbackgrounds[header][text][bottomframe=on]
\setuphead
[chapter]
[header=empty]
\setupheader[text][after=\vskip 1pt \hrule]
\starttext
\starttitle[title={\bf My Book}]
\stoptitle
\placelist[chapter,section][alternative=c]
\stoptext
2017-08
want the rule in those pages. Play with the options:
%~ \setupheader[text][after=\vskip 3pt \hrule]
\setupheader[text][after={\blackrule[
width=\textwidth,
height=1em]}]
It is wiser (not only to solve the problem), that you write a \title
before \placelist.
I hope it helps,
Pablo
ke the header hang:
\setuppapersize[A4]
\setuplayout[backspace=3.5cm,width=14cm]
\setuppagenumbering[alternative=doublesided,location=]
\setupheader[text][after=\hrule]
\setupheadertexts[]
\setupheadertexts[\setups{text a}][][\setups{text b}][]
\startsetups[text a]
\hskip-1.5cm
\framed[
ight and depth options but those are
>> not what I need, I guess. What are height and depth options are for exactly?
Thank you for your answer.
>it's not configurable
Is it configurable in other table types, e.g. in TABLE or xtables?
>i'll an openup key
>
>
>
tance\else\kern\scratchdistance\fi
\hrule\s!height\scratchdimen\s!depth\scratchdimen
\ifzeropt\scratchdistance\else\kern\scratchdistance\fi
\stoptablenoalign}
\setuptables
[\c!openup=\zeropoint]
\protect
...
% \setuplocalinterlinespace[2.2ex]
\setuptables
[openup=-.2ex]
2. C
\input knuth.tex
This is a footnote\footnote {\input ward}
\stopcolumns
\stoptext
%%% end column-footnote.tex
On 22 Sep 2016, at 05:22, Jose Luis Arellano wrote:
Dear list.
When i write a footnote in my document (two columns), ConTeXt do not
draw the hrule above the footnote.
What is the problem
05:22, Jose Luis Arellano wrote:
>
> Dear list.
> When i write a footnote in my document (two columns), ConTeXt do not
> draw the hrule above the footnote.
> What is the problem?
>
> \definecolumnset[n2][n=2,balance=yes]
> \starttext
> \startcolumnset[n2]
>
Dear list.
When i write a footnote in my document (two columns), ConTeXt do not
draw the hrule above the footnote.
What is the problem?
\definecolumnset[n2][n=2,balance=yes]
\starttext
\startcolumnset[n2]
Footnote \footnote[foo]{This is a footnote.} \input linden
\stopcolumnset
\stoptext
Thanks
ing
related to the generation of the .png image?).
Many thanks for your help,
Pablo
> On May 29, 2016 12:36 PM, "Pablo Rodriguez" wrote:
>
> Dear list,
>
> modifying http://wiki.contextgarden.net/Command/hrule#Example, I added
> an "\hrule height .
The version on the wiki is the stable version from mid 2015.
On May 29, 2016 12:36 PM, "Pablo Rodriguez" wrote:
> Dear list,
>
> modifying http://wiki.contextgarden.net/Command/hrule#Example, I added
> an "\hrule height .25in".
>
> I’m afraid that this comm
On 5/29/2016 11:57 AM, Pablo Rodriguez wrote:
On 05/27/2016 02:49 PM, Wolfgang Schuster wrote:
Pablo Rodriguez 26. Mai 2016 um 21:29
In a much simpler case, it seems to work:
\setuphead[section]
[style=\ss\tfa, after={\hrule\blank[samepage,big]}]
%~ [style=\ss\tfa, after={\hrule\blank[big
Dear list,
modifying http://wiki.contextgarden.net/Command/hrule#Example, I added
an "\hrule height .25in".
I’m afraid that this command make all rules vanish in the final document.
The same source compiles fine with latest beta (2016.05.22 15:18) on my
laptop.
Is there anythin
On 05/27/2016 02:49 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 26. Mai 2016 um 21:29
>>
>> In a much simpler case, it seems to work:
>>
>> \setuphead[section]
>> [style=\ss\tfa, after={\hrule\blank[samepage,big]}]
>> %~ [style=\ss\tfa, after={\hrule
Pablo Rodriguez <mailto:oi...@gmx.es>
26. Mai 2016 um 21:29
In a much simpler case, it seems to work:
\setuphead[section]
[style=\ss\tfa, after={\hrule\blank[samepage,big]}]
%~ [style=\ss\tfa, after={\hrule\blank[big]}]
\setuphead[subsection]
[style=\ss, after={\hrule\blank[samepage,
he heading to the next page.
>
> alas, it does not, seems ineffective
In a much simpler case, it seems to work:
\setuphead[section]
[style=\ss\tfa, after={\hrule\blank[samepage,big]}]
%~ [style=\ss\tfa, after={\hrule\blank[big]}]
\setuphead[subsection]
[style=\ss, after={\
On 13/04/16 18:47, Pablo Rodriguez wrote:
Hi Tom, how about another rule? (From
http://wiki.contextgarden.net/Titles#Titling_Style.)
\setuphead[subsubsection] [after=\hrule\blank] I hope it helps, Pablo
Ahh, it's perfect. I missed that page of the wiki! Than
't
> found a way to move it closer to the heading either with \setuphead or
> \setuptextrules.
Hi Tom,
how about another rule? (From
http://wiki.contextgarden.net/Titles#Titling_Style.)
\setuphead[subsubsection]
[after=\hrule\blank]
I hope it h
anted side effects
\dorecurse{41}{wxyz }\par
\dorecurse{42}{wxyz }\par
\dorecurse{26}{wxyz }
\blank
\hrule
\blank
% compare
\parfillskip=0ptplus1fill
\dorecurse{35}{wxy x } xy.\par
\dorecurse{42}{wxyz }\par
\dorecurse{26}{wxyz }
\stoptext
- Michael
> On Mar 21, 2016, at
k ever.
> >>>>
> >>>> Recently I tried to install ConTeXt in an android smartphone with
help
> >>>> of
> >>>> the app "debian noroot". Everything went fine and I'm able to compile
> >>>> documents, but all \fra
>> of
>>>> the app "debian noroot". Everything went fine and I'm able to compile
>>>> documents, but all \framed-Commands lead to the error-message
>>>>
>>>> "tex error on line 2 in file...: !You can't use '\hrule'
Recently I tried to install ConTeXt in an android smartphone with help of
the app "debian noroot". Everything went fine and I'm able to compile
documents, but all \framed-Commands lead to the error-message
"tex error on line 2 in file...: !You can't use '\hrule'
o back ever.
>>
>> Recently I tried to install ConTeXt in an android smartphone with help of
>> the app "debian noroot". Everything went fine and I'm able to compile
>> documents, but all \framed-Commands lead to the error-message
>>
>> "tex error o
th help of
> the app "debian noroot". Everything went fine and I'm able to compile
> documents, but all \framed-Commands lead to the error-message
>
> "tex error on line 2 in file...: !You can't use '\hrule' here except with
> leaders"
>
> Th
of
> the app "debian noroot". Everything went fine and I'm able to compile
> documents, but all \framed-Commands lead to the error-message
>
> "tex error on line 2 in file...: !You can't use '\hrule' here except with
> leaders"
>
> The mi
magine to go back ever.
>>
>> Recently I tried to install ConTeXt in an android smartphone with help of
>> the app "debian noroot". Everything went fine and I'm able to compile
>> documents, but all \framed-Commands lead to the error-message
>>
>> &qu
th help of
> the app "debian noroot". Everything went fine and I'm able to compile
> documents, but all \framed-Commands lead to the error-message
>
> "tex error on line 2 in file...: !You can't use '\hrule' here except with
> leaders"
>
> Th
to compile
documents, but all \framed-Commands lead to the error-message
"tex error on line 2 in file...: !You can't use '\hrule' here except with
leaders"
The minimal example is:
\starttext
\framed{Hello}
\stoptext
I suspect the cause for this might be missing pa
, 2.) in the first braced argument to writetolist.
\definelist[Reprints][criterium=all]
\starttext
\section{Sec 1}
\writetolist[Reprints]{1.}{List entry A}
\subsection{Subsec 1}
\writebetweenlist[Reprints]{\hrule}
\writetolist[Reprints]{2.}{List entr
should be red};
\draw(0,0) node[color=red]{This is red};
\stoptikzpicture
Aditya
It seems there is a problem :
tex error > tex error on line 3 in file
/home/ericd13/documents/Context/essaicouleur.tex: ! Leaders not followed
by proper glue
\hskip
\forcecolorhack ->\leaders \hrule
=red]{This is red};
\stoptikzpicture
Aditya
It seems there is a problem :
tex error > tex error on line 3 in file
/home/ericd13/documents/Context/essaicouleur.tex: ! Leaders not followed
by proper glue
\hskip
\forcecolorhack ->\leaders \hrule
Hi,
How do I get rid of the additional line inserted at the end of a TEX or XML
environment?
Minimal working example:
\starttext
\setuptyping[TEX][before=,after=] % <- trailing interline space
\hrule
\startTEX
\TeX
\stopTEX
\hrule
\medskip
\setuptyping[XML][before=,after=] % <- tr
figure aligns with a baseline. The top can then protrude, if the height
is not a multiple of the line height. But, if the figure heights are
right, it would look good in combination with
\setupfloats[sidespaceafter=0pt].
-Sanjoy
\starttext
\hrule
\placefigure[right]{Caption}{\framed[wi
ct.)
\starttext
{\setupfloats[sidespaceafter=0pt]
\hrule
\placefigure[right,high]{Caption}{\framed[width=5cm,height=4.3cm]{}}
\input knuth
}
\vskip1cm
\hrule
\placefigure[right,high]{Caption}{\framed[width=5cm,height=4.3
[of the first line?] of the first paragraph.
>
> Ah, I can finally answer a question. The key is "high":
>
> \starttext
> \hrule
> \placefigure[right,high]{Caption}{\framed[width=5cm,height=4cm]{}}
> \input knuth
> \stoptext
>
> But that seems too easy.
r a question. The key is "high":
\starttext
\hrule
\placefigure[right,high]{Caption}{\framed[width=5cm,height=4cm]{}}
\input knuth
\stoptext
But that seems too easy. Is it what you want?
-Sanjoy
___
workaround" shows what I'm
trying to achieve, but ideally using a cleaner approach. Does there
exist a magic keyword for that?
\starttext
\hrule
\placefigure[right]{Caption}{\framed[width=5cm,height=4cm]{}}
\input knuth
% ugly workaround
\hrule
\vskip-11pt
\placefigure[right]{Caption}{\framed[
h_yes\pack_textrule_correct_depth_nop
\nointerlineskip
\noindent\vbox
{\color[\directtextrulesparameter\c!rulecolor]
{\hrule\s!depth\directtextrulesparameter\c!rulethickness\s!height\zeropoint\s!width\availablehsize}}}
{\pack_textrule_with_text{#1}}%
\ifvmode
\prevdepth\zeropoint
Dear list, if somebody cares, the following solution works for me:
\hrule
\penalty1
\vfill
\penalty1
\dontleavehmode\framed{...}
\penalty1
\vfill
\penalty1
\hrule height 0pt
\par\penalty-5000
Joshua
Dear list,
at first, I thought the following code (simplified) with frames,
hrules and vfills between them would work to typeset my table. However,
I have now realized that sometimes a pagebreak occurs before the final
(invisible) hrule, and then there's no vfill at the bottom of the page
ustom solution using frames, hrules and
vfills in between. So far, it works well. (A small problem is wrong
hrule spacing at the beginning of the page, and
start/stoplinecorrection leads to wrong vfill-spacing. If I can't sort
it out, I'll write another message.)
Ki
A Sud}][{\rm \sc ESPA 4. Quad. 1}]
\setupfootertexts[{\rm \sc Pàgina \pagenumber\space de \lastpage\space - 13 de
desembre de 2013}]
\usemodule[tikz]
% BUGGY things
\definecolor[headingcolor][c=1,m=0.5431,y=0,k=0.5451]
\setupfooter[text][style={\ss\tfx},color={headingcolor},before={\hrule}]
\setuph
gt; > according to Context reference manual p. 187.
> > But a question remains:
> >
> > Is it a feature of context not to colourize header and footer alone, but
> > only in conjunction with text?
> >
> > 2. In the appended pdf-file it is also to be seen, t
ontext not to colourize header and footer alone, but
> only in conjunction with text?
>
> 2. In the appended pdf-file it is also to be seen, that the horizontal \hrule
> strokes
> are wider than \textwidth, i.e. they begin in leftmargin and extend to
> within
> rightmar
2. In the appended pdf-file it is also to be seen, that the horizontal \hrule
strokes
are wider than \textwidth, i.e. they begin in leftmargin and extend to
within
rightmargin, whereas the vertical \vrule strokes exactly are as high as
expected.
Is there a bug in my program?
Regar
i at <http://wiki.contextgarden.net/Command/setuplist>. The only change
is that I've included [order=command] so that the \hrule ends up at the
right place.
\definelist[Reprints][criterium=all]
\starttext
\section{Sec 1}
\writetolist[Reprints]{1.}{List entry A}
\subsection{Subsec 1}
\writ
style=bold,
command=\midaligned]
\setupheader[text][after=\hrule]
\setupbodyfont[default]
\definebodyfontswitch [xvii] [17.3pt]
\definebodyfontswitch [xiv] [14.4pt]
\definebodyfontswitch [xii] [12pt]
\setupheadtext[content=\rm\xvii\bf Inhaltsverzeichnis]
\definelist[chapte
\or November\or December\fi
\space\number\day, \number\year}
\nopagenumbers
\parindent=0pt
\parskip=0pt
\font\bigss=cmss17 at 25pt
\centerline{\bigss INVOICE}
\noncenteredtables
\vskip .25in
\hrule height 1.5pt
\bigskip
\line{\hfill Date: \today}
\vskip .25in
\line{\ruledtable
VENDOR \cr
John Cul
\startformula
x+y
\stopformula
}
\framed[width=5cm,align=yes]{%
\hairline
\startformula
x+y
\stopformula
\hairline
}
\hairline
\startformula
x+y
\stopformula
\hairline
\framed[align=yes]{%
\type{\vrule \hrule \vbox $$}\\
\hbox{\vrule{\hsize=7cm\vbox{\hrule
$$
x+y
$$
\input{knuth}
\hrule}}\vrule}}
\fram
ad. 1}]
\setupfootertexts[{\rm \sc Pàgina \pagenumber\space de \lastpage\space - 13 de
desembre de 2013}]
\usemodule[tikz]
% BUGGY things
\definecolor[headingcolor][c=1,m=0.5431,y=0,k=0.5451]
\setupfooter[text][style={\ss\tfx},color={headingcolor},before={\hrule}]
\setupheader[text][style={\ss},color={heading
fx},color=headingcolor,before={\hrule}]
\setupheader[text][style={\ss},color=headingcolor,after={\hrule}]
%% Display of headers
\setuphead[title][style={\tfd},align=middle,before={\begingroup},after={\bigskip\endgroup}]
\setupheads[section,subject][style={\tfc}]
\setupheads[subsubject,subsection][st
Am 15.07.2013 um 17:33 schrieb Hans Hagen :
> On 7/15/2013 2:53 PM, Marco Patzer wrote:
>> On 2013–07–15 "H. Özoguz" wrote:
>>
>>> \color[r=0.4,g=0.4,b=0.4]{\hrule} fails.
>>
>> This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4],
On 7/15/2013 2:53 PM, Marco Patzer wrote:
On 2013–07–15 "H. Özoguz" wrote:
\color[r=0.4,g=0.4,b=0.4]{\hrule} fails.
This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4], \color
expects a previously defined colour.
\blackrule[width=10cm,height=1mm
On 2013–07–15 "H. Özoguz" wrote:
> \color[r=0.4,g=0.4,b=0.4]{\hrule} fails.
This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4], \color
expects a previously defined colour.
Marco
signature.asc
Description: Digi
On Mon, Jul 15 2013, H. Özoguz wrote:
> The direct attempt \color[r=0.4,g=0.4,b=0.4]{\hrule} fails.
\definecolor[my hrule color][r=0.4,g=0.4,b=0.4]
\starttext
bla
\color[my hrule color]{\hrule}
bla
\stoptext
--
Pe
On 2013–07–15 "H. Özoguz" wrote:
> \setupheader[text][after=\hrule]
\setupheader[text][after=\blue\hrule]
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to o
Hello there,
after long time I have a question again :)
I use \setupheader[text][after=\hrule] to get a horizontal line below
the header. How can I color this line? The direct attempt
\color[r=0.4,g=0.4,b=0.4]{\hrule} fails.
Thank you.
Huseyin
=start,alternative=doublesided,location=]
>> \setupheader[][style=small,after=\hrule]
>> \setupheadertexts[section][pagenumber][pagenumber][chapter]
>>
>> Problems: 1) the mark "chapter" does not work. The section title
>> appears but not the chapter title.
>
xtwidth. On uneven pages the chapter-names, on even pages the
> section names. Reading the manual (4.16 Headers and Footers), I
> thought this should work:
>
> \setuppagenumbering[start=start,alternative=doublesided,location=]
> \setupheader[][style=small,after=\hrule]
> \
the manual (4.16 Headers and Footers), I
thought this should work:
\setuppagenumbering[start=start,alternative=doublesided,location=]
\setupheader[][style=small,after=\hrule]
\setupheadertexts[section][pagenumber][pagenumber][chapter]
Problems: 1) the mark "chapter" does not work. T
rom Aditya,
> but still has some problem that I don't know how to deal with)
>
> \setupbackgrounds
> [header][text]
> [bottomframe=on]
\setupheader[text][after=\hrule]
Wolfgang
___
If your q
On 3/28/2013 4:36 PM, Thomas Kreuzer wrote:
Am 3/24/2013 20:43, schrieb Marcin Borkowski:
If this \hrule is TeX's primitive \hrule, then you can (maybe) type
[after={\hrule height 0.4pt\relax}] for the default (and change the
height for other dimensions).
That said, this is a low-level
Am 3/24/2013 20:43, schrieb Marcin Borkowski:
If this \hrule is TeX's primitive \hrule, then you can (maybe) type
[after={\hrule height 0.4pt\relax}] for the default (and change the
height for other dimensions).
That said, this is a low-level hack and not very ConTeXt-y (even if it
works,
1 - 100 of 249 matches
Mail list logo