Linux web host - Chapter 21 . Working with Words and Images

Chapter 21 . Working with Words and Images 565 The PIC macros (.PS and .PE) let you create simple diagrams and flow charts to use in Groff. PIC is really qualified to create only simple boxes, circles, ellipses, lines, arcs, splines, and some text. The following is some PIC code that could be in a Groff document: .PS box invis Start Here ; arrow box Step 1 ; arrow circle Step 2 ; arrow ellipse Step 3 ; arrow box Step 4 ; arrow box invis End .PE The first line after the .PS indicates an invisible box (invis) that contains the words Start Here, followed by an arrow. That arrow connects to the next box, containing the words Step 1. The next elements (connected by arrows) are a circle (Step 2), an ellipse (Step 3), another box (Step 4), and another invisible box (End). The .PE indicates the end of the pic drawing. If these lines appear in a document called memopic.mm, you can preprocess the PIC code and print the file using the following command: $ groff -Tps -l -mm -p memopic.mm Figure 21-9 shows an example of this drawing. Figure 21-9: Create simple flow diagrams with the pic command s .PS and .PE macros. Text Processing with TeX/LaTeX TeX (pronounced tech) is a collection of commands used primarily to produce scientific and mathematical typeset documents. The most common way to use TeX is by calling a macro package. The most popular macro package for TeX is LaTeX, which takes a higher-level approach to formatting TeX documents. TeX and LaTeX tools are contained in the tetex-latex package. Start Here Step 1 Step 2 Step 3 Step 4 End
Note: In case you are looking for affordable webhost to host and run your web application check Vision cheap hosting services

Leave a Reply