Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-03 00:19:03 +00:00
parent 621859be2f
commit fd7ebaa72d
10 changed files with 148 additions and 7 deletions

View File

@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
- Specify the font and font size:
`pbmtextps -font {{Times-Roman}} -fontsize {{30}} "{{Hello World!}}" > {{path/to/output.pbm}}`
`pbmtextps -font {{Times-Roman}} -fontsize {{30}} "{{Hello World!}}" > {{path/to/output.pbm}}`
- Specify the desired left and top margins:
`pbmtextps -leftmargin {{70}} -topmargin {{162}} "{{Hello World!}}" > {{path/to/output.pbm}}`
`pbmtextps -leftmargin {{70}} -topmargin {{162}} "{{Hello World!}}" > {{path/to/output.pbm}}`
- Do not output the rendered text as a PBM image, but a PostScript program that would create this image: