aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

4.146 - [center] Built-In

Mnemonic aid: center for CENTER justify

See also:  [ljust]  and  [rjust] 

This justifies a string to the center inside a known field-width. If you pass width as a negative number,  [center]  will pad both sides:


[center width,padChar,content]

[center 9,#,foo]
[center -9,#,foo]
----
[style sline [center -[v csize],#, [b] ][nl]]
[style cline # [ljust [sub [v csize] 4], ,[b]] #[nl]]
[style eline [dup [v csize],#][nl]]
[local csize 31]
{sline Comment Block}
{cline}
{cline This is a comment block.}
{cline and this is more of it.}
{cline ditto.}
{cline}
{eline}

###foo
###foo###
----
######## Comment Block ########
# #
# This is a comment block. #
# and this is more of it. #
# ditto. #
# #
###############################
###foo ###foo### ---- ######## Comment Block ######## # # # This is a comment block. # # and this is more of it. # # ditto. # # # ###############################
Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7