Align columns: Difference between revisions
Content added Content deleted
m (→(boxed output): added/changed come comments, added whitespace.) |
m (added related tasks.) |
||
Line 14: | Line 14: | ||
Further,$allow$for$each$word$in$a$column$to$be$either$left$ |
Further,$allow$for$each$word$in$a$column$to$be$either$left$ |
||
justified,$right$justified,$or$center$justified$within$its$column.</pre> |
justified,$right$justified,$or$center$justified$within$its$column.</pre> |
||
Note that: |
Note that: |
||
# The example input texts lines may, or may not, have trailing dollar characters. |
# The example input texts lines may, or may not, have trailing dollar characters. |
||
# All columns should share the same alignment. |
# All columns should share the same alignment. |
||
# Consecutive space characters produced adjacent to the end of lines are insignificant for the purposes of the task. |
# Consecutive space characters produced adjacent to the end of lines are insignificant for the purposes of the task. |
||
# Output text will be viewed in a mono-spaced font on a plain text editor or basic terminal. |
# Output text will be viewed in a mono-spaced font on a plain text editor or basic terminal. |
||
# The minimum space between columns should be computed from the text and not hard-coded. |
# The minimum space between columns should be computed from the text and not hard-coded. |
||
# It is ''not'' a requirement to add separating characters between or around columns. |
# It is ''not'' a requirement to add separating characters between or around columns. |
||
{{Template:Strings}} |
|||
<br><br> |
<br><br> |
||