Next: Changing Box Colors   Previous: Layout   Contents: Contents

Center Paragraphs and Images

Question:

How can I center a paragraph or an image?

Answer:

Define macros which use embeded HTML to do the job:


 +CENTER_ON:\EMBED{lang=HTML}<CENTER>\END_EMBED

 +CENTER_OFF:\EMBED{lang=HTML}</CENTER>\END_EMBED

Discussion:

Define the macros in a spceial file which can be included with the \INCLUDE tag or define them just at the beginning of your main PerlPoint file. Then you can use them in the following way:


 \CENTER_ON

 some text

 \IMAGE{src="cool_img.gif"}

 \CENTER_OFF

This text should be centered ...

Next: Changing Box Colors   Previous: Layout   Contents: Contents