tailieunhanh - UNIX UNLEASHED PHẦN 5

Định dạng cơ bản với troff / nroff By James C. Armstrong Định dạng với nroff / troff Tổng quan In ấn nroff và các tập tin troff Điền và điều chỉnh đề Khoảng cách dọc dòng Controls Trang điều khiển Fonts và Điều khiển (US) Trong-dòng thoát Sequences Nhân vật đặc biệt Strings và Macros | Part V Text Formatting and Printing Basic Formatting with troff nroff Formating with Macro Packages Formatting Tables with tbl Formatting Equations with eqn Drawing Pictures with pic Creating Graphs with grap Writing Your Own Macros Tools for Writers Processing Printing and Troubleshooting Formatted Files TOC TOC 21 Basic Formatting with troff nroff By James C. Armstrong Formatting with nroff troff An Overview Printing nroff and troff Files Text Filling and Adjusting Vertical Spacing Line Controls Page Control Fonts and Style Controls In-Line Escape Sequences Special Characters Strings and Macros Number Registers Traps and Diversions Tabs Character Conversions and Controls Local Motions Overstrikes Lines and Arcs Conditional Text File Switching and Environments Flotsam and Jetsam Quick Reference of nroff troff Requests Summary 21 Basic Formatting with trofflnroff By James C. Armstrong One of the most common uses for any computer is text processing and in this respect machines running UNIX are no different than any others. Many products exist for UNIX machines including WordPerfect Microsoft Word IslandWrite and FrameMaker. Although very powerful these text processors might not be available on every machine. The best solution for almost every platform is the troff text processor and its cousin nroff. troff is short for text run-off and was originally developed by Joseph Ossanna in the early 1970s for use with the Graphics Systems CAT typesetter. This was the typesetter in use at the Murray Hill Computer Center of Bell Labs where UNIX was first developed. In 1979 in response to the need to support more typesetters Brian Kernighan rewrote troff. Although alternatives were investigated UNIX had already invested a large amount of effort in troff including macro packages and preprocessors for the utility. You have already learned about manual pages which are written in troff using a specialized macro package. Closely associated with troff is nroff. They both use the same

TỪ KHÓA LIÊN QUAN