1. %% Example of various ways of formatting text in Platypus.
  2. %% Comments in green, commands in blue, text in black.
  3. %% To verify, hover the cursor over any colored element.
  4. %% -------------------------------------------------------
  5. %%
  6. %%let's use a custom-sized page
  7. [pageheight:6.4in][pagewidth:8in][paraskip:1li]
  8. %%intermingling bold, italic, underline, and strikethrough
  9. (Intermixed italic, bold, underline, and strikethrough text.) [+i]Four score and seven years ago [+b]our fathers brought[-i] forth on [+u]this[-u] continent,[-b] a new nation, conceived in Liberty, and dedicated to the proposition that all [+st]men[-st][+i][+u]people[-u][-i] are created equal.

  10. %% now justify the text
  11. [fsize:10][align:just][noindent](Justified text) Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this.

  12. %%now demo left, center, right alignment in a larger font:

  13. [paraindent:0pt][paraskip:0pt][fsize:14][align:left]This is left-aligned...

  14. [align:center]This is center-aligned...

  15. [align:right]This is right-aligned.[paraskip:1li]

  16. %%new font face and indenting text on both sides[]
  17. [ff:Garamond][fsize:13pt][align:just][paraindent:1.5in][paraindentR:1.5in][+i]
  18. (new font, indented both sides) But, in a larger sense, we can not dedicate -- we can not consecrate -- we
  19. can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor
  20. power to add or detract.