Radhelorn wrote:Adrian Drury wrote:
Hello,
I'm having trouble using dropped caps within \startlines\stoplines. I'm trying to typeset some poetry and I'm using \setuplines[space=yes]. I'd like to use dropped caps and have the indented lines be additionally indented by any space at the beginning
Adrian Drury wrote:
Hello,
I'm having trouble using dropped caps within \startlines\stoplines.
I'm trying to typeset some poetry and I'm using
\setuplines[space=yes]. I'd like to use dropped caps and have the
indented lines be additionally indented by any space at the beginning
for any suggestions.
-
\setuplines[before=,after=]
\def\startcommand{\dosingleargument\dostartcommand}
\def\dostartcommand[#1]%
{\bgroup\defineshortcut[style=bold]#1\startlines\startsidebar}
\def\stopcommand{\stopsidebar\stoplines\egroup}
\starttext
\startcommand
this must
.
-
\setuplines[before=,after=]
\def\startcommand{\dosingleargument\dostartcommand}
\def\dostartcommand[#1]%
{\bgroup\defineshortcut[style=bold]#1\startlines\startsidebar}
\def\stopcommand{\stopsidebar\stoplines\egroup}
\starttext
\startcommand
this must be bold
\input knuth
this is bold
this
with various manipulations with \noindent with moderate success.
Another problem is necessity to explicitly add % character before
\stopcommand to ignore newline. How to do this inside macro with this
combination of lines and sidebar?
Thanks in advance for any suggestions.
-
\setuplines
Hello,
I'm having trouble using dropped caps within \startlines\stoplines.
I'm trying to typeset some poetry and I'm using
\setuplines[space=yes]. I'd like to use dropped caps and have the
indented lines be additionally indented by any space at the beginning
of the lines.
See the following
\startcolor[#1]\processinlineverbatim{\stopcolor\egroup}}
\setuplines[space=yes]
\starttext
\startlines
\setverbatimspaceskip
\frenchspacing
\parindent\zeropoint
\verbatimfont
\highlight[Comment]{/*}
\highlight[Comment]{ * contents: A minimal C program.}
\highlight[Comment]{ *}
\highlight[Comment
On Mon, 31 Oct 2005, Hans Hagen wrote:
\Numero uses \high and this command sets the height/depth to strut
height/depth
put a \obeydepth after \stoplines
(and also say: \setuplines[before=,after=])
\section{More vertical space with \tex{startlines}}
\framed[align=flushleft,
top
by \framed, but \startlines .. \stoplines, so
you have to fiddle with
\setuplines[before={\blank[???]}, after={\blank[???]},
inbetween={\blank[???]}}
% with ???=.xx\bodyfontsize to be font size independent
\framed[align=flushleft,
top=\vskip-1.9\lineheight,bottom=\vskip-0.75\lineheight
with embedded floats.
What do I need to fix so that the default \def\normalspace{ } has the
correct width for the current font?
Below is an example file that renders fine with lm/cm, but not my font.
%\usetypescript [gurulabs]
\starttext
\setuplines[space=yes]
\bgroup\tt\startlines
1 3 5 7 9 11 13 15
Christoph Czarnetzki wrote:
Hello!
i want to put a box on the right, bottom side of my initial page. Its like
Like so?
\starttext
\startstandardmakeup
\setupalign[flushright]
\setuplines[after=,before=\vfill\hairline]
\startlines
line 1
line 2
line 3
\stoplines
Taco Hoekwater schrieb:
Christoph Czarnetzki wrote:
Hello!
i want to put a box on the right, bottom side of my initial page. Its
like
Like so?
\starttext
\startstandardmakeup
\setupalign[flushright]
\setuplines[after=,before=\vfill\hairline]
\startlines
line 1
line 2
,
the following should work ok
\setupindenting[medium]
\setuplines[indenting=no]
\startlines
first
second
third
fourth
\stoplines
\setuplines[indenting=yes]
\startlines
first
second
third
fourth
\stoplines
\setuplines[indenting=odd]
\startlines
first
second
third
fourth
\stoplines
\setuplines
-effect of using \obeyspaces. Here is an
example of the needed source changes to get your expected
output:
\starttext
\bgroup\tt
\ConTeXt\ is A\bgroup\ttsl maz\egroup ing
\setuplines[space=yes]
\startlines
\ConTeXt\ is A{\ttsl{}maz}ing
I didn't expect spaces around maz
\stoplines
Below is a simple test case that illustrates what I suspect are bugs
with \startlines. I suspect that fixing them will be tricky, so I'm
wondering if anyone can think of work arounds.
\starttext
\bgroup\tt
\ConTeXt\ is A\bgroup\ttsl maz\egroup ing
\setuplines[space=yes]
\startlines
\ConTeXt
Le 25 déc. 04, à 20:03, John Culleton a écrit :
On Friday 24 December 2004 09:23, Mojca Miklavec wrote:
Maurice Diamantini wrote:
Well I agree that it's no more typing any more!
So a special option for \setuplines would be more appropriate?
Exactly, \starttyping does exactly that what you don't
to startLines with other hack,
but it doesn't seem to be suffisant (but I didn't expect to!).
Any way thank you for the solution !
\unprotect
\setuplines[\c!space=\v!default]
\def\startlines
{\@@rgbefore
\whitespace
%\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak
,
but it doesn't seem to be suffisant (but I didn't expect to!).
no, just the same command, but with an option:
\setuplines[space=on]
if there is real demand for it i can always make a
\definelines[lines]
\definelines[Lines][space=on]
Hans
Christmas present ...
\unprotect
\setuplines[\c!space=\v!default]
\def\startlines
{\@@rgbefore
\whitespace
%\page[\v!preference]} gaat mis na koppen, nieuw: later \nobreak
\begingroup
\def\@@rgstepyes{\parindent\zeropoint}%
\def\@@rgstepno {\parindent\zeropoint}%
\edef
On Friday 24 December 2004 09:23, Mojca Miklavec wrote:
Maurice Diamantini wrote:
Well I agree that it's no more typing any more!
So a special option for \setuplines would be more appropriate?
Exactly, \starttyping does exactly that what you don't want: it disables
math and expansion
for \setuplines would be more appropriate?
Le 24 déc. 04, à 09:07, Maurice Diamantini a écrit :
Bonjour à tous,
I'm trying to white some algorithms in natural language
(versus pseudo-computing langage)
I need to keep some typing for write space
(i.e. indentation of text) while being able to white
TeX commands
Maurice Diamantini wrote:
Well I agree that it's no more typing any more!
So a special option for \setuplines would be more appropriate?
Exactly, \starttyping does exactly that what you don't want: it disables
math and expansion of TeX commands.
Also, perhaps my request is simply an option
font changes are allowed.
Of course \centerline{} works but this requires tagging each line.
Any thoughts, anyone?
This worked for me:
\startalignment[middle]
\setuplines[indenting=no]
\startlines
{\it Out of his mouth a red, red rose!
Out of his heart a white!
For who can say by what strange
font changes are allowed.
Of course \centerline{} works but this requires tagging each line.
Any thoughts, anyone?
This worked for me:
\startalignment[middle]
\setuplines[indenting=no]
\startlines
{\it Out of his mouth a red, red rose!
Out of his heart a white!
For who can say by what strange
101 - 124 of 124 matches
Mail list logo