From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
Subject: Re: question about linenotes
Date: Sun, 5 Nov 2006 22:20:32 +0100 [thread overview]
Message-ID: <4EB45C91-FDD7-44F7-981A-23974793A83C@uni-bonn.de> (raw)
In-Reply-To: <454E20EC.9070502@wxs.nl>
On Nov 5, 2006, at 6:35 PM, Hans Hagen wrote:
> \unprotect
>
> \def\donoplacelinenumber
> {\the\everylinenumber}
>
> \def\doplacelinenumber
> {\ifnum\linenumber<\@@rnstart\relax
> \donoplacelinenumber
> \else
> \ifnum\numexpr(\linenumber/\@@rnstep)*\@@rnstep\relax=\linenumber
> \doattributes\??rn\c!style\c!color\dodoplacelinenumber
> \else
> \donoplacelinenumber
> \fi
> \fi}
Wonderful, that works! Thanks a lot!
Best
Thomas
prev parent reply other threads:[~2006-11-05 21:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-05 12:33 Thomas A. Schmitz
2006-11-05 17:35 ` Hans Hagen
2006-11-05 21:20 ` Thomas A. Schmitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB45C91-FDD7-44F7-981A-23974793A83C@uni-bonn.de \
--to=thomas.schmitz@uni-bonn.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).