Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Date in Header/Footer ??


  • To: mathgroup@smc.vnet.net
  • Subject: [mg10377] Re: Date in Header/Footer ??
  • From: "P.J. Hinton" <paulh@wolfram.com>
  • Date: Mon, 12 Jan 1998 04:10:08 -0500
  • Organization: "Wolfram Research, Inc."
  • References: <694bl1$m7g@smc.vnet.net>

On 9 Jan 1998, Kowald wrote:

> Hello,
> 
> I'm using Mathematica 3.0 and I would like to have the current date in
> the Header/Footer when I print my notebooks. Examples are given for the
> filename or page number but not for the date. Can anyone help ???

Just add a ValueBox or change the arguments to the ValueBoxes that you
have in there.  Here are some possibilities since you didn't say what
form you wanted the dat

	ValueBox["Date"]	1/9/98
	ValueBox["DateLong"]	Friday, January 9, 1998

Or you can use pieces to build a date the way you like it.  This
expression:

Cell[TextData[{ValueBox["Day"],".",ValueBox["Month"],".",ValueBox["Year"]}],
  "Header"] 

creates the output "9.1.1998" in italics.

See the FAQ pages:

http://www.wolfram.com/support/FrontEnds/Printing/HeadFoot.html
http://www.wolfram.com/support/FrontEnds/Printing/DefaultHeadFoot.html

for more information.

To see what arguments a ValueBox can take, click open the Input ->
Create Value Display Object....  The dialog box has several of those
expandable scroll menus that break the values down into groups.

--
P.J. Hinton
Mathematica Programming Group           paulh@wolfram.com Wolfram
Research, Inc.                  http://www.wolfram.com/~paulh/




  • Prev by Date: Re: How to draw an ellipse?
  • Next by Date: Why doesn't this work ?
  • Prev by thread: Re: Date in Header/Footer ??
  • Next by thread: Re: Date in Header/Footer ??