⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 groff_out.man

📁 早期freebsd实现
💻 MAN
字号:
'\" e.\" -*- nroff -*-.\" This man page must be preprocessed with eqn..ie \n(.g .ds ic \/.el .ds ic \^.TH GROFF_OUT @MAN5EXT@ "@MDATE@" "Groff Version @VERSION@".SH NAMEgroff_out \- groff intermediate output format.SH DESCRIPTIONThis manual page describes the format output by GNU troff.The output format used by GNU troff is very similar to that usedby Unix device-independent troff. Only the differences are documentedhere..LPThe argument to the.B scommand is in scaled points (units of.IR points/ n ,where.I nis the argument to the.B sizescalecommand  in the DESC file.)The argument to the.B x\ Heightcommand is also in scaled points..LPThe first three output commands are guaranteed to be:.IP.BI x\ T\  device.br.BI x\ res\  n\ h\ v.br.B x init.LPIf the.B tcommandline is present in the DESC file, troff will use the followingtwo commands.TP.BI t xxx.I xxxis any sequence of characters terminated by a space or a newline;the first character should be printed at the current position,the current horizontal position should be increased bythe width of the first character, and so on for each character.The width of the character is that given in the font file,appropriately scaled for the current point size, and roundedso that it is a multiple of the horizontal resolution.Special characters cannot be printed using this command..TP.BI u n\ xxxThis is same as the.B tcommand except that after printing each character, the current horizontalposition is increased by the sum of the width of that characterand.IR n ..LPNote that single characters can have the eighth bit set, as can thenames of fonts and special characters..LPThe names of characters and fonts can be of arbitrary length; driversshould not assume that they will be only two characters long..LPWhen a character is to be printed, that character will always bein the current font.Unlike device-independent troff, it is not necessaryfor drivers to search special fonts to find a character..LPThe.B Ddrawing command has been extended.These extensions will only be used by GNU pic if the.B \-xoption is given..TP\fBDf \fIn\fR\*(ic\enSet the shade of gray to be used for filling solid objects to.IR n ;.I nmust be an integer between 0 and 1000, where 0 corresponds solid whiteand 1000 to solid black, and values in between correspond tointermediate shades of gray.This applies only to solid circles, solid ellipses and solidpolygons.By default, a level of 1000 will be used.Whatever color a solid object has, it should completely obscureeverything beneath it.A value greater than 1000 or less than 0 can also be used:this means fill with the shade of gray that is currently being usedfor lines and text.Normally this will be black, but some drivers may providea way of changing this..TP\fBDC \fId\fR\*(ic\enDraw a solid circle with a diameter of.I dwith the leftmost point at the current position..TP\fBDE \fIdx dy\fR\*(ic\enDraw a solid ellipse with a horizontal diameter of.I dxand a vertical diameter of.I dywith the leftmost point at the current position..EQdelim $$.EN.TP\fBDp\fR $dx sub 1$ $dy sub 1$ $dx sub 2$ $dy sub 2$ $...$ $dx sub n$ $dy sub n$\enDraw a polygon with,for $i = 1 ,..., n+1$, the.IR i -thvertex at the current position $+ sum from j=1 to i-1 ( dx sub j , dy sub j )$.At the moment,GNU pic only uses this command to generate triangles and rectangles..TP\fBDP\fR $dx sub 1$ $dy sub 1$ $dx sub 2$ $dy sub 2$ $...$ $dx sub n$ $dy sub n$\enLike.B Dpbut draw a solid rather than outlined polygon..TP\fBDt \fIn\fR\*(ic\enSet the current line thickness to.I nmachine units.Traditionally Unix troff drivers use a line thickness proportional to the currentpoint size; drivers should continue to do this if no.B Dtcommand has been given, or if a.B Dtcommand has been given with a negative value of.IR n .A zero value of.I nselects the smallest available line thickness..LPA difficulty arises in how the current position should be changed afterthe execution of these commands.This is not of great importance since the code generated by GNU picdoes not depend on this.Given a drawing command of the form.IP\fB\eD\(fm\fIc\fR $x sub 1$ $y sub 1$ $x sub 2$ $y sub 2$ $...$ $x sub n$ $y sub n$\(fm.LPwhere.I cis not one of.BR c ,.BR e ,.BR l ,.B aor.BR ~ ,Unix troff will treat each of the $x sub i$ as a horizontal quantity,and each of the $y sub i$ as a vertical quantity and will assume thatthe width of the drawn object is $sum from i=1 to n x sub i$,and that the height is $sum from i=1 to n y sub i$.(The assumption about the height can be seen by examining the.B stand.B sbregisters after using such a.B Dcommand in a \ew escape sequence.)This rule also holds for all the original drawing commandswith the exception of.BR De .For the sake of compatibility GNU troff also follows this rule,even though it produces an ugly result in the case of the.BR Df ,.BR Dt ,and, to a lesser extent,.B DEcommands.Thus after executing a.B Dcommand of the form.IP\fBD\fIc\fR $x sub 1$ $y sub 1$ $x sub 2$ $y sub 2$ $...$ $x sub n$ $y sub n$\en.LPthe current position should be increased by$( sum from i=1 to n x sub i , sum from i=1 to n y sub i )$..LPThere is a continuation convention which permits the argument to the.B x\ Xcommand to contain newlines:when outputting the argument to the.B x\ Xcommand, GNU troffwill follow each newline in the argument with a.B +character(as usual, it will terminate the entire argument with a newline);thus if the line after the line containing the.B x\ Xcommand starts with.BR + ,then the newline ending the line containing the.B x\ Xcommand should be treated as part of the argument to the.B x\ Xcommand,the.B +should be ignored,and the part of the line following the.B +should be treated like the part of the line following the.B x\ Xcommand..SH "SEE ALSO".BR groff_font (@MAN5EXT@)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -