- %% Example of various ways of formatting text in Platypus.
- %% Comments in green, commands in blue, text in black.
- %% To verify, hover the cursor over any colored element.
- %% -------------------------------------------------------
- %%
- %%let's use a custom-sized page
- [pageheight:6.4in][pagewidth:8in][paraskip:1li]
- %%intermingling bold, italic, underline, and strikethrough
- (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.
- %% now justify the text
- [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.
- %%now demo left, center, right alignment in a larger font:
- [paraindent:0pt][paraskip:0pt][fsize:14][align:left]This is left-aligned...
- [align:center]This is center-aligned...
- [align:right]This is right-aligned.[paraskip:1li]
- %%new font face and indenting text on both sides[]
- [ff:Garamond][fsize:13pt][align:just][paraindent:1.5in][paraindentR:1.5in][+i]
- (new font, indented both sides) But, in a larger sense, we can not dedicate -- we can not consecrate -- we
- can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor
- power to add or detract.