cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
OneNorthJMP
Level V

JOURNAL Report Title

I want to create a journal 1st page with title that put in the centre of the page. But, seem like the textbox is always show up at the top of the page. Any idea? 

 

 

nw = New Window( "Reports",
	<<Journal,
	hlb = H List Box(
		lub = Lineup Box( N Col( 1 ), 
//ob_stat = Outline Box( "Statistic Summary"),
			tb = Text Box( "Pegasus Characterization Report" ),
			Page Break Box(), // start new page
		)
	)
);

tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) << Justify Text( "center" ) << setWrap( 800 ) <<
SetWidth( 1200 );

Reports = Current Journal();
Reports << Set page setup( margins( 0.1, 0.1, 0.1, 0.1 ), scale( 0.65 ), portrait( 0 ), paper size( "A4" ) );

 

 

image.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: JOURNAL Report Title

See if this gets you what you want

nw = New Window( "Reports",
	<<Journal,
	spacer box(size(0,600)),
	hlb = H List Box(
		lub = Lineup Box( N Col( 1 ), 
//ob_stat = Outline Box( "Statistic Summary"),
			tb = Text Box( "Pegasus Characterization Report" ),
			Page Break Box(), // start new page
		)
	)
);
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) <<
Justify Text( "center" ) << setWrap( 800 ) << SetWidth( 1200 );
Reports = Current Journal();
Reports << Set page setup(
	margins( 0.1, 0.1, 0.1, 0.1 ),
	scale( 0.65 ),
	portrait( 0 ),
	paper size( "A4" )
);
Jim

View solution in original post

OneNorthJMP
Level V

Re: JOURNAL Report Title

Thanks Nelson. It work for me. 

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: JOURNAL Report Title

See if this gets you what you want

nw = New Window( "Reports",
	<<Journal,
	spacer box(size(0,600)),
	hlb = H List Box(
		lub = Lineup Box( N Col( 1 ), 
//ob_stat = Outline Box( "Statistic Summary"),
			tb = Text Box( "Pegasus Characterization Report" ),
			Page Break Box(), // start new page
		)
	)
);
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) <<
Justify Text( "center" ) << setWrap( 800 ) << SetWidth( 1200 );
Reports = Current Journal();
Reports << Set page setup(
	margins( 0.1, 0.1, 0.1, 0.1 ),
	scale( 0.65 ),
	portrait( 0 ),
	paper size( "A4" )
);
Jim
OneNorthJMP
Level V

Re: JOURNAL Report Title

Thanks Nelson. It work for me. 

Recommended Articles