Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8043

Customizing counters functions

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!news1.as3257.net!nx01.iad01.newshosting.com!newshosting.com!novia!newspump.sol.net!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail
From yves papegay <yves.papegay@sophia.inria.fr>
Newsgroups comp.soft-sys.math.mathematica
Subject Customizing counters functions
Date Fri, 20 Jan 2012 06:59:41 +0000 (UTC)
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <jfb3ct$ht8$1@smc.vnet.net> (permalink)
Lines 10
NNTP-Posting-Date 20 Jan 2012 07:00:07 GMT
NNTP-Posting-Host e18ad7ff.news.twtelecom.net
X-Trace DXC=e5d5oO_G5CcnV27>goj32aC_A=>8kQj6mhHXa^^g6TZdLgf=FB8i5SdEFiONJ7[GofDZF@NTUL1K`
X-Complaints-To abuse@twtelecom.net
Xref x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:8043

Show key headers only | View raw


I'd like to define my own counter function,
let say for example as function f :
f[n_] := StringJoin[Table[".", {n}]]
in order to get a kind of indentation based on a counter.

Any one knows how to do that ?

Thanks,
Yves

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Customizing counters functions yves papegay <yves.papegay@sophia.inria.fr> - 2012-01-20 06:59 +0000

csiph-web