tupheads
> [section,subsection]
> [color=darkred]
>
> \setuphead
> [section]
> [style=\bfb]
>
> \setuphead
> [subsection]
> [style=\bfa]
>
>
>
> I use
>
> \setuphead[subsection][number=yes,
> page=yes,
eads
> [section,subsection]
> [color=darkred]
>
> \setuphead
> [section]
> [style=\bfb]
>
> \setuphead
> [subsection]
> [style=\bfa]
>
>
>
> I use
>
> \setuphead[subsection][number=yes,
> p
]
\setuphead
[subsection]
[style=\bfa]
I use
\setuphead[subsection][number=yes,
page=yes,
before={\noindentation\hairline\blank},
after={\nowhitespace\hairline\blank[line]\indentation
> style=\tfx,
> > ]
> > \setuplist[subsection][
> > aligntitle=yes,
> > style=\tfxx,
> > after={\blank[none]},
> > before={\blank[none]},
> > ]
> >
> > \starttext
> >
> > \placecontent
> >
apter][
style=bold,
aligntitle=yes,
]
\setuplist[section][
aligntitle=yes,
style=\tfx,
]
\setuplist[subsection][
aligntitle=yes,
style=\tfxx,
after={\blank[none]},
before={\blank[none]},
]
\starttext
\placecontent
\hai
t; ]
> \setuplist[subsection][
> aligntitle=yes,
> style=\tfxx,
> after={\blank[none]},
> before={\blank[none]},
> ]
>
> \starttext
>
> \placecontent
>
> \hairline
>
> \startchapter[title=foo]
> \startsection[title=foo]
> \s
,
style=\tfxx,
after={\blank[none]},
before={\blank[none]},
]
\starttext
\placecontent
\hairline
\startchapter[title=foo]
\startsection[title=foo]
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
\startsubsection[title=foo]
\stopsubsection
Am Donnerstag, 6. Juni 2024, 16:34:03 MESZ schrieb Wolfgang Schuster:
> \startsetups [userdata:extract]
> \startnarrower
> \setupindenting[next]
> \getuserdata
> \hairline
> \dontleavehmode\wordright{\itx\userdataparameter{author}}
&g
rtalignment[flushright]
> > \tfx\italic{\getcustomvariable{author}} \stopalignment}]
> >
> > \starttext
> > \startextract[author=René Descartes]
> > Cogito ergo sum.
> > \stopextract
> > \stoptext
> > ```
> >
> > Is there an easy way to a
[userdata:extract]
\startnarrower
\setupindenting[next]
\getuserdata
\hairline
\dontleavehmode\wordright{\itx\userdataparameter{author}}
\stopnarrower
\stopsetups
\defineuserdataalternative
[extract]
[renderingsetup=userdata:extract]
\defineuserdata
[next]
\getuserdata
\hairline
\dontleavehmode\wordright{\itx\userdataparameter{author}}
\stopnarrower
\stopsetups
\defineuserdataalternative
[extract]
[renderingsetup=userdata:extract]
\defineuserdata
[extract]
[style=italic,
alternative=extract]
\starttext
contacts]
[
align=center,
page=no,
after={\thinrule\blank[big]}]
\definehead[topic][subject]
\setuphead
[topic]
[
after={\hairline}]
\defineitemgroup
[timeline]
[before=,
inbetween=,
width=6em]
\setuplines[before=,after=,command=\strut]
\definelayer[myb
it in a better way.
Finally instead of
\blackrule[color=black, height=0.10ex, width=13.50cm]
you can use just \hairline, and the thickness and color of such a \hairline can
be adjusted by
\setupthinrules[rulethickness=4pt,color=darkgreen]
(for instance), which should be put before
{1}{\n}}
\starttext
%% dots are vertically aligned
\dorecurse{6}{%%
Foo \PavelFiller Bar\par}
\hairline
%% dots are not aligned
\dorecurse{6}{%%
\oneword\PavelFiller\oneword\par}
\stoptext
Marco
LMTX 2023.09.04 19:15
Dear List,
After compiling the following example, which is from February 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
hich is from February 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
tuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line
Joel via ntg-context schrieb am 25.11.2022 um 23:25:
I have some combinations used throughout my document like this:
\starttext
\startcombination[4*2]
{%
\framed[width=.25\textwidth, height=.25\textwidth]{}%
}{%
\strut word \\ \thinrule\hairline\hairline
I have some combinations used throughout my document like this:
\starttext
\startcombination[4*2] {%
\framed[width=.25\textwidth, height=.25\textwidth]{}%
}{%
\strut word \\ \thinrule\hairline\hairline
[A7,landscape]
\setuplist[alternative=c]
\setuplist[subsection][alternative=d]
\starttext
\placecontent
\hairline
\section{Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
\stoptext
Check if your braces/brackets are r
Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context:
Not working, besides "[alternative=d]" apears on top of the first pdf page.
This works for me:
\setuppapersize[A7,landscape]
\setuplist[alternative=c]
\setuplist[subsection][alternative=d]
\starttext
\placecontent
=italic]
...
\startprompt
\item
\stopprompt
> %written answer (produces some lines after the question for writing an answer)
>
> \define[1]\writingbox{%
> \dorecurse{#1}{%
> \hairline%
> }
> }
There is also: https://wiki.contextgarden.net/Command/fillinrules
\define[1]\writingbox{%
\dorecurse{#1}{%
\hairline%
}
}
\startitemize[n]
\item Which planet is closest to Earth? \writingbox{4}
\item What is the moon made of? \writingbox{4}
\stopitemize
%materials list
\startcolumns[n=3]\startitemize
\item crayons
\item scissors
\item glue
\s
. I note a difference when I define
highlighting. I expected to see no difference in the line before and
line after the hairline the example below, but see that italicface
adapts to nesting, while italic does not:
Are there other places where this makes a difference
expected to see no difference in the line before and
line after the hairline the example below, but see that italicface
adapts to nesting, while italic does not:
Are there other places where this makes a difference?
\setupbodyfontenvironment
[default]
[em=italicface] %same
hairline the example below, but see that italicface
adapts to nesting, while italic does not:
Are there other places where this makes a difference?
\setupbodyfontenvironment
[default]
[em=italicface] %same with italic for this example
\definehighlight
Hello list mavens,
What are the circumstances under which style=italicface should be used
instead of style=italic. I note a difference when I define highlighting.
I expected to see no difference in the line before and line after the
hairline the example below, but see that italicface adapts
Sorry, I didn't send the correct example…
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline}\dontleavehmode\hairline
\startformula
\margintext{
Hi Uschi,
You may add \dontleavehmode at the right place as in the following:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
Dear Pablo!
I have done some changes. How can I get both hairlines in the same height:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me
Hello list, and developers in particular,
I note that thinrules (and its setup, setupthinrules, and relatives
thinrule and hairline) does not have a width setting, and always sets a
rule (or rules) the full width of the text area (less any text set on
the same line.
No problem, but I do see
/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > files > jobname 'j2', input './j2', result 'j2'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level
-100-hairline]
\definefont [JThin] [jost-200-thin]
\definefont [JLigh] [jost-300-light]
\definefont [JBook] [jost-400-book]
\definefont [JMedi] [jost-500-medium]
\definefont [JSemi] [jost-600-semi]
\definefont [JBold] [jost
,
header=0pt,
footer=0pt]
\setuppagenumbering [location=]
\definefontfeature [default]
[default]
[ss01=yes]
\definefont [JHair] [jost-100-hairline]
\definefont [JThin] [jost-200
G},\quad \cal{H},\quad \cal{K},\quad \cal{L},\quad \cal{M},\quad \cal{P},\quad \cal{S},\quad \cal{T}\stopformula\hairline\stopbuffer\switchtobodyfont[lucidaot]{\bf Lucida OT: }\getbuffer[test]\switchtobodyfont[myfont]{\bf Lucida OT with Asana Math: }\getbuffer[test]\stoptext
test-scriptfonts-mkiv.
Wolfgang will cook up a patch ...
The best solution is to remove the values from all three keys because
for now each of them is applies twice (even the style).
\setuptyping
[before=\hairline,
after=\hairline,
style=\tt\em]
\starttext
\starttyping[option=tex]
\donothing
\stoptyping
Fabrice Couvreur schrieb am 01.12.18 um 12:43:
Hello,
I would like to replace the dashed lines with a solid line much like
with the \hairline command
Thank you.
Fabrice
\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]
\starttext
\input knuth \dorecurse{5}{\filler[dots
Hello,
I would like to replace the dashed lines with a solid line much like with
the \hairline command
Thank you.
Fabrice
\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]
\starttext
\input knuth \dorecurse{5}{\filler[dots]}
\input knuth \dorecurse{5}{\hairline}
\stoptext
On Fri, 15 Jun 2018 00:20:23 -0700
"jdh" wrote:
> I want to use a colored hairline, but can't get it working and can't
> find anything to explain any options or parameters.
>
> I've tried
>
> \setuptextrules[rulecolor=red,color=red]
>
I want to use a colored hairline, but can't get it working and can't find
anything to explain any options or parameters.
I've tried
\setuptextrules[rulecolor=red,color=red]
\hairline
or
\hairline[color=red]
Doesn't work
this is a
:\TalkSpeakerName]{}
{\bi Speaker~:\/} \TalkSpeakerName \speakers{\TalkSpeakerName}.\crlf
{\bi Title :} \TalkTitle \crlf
{\bi Time:} \TalkTime \crlf
{\bi Room :} \TalkRoom\crlf
\hairline\par}
\starttext
\getparameters[Talk]%
[SpeakerName
file, even it were part of an \input file. For instance after typesetting the
file:
%%% begin synctex-example.tex
\setupsynctex[state=start,method=max]
\starttext
\input knuth.tex
\hairline
\input ward.tex
\stoptext
%%% end synctex-example.tex
I could click on the sentence « The separation of any
instance after typesetting the
file:
%%% begin synctex-example.tex
\setupsynctex[state=start,method=max]
\starttext
\input knuth.tex
\hairline
\input ward.tex
\stoptext
%%% end synctex-example.tex
I could click on the sentence « The separation of any of these » in the PDF
file and the file
gt; \doifinstringelse{\mymacro}{123}{equal content}{not equal content}
>
> \doifincsnameelse{\mymacro}{123}{equal content}{not equal content}
>
>
> \hairline
>
> mymacro[123]
>
> \doifelse{\mymacro[123]}{123}{equal content}{not equal content}
>
> \doifsamestringelse{
}
\doifincsnameelse{\mymacro}{123}{equal content}{not equal content}
\hairline
mymacro[123]
\doifelse{\mymacro[123]}{123}{equal content}{not equal content}
\doifsamestringelse{\mymacro[123]}{123}{equal content}{not equal content}
\doifinstringelse{\mymacro[123]}{123}{equal content}{not equal
ot;mymacro", {
macro = function ()
context.dosingleempty()
context["domymacro"]()
end
})
\stopluacode
\def\myothermacro{123}
\hairline
\mymacro[123]
\mymac
end if you
directly feed back into tex anyway
\def\myothermacro{123}
\hairline
\mymacro[123]
\mymacro
\myothermacro
\hairline
\doifelse{\mymacro}{\mymacro[123]}{equal content}{not equal content}
\doifsamestringelse{\mymacro}{\mymacro[123]}{equal content}{not equal content}
\do
end
>})
> interfaces.definecommand("mymacro", {
> macro = function ()
> context.dosingleempty()
> context["domymacro"]()
>
;, {
> macro = function ()
> context.dosingleempty()
> context["domymacro"]()
> end
> })
> \stopluacode
>
> \def\myothermacro{123}
>
> \hairline
>
uot;mymacro", {
macro = function ()
context.dosingleempty()
context["domymacro"]()
end
})
\stopluacode
\def\myothermacro{123}
\hairline
\mymacro[123]
\mymacro
\myothermacro
\hairline
-1}}\Bigr)^2
\stopformula
\startformula
\sqrt{1+\Bigl({f(x_k)-f(x_{k-1}) \over x_k - x_{k-1}}\Bigr)^2}
\stopformula
\stopbuffer
\getbuffer[math]
\hairline
\setupmathradical[sqrt][alternative=default]
\getbuffer[math]
\stoptext
interesting side effect of Ustack (i'll look at it)
{1+\Bigl({f(x_k)-f(x_{k-1}) \over x_k - x_{k-1}}\Bigr)^2}
\stopformula
\stopbuffer
\getbuffer[math]
\hairline
\setupmathradical[sqrt][alternative=default]
\getbuffer[math]
\stoptext
%%% end of test file
> On 7 Jun 2017, at 16:50, Mikael P. Sundqvist wrote:
>> […]
>
> Hans,
{#1}\par
\stopxmlsetups
\startbuffer[test]
\stopbuffer
\startbuffer[dataset]
this is subnode-1
this is subnode-2
this is subnode-3
\stopbuffer
\starttext
\xmlprocessbuffer{root}{test}{}
\hairline
\stoptext
\starttext
\xmlprocessbuffer{root}{test}{}
\hairline
\stoptext
___
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/mailman/listinfo
} =
O(1) \NR[eq:O-ev-1]
\NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n}u_{n} = O(1)
\NR[eq:O-ev-2]
\NC a_{n} = o(u_{n})\; \mbox{ et }\; b_{n} = O(v_{n}) \imply a_{n}b_{n} =
o(u_{n}v_{n}) \NR[+]
\stopLgather
\stopformula
\blank
\hairline
\blank
\startformula
\startalign[n=2,align=left
-1]
\NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n}u_{n} = O(1)
\NR[eq:O-ev-2]
\NC a_{n} = o(u_{n})\; \mbox{ et }\; b_{n} = O(v_{n}) \imply a_{n}b_{n} =
o(u_{n}v_{n}) \NR[+]
\stopLgather
\stopformula
\stopproclaim
\blank
\hairline
\blank
\setupformulas[location=right]
\startproclaim
success with the MWE I posted earlier.
Try as a might, I cannot seem to keep the paragraph head "{\ss\tfc
English (Grade 12)}" and the hairline together. I can, however, keep
the hairline and the following lorem text together, but I need all three
elements to float as a group: the parag
might, I cannot seem to keep the paragraph head "{\ss\tfc
English (Grade 12)}" and the hairline together. I can, however, keep
the hairline and the following lorem text together, but I need all three
elements to float as a group: the paragraph header, hairline, and
paragraph bo
Grade 12)}" and the hairline together. I can, however, keep
the hairline and the following lorem text together, but I need all three
elements to float as a group: the paragraph header, hairline, and
paragraph body.
Would anyone have any suggestions on how to accomplish this?
Many
stripped away most of the details as well as the application
fonts, but the issue that I am facing is related to keeping the course
header (done as a paragraph environment), \hairline, and the teacher's
comment for that course together as a unit.
At a minimum, I would like the three elements
]
but these do not work.
One might think about trying
\bTR [bottomframe=on,framecolor=white,rulethickness=.25em]
...
\eTR
but this presents several problems:
1) When using background=color, the background color gives a hairline
overflow beyond the rule, at least using the pdf viewers that I have
might think about trying
\bTR [bottomframe=on,framecolor=white,rulethickness=.25em]
...
\eTR
but this presents several problems:
1) When using background=color, the background color gives a hairline
overflow beyond the rule, at least using the pdf viewers that I have on
my computer.
2) there
%
>
> \usebtxdataset[biblio.buffer]
>
> %%%%
>
> \starttext
>Hello \cite[Angell] \cite[Me] \cite[101]!
>
>\hairline
>\placelistofpublications[criterium=all]
> \stoptext
>
--
Alan Braslau
CEA DSM-IRAMIS-SPE
uffer]
\starttext
Hello \cite[Angell] \cite[Me] \cite[101]!
\hairline
\placelistofpublications[criterium=all]
\stoptext
crashes with:
"
D:\Lukas\Docs\Ull-Gra\Test>context.exe Bib64.mkiv --nonstopmode
mtx-context | run 1: luatex
--fmt="c:/Ctx-Beta/tex/texmf-cache/lu
%%
\starttext
Hello \cite[Angell] \cite[Me] \cite[101]!
\hairline
\placelistofpublications[criterium=all]
\hairline
%\placepublications[criterium=all] % (2)
\stoptext
Some more questions:
1) Is "\placepublications" deprecated?
I'm getting "Undefined cont
Hello,
let's have the following example with hidden section:
\definehead[HidSec][section]
\setuphead[HidSec][placehead=hidden]
\starttext
\placecontent
\hairline
\HidSec{A}
\subsection{B}
\subsection{C}
\stoptext
It gives:
"
1.1 B 1
---
1.2 B
1.2 C
&qu
%\setuplist[content][level=subsection] % Doesn't work
%\setuplist[content][section,subsection] % Doesn't work
\starttext
\placecontent[level=subsection] % Doesn't work
\hairline
\placecontent[level=3] % Doesn't work
\hairline
\section{Sec}
\subsection{SSec}
] % Doesn't work
\starttext
\placecontent[level=subsection] % Doesn't work
\hairline
\placecontent[level=3] % Doesn't work
\hairline
\section{Sec}
\subsection{SSec}
\subsubsection{SSSec}
\stoptext
I studied wiki (http://wiki.contextgarden.net/Command/setuplist) an
Hello,
I'm not able to limit level of sections in TOC so to not show \subsubsection:
%\setuplist[content][level=subsection] % Doesn't work
%\setuplist[content][section,subsection] % Doesn't work
\starttext
\placecontent[level=subsection] % Doesn't work
\hairline
vative only at the origin, and such that
$\FunctionName(0) = 1$.
\par \hairline\par
}
\stoptext
end choose-random-names.tex by Hans
On 18 Apr 2015, at 22:36, Hans Hagen wrote:
On 4/18/2015 10:24 PM, Otared Kavian wrote:
Hi again Wolfgang,
Thanks to your hint, I could solve
f\FunctionName {\ctxlua{document.GetChosenName()}}
\SetListOfFunctionNames[a,b,c,d]
\dorecurse{10}{
Give an example of a function
$\NewFunctionName : {\Bbb R} \longrightarrow {\Bbb R}$
which has a derivative only at the origin, and such that
$\FunctionName(0) = 1$.
\par
Bbb
R}$ which has a derivative only at the origin, and such that
${\ChosenFunction}'(0) = 1$.\par \hairline\par}
\stoptext
end choose-element.tex
\starttext
\startluacode
local FunctionNames = { "G" , "W" }
local FunctionName = FunctionN
origin, and such that
${\ChosenFunction}'(0) = 1$.\par \hairline\par}
\stoptext
end choose-element.tex
> On 18 Apr 2015, at 19:23, Wolfgang Schuster
> wrote:
>
>
>> Am 18.04.2015 um 18:55 schrieb Otared Kavian :
>>
>> Hi everyone,
>>
>> In
etevalue{Named#1}{\ctxlua{tex.print(math.random(#2,#3))}}}
>> \define\RandomFunctionName{\ctxlua{tex.print(Name[\NamedFunctionNumber])}}
>>
>> \dorecurse{10}{\RandomName{FunctionNumber}{1}{5}%
>> Give an example of a function $\RandomFunctionName : {\Bbb R}
>> \lon
an example of a function $\RandomFunctionName : {\Bbb R} \longrightarrow
> {\Bbb R}$ which has a derivative only at the origin, and such that
> $\RandomFunctionName(0) = 1$.\par \hairline\par}
>
> \stoptext
> begin random-names.tex
You can access the size of your Name
onName{\ctxlua{tex.print(Name[\NamedFunctionNumber])}}
\dorecurse{10}{\RandomName{FunctionNumber}{1}{5}%
Give an example of a function $\RandomFunctionName : {\Bbb R} \longrightarrow
{\Bbb R}$ which has a derivative only at the origin, and such that
$\RandomFunctionName(0) = 1$.\par \ha
d different settings for caption label, here is the code:
>
> ----
>
> \starttext
>
> \setupcaption[figure][numberstopper={. ábra.}]
> \setuplabeltext[figure={}]
>
> Code:
>
> \verbatim{\setupcaption[figure][numberstop
d different settings for caption label, here is the code:
>
> ----
>
> \starttext
>
> \setupcaption[figure][numberstopper={. ábra.}]
> \setuplabeltext[figure={}]
>
> Code:
>
> \verbatim{\setupcaption[figure][numberstop
2.pdf.
I also tried different settings for caption label, here is the code:
\starttext
\setupcaption[figure][numberstopper={. ábra.}]
\setuplabeltext[figure={}]
Code:
\verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par
\verbatim{\setuplabelte
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
ss all file too (endless cycle)
> \doloopif{1}{==}{1}{\tablelineaction}
>
> And here is end
>
> \page
>
> Printing only specific data:
>
> \doloopif{\name}{eq}{You}{\tablelineaction}
>
> \page
>
> Simpletablelineaction:
>
> \doloopif{1}{==}{1}{\si
} % begin
line hook
\def\elinehook{\hairline\par} % end line hook
\def\bfilehook{Here is all CSV file:\blank[2*big] } % begin CSV file hook
\def\efilehook{\par Here is end of file processing\par} % end CSV file hook
\doloopif{1}{==}{1}{\tablelineaction}
\stoptext
Dne 8.12.2014 17:21
ft corner
> Left page 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[
Empty page (first left)
Right page with text (not yet in the lower left corner
Left page 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
Hello ConTeXist.
Is there possibility move hairline in itemize environment to the leftto
start from the beginning of the line independently indentation environment?
Thanx Jaroslav Hajtmar
Here is minimal example:
\starttext
\startitemize[n]
\item \input ward
\hairline %this line move to
,
before={\hairline},
after={\hairline\blank[.4cm]}
Matthias
On Aug 17, 2014, at 2:40 PM, Gerben Wierda wrote:
> Is there a way to get underlined headers with \setuph
accomplished by:
\setupheader[state=stop]
\setupfooter[text][before=\hairline,style=small,location=left,strut=yes]
\setupfootertexts[some text][pagenumber]
I want the first page without that footer, to be done with:
\noheaderandfooterlines
But then comes the problem, because afterwards the defaul
Am 20.07.2014 um 12:03 schrieb Meer, H. van der :
> My goal is pages without header info at the top and text plus a pagenumber on
> the bottom. This can be accomplished by:
> \setupheader[state=stop]
> \setupfooter[text][before=\hairline,style=small,location=left,strut=yes]
> \s
My goal is pages without header info at the top and text plus a pagenumber on
the bottom. This can be accomplished by:
\setupheader[state=stop]
\setupfooter[text][before=\hairline,style=small,location=left,strut=yes]
\setupfootertexts[some text][pagenumber]
I want the first page without that
%%%
\starttext
\setupformulas[spacebefore=-1ex]
\framed[width=5cm,align=yes]{%
Hello
}
\framed[width=5cm,align=yes]{%
Hello
\startformula
x+y
\stopformula
}
\framed[width=5cm,align=yes]{%
%Hello
\startformula
x+y
\stopformula
}
\framed[width=5cm,align=yes]{%
\vskip-1.3\baselineskip
any other way to set `before` without breaking
the headers?)
Here an example:
\setuphead[chapter][
before=\hairline\blank, %<<< headers work, if this line is removed
after=\nowhitespace\hairline,
]
\setuppagenumbering[location=] % clear pag
={\bf\sc},
before=\hairline\blank,
after=\nowhitespace\hairline]
\setuphead
[section]
[color=grisoscuro,numberstyle=bold,
textstyle={\sc\bf}]
\setuphead
[subsection]
[color=grisoscuro,textstyle=\sc]
%\define[2]\dos{%
% \bTABLE
% \setupTABLE[align=middle]
% \setupTABLE[r][1][style
.
Is this intentional or is it something like a % missing somewhere in a macro?
Hans van der Meer
Sorry, flew accidentally to early away. Here the attached output.
\setuppapersize[A6][A6]
\setupbodyfont[lucidaot]
\starttext
First line.\crlf
\start
\switchtobodyfont[euler]
Font switch here.\crlf
flew accidentally to early away. Here the attached output.
>
> \setuppapersize[A6][A6]
> \setupbodyfont[lucidaot]
> \starttext
> First line.\crlf
> \start
> \switchtobodyfont[euler]
> Font switch here.\crlf
> \stop
> Last line.
> \hairline
> First line.\crlf
>
[lucidaot]
\starttext
First line.\crlf
\start
\switchtobodyfont[euler]
Font switch here.\crlf
\stop
Last line.
\hairline
First line.\crlf
\start
Font switch here.\crlf
\stop
Last line.
\stoptext
fontswitch.pdf
Description: fontswitch.pdf
[euler]
Font switch here.\crlf
\stop
Last line.
\hairline
First line.\crlf
\start
Font switch here.\crlf
\stop
Last line.
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki
Hi,
Maybe you need something like \hairline:
\setupthinrules[height=.1pt,depth=.1pt]
\setupheader[after=\hairline]
You can also enclose your header in a \framed commande, such as
\framed[frame=off,bottomframe=on]
Best regards: OK
On 24 mars 2013, at 13:32, Thomas Kreuzer wrote
Hello everyone,
I'd like to know if it is possible to get a thinner hrule in headers (mkiv).
Right now I am using
\setupheader[after=\hrule]
replacing hrule with thinrule or hairline results in space below the
header text and the line, and the line actually spans two lines.
How
ant, a simple way is to use the framedtext
environment which can be positioned on the right margin, complexes
solutions are possible but they require more code.
\defineframedtext[epigraph][location=right,frame=off,offset=.25ex]
\starttext
\title{Ward}
\startepigraph
\input ward
\hairline
On 1/24/2013 10:26 AM, Devendra Ghate wrote:
**MWE**
\starttext
%\margintext{\thinrule A margintext with thinrule.}
\margintext{\hairline A margintext with hairline.}
\stoptext
btw, after fixing it this becomes a MNWE as a \margintext without
anything following it will never show up
1 - 100 of 257 matches
Mail list logo