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

📄 eqn.man

📁 早期freebsd实现
💻 MAN
📖 第 1 页 / 共 2 页
字号:
.\" -*- nroff -*-.ie \n(.V<\n(.v .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X.el .ds tx TeX.\" Like TP, but if specified indent is more than half.\" the current line-length - indent, use the default indent..de Tp.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP.el .TP "\\$1"...\" The BSD man macros can't handle " in arguments to font change macros,.\" so use \(ts instead of "..tr \(ts".TH @G@EQN @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@".SH NAME@g@eqn \- format equations for troff.SH SYNOPSIS.B @g@eqn[.B \-rvCNR][.BI \-d cc][.BI \-T name][.BI \-M dir][.BI \-f F][.BI \-s n][.BI \-p n][.BI \-m n][.IR files \|.\|.\|.].SH DESCRIPTIONThis manual page describes the GNU version of.BR eqn ,which is part of the groff document formatting system..B eqncompiles descriptions of equations embedded within.B troffinput files into commands that are understood by.BR troff .Normally, it should be invoked using the.B \-eoption of.BR groff .The syntax is quite compatible with Unix eqn.The output of GNU eqn cannot be processed with Unix troff;it must be processed with GNU troff.If no files are given on the command line, the standard inputwill be read.A filename of.B \-will cause the standard input to be read..LP.B eqnsearches for the file.B eqnrcusing the path.BR @MACROPATH@ .If it exists, eqn will process it before the other input files.The.B \-Roption prevents this..LPGNU eqn does not provide the functionality of neqn:it does not support low-resolution, typewriter-like devices(although it may work adequately for very simple input)..SH OPTIONS.TP.B \-CRecognize.B .EQand.B .ENeven when followed by a character other than space or newline..TP.B \-NDon't allow newlines within delimiters.This option allows.B eqnto recover better from missing closing delimiters..TP.B \-vPrint the version number..TP.B \-rOnly one size reduction..TP.BI \-m nThe minimum point-size is.IR n .eqn will not reduce the size of subscripts or superscripts toa smaller size than.IR n ..TP.BI \-T nameThe output is for device.IR name .The only effect of this is to define a macro.I namewith a value of.BR 1 .Typically.B eqnrcwill use this to provide definitions appropriate for the output device.The default output device is.BR @DEVICE@ ..TP.BI \-M dirSearch.I dirfor.B eqnrcbefore the default directories..TP.B \-RDon't load.BR eqnrc ..TP.BI \-f FThis is equivalent to a.BI gfont\  Fcommand..TP.BI \-s nThis is equivalent to a.BI gsize\  ncommand.This option is deprecated.eqn will normally set equations at whatever the current point sizeis when the equation is encountered..TP.BI \-p nThis says that subscripts and superscripts should be.I npoints smaller than the surrounding text.This option is deprecated. Normally eqn makes sets subscripts and superscripts at 70% of the size of the surrounding text..SH USAGEOnly the differences between GNU eqn and Unix eqn are described here..LPMost of the new features of GNU eqnare based on \*(tx.There are some references to the differences between \*(tx and GNU eqn below;these may safely be ignored if you do not know \*(tx..SS Automatic spacing.LP.B eqngives each component of an equation a type, and adjusts the spacingbetween components using that type.Possible types are:.TP \w'punctuation'u+2nordinaryan ordinary character such as 1 or.IR x ;.TPoperatora large operator such as.ds Su \s+5\(*S\s0.if \n(.g .if !c\(*S .ds Su the summation operator\*(Su;.TPbinarya binary operator such as +;.TPrelationa relation such as =;.TPopeninga opening bracket such as (;.TPclosinga closing bracket such as );.TPpunctuationa punctutation character such as ,;.TPinnera subformula contained within brackets;.TPsuppressspacing that suppresses automatic spacing adjustment..LPComponents of an equation get a type in one of two ways..TP.BI type\  t\ eThis yields an equation component that contains.I ebut that has type.IR t ,where.I tis one of the types mentioned above.For example,.B timesis defined as.RS.IP.Btype "binary" \e(mu.RE.IPThe name of the type doesn't have to be quoted, but quoting protectsfrom macro expansion..TP.BI chartype\  t\ textUnquoted groups of characters are split up into individual characters,and the type of each character is looked up;this changes the type that is stored for each character;it says that the characters in.I textfrom now on have type.IR t .For example,.RS.IP.Bchartype "punctuation" .,;:.RE.IPwould make the characters.B .,;:have type punctuationwhenever they subsequently appeared in an equation.The type.I tcan also be.B letteror.BR digit ;in these cases.B chartypechanges the font type of the characters.See the Fonts subsection..SS New primitives.TP.IB e1\  smallover\  e2This is similar to.BR over ;.B smalloverreduces the size of.I e1and.IR e2 ;it also puts less vertical space between.I e1or.I e2and the fraction bar.The.B overprimitive corresponds to the \*(tx.B \eoverprimitive in display styles;.B smallovercorresponds to.B \eoverin non-display styles..TP.BI vcenter\  eThis vertically centers.I eabout the math axis.The math axis is the vertical position about which characterssuch as + and - are centered; also it is the vertical positionused for the bar of fractions.For example,.B sumis defined as.RS.IP.B{ type "operator" vcenter size +5 \e(*S }.RE.TP.IB e1\  accent\  e2This sets.I e2as an accent over.IR e1 ..I e2is assumed to be at the correct height for a lowercase letter;.I e2will be moved down according if.I e1is taller or shorter than a lowercase letter.For example,.B hatis defined as.RS.IP.Baccent { "^" }.RE.IP.BR dotdot ,.BR dot ,.BR tilde ,.B vecand.B dyadare also defined using the.B accentprimitive..TP.IB e1\  uaccent\  e2This sets.I e2as an accent under.IR e1 ..I e2is assumed to be at the correct height for a character without a descender;.I e2will be moved down if.I e1has a descender..B utildeis pre-defined using.B uaccentas a tilde accent below the baseline..TP.BI split\ \(ts text \(tsThis has the same effect as simply.RS.IP.I text.RE.IPbut.I textis not subject to macro expansion because it is quoted;.I textwill be split up and the spacing between individual characterswill be adjusted..TP.BI nosplit\  textThis has the same effect as.RS.IP.BI \(ts text \(ts.RE.IPbut because.I textis not quoted it will be subject to macro expansion;.I textwill not be split upand the spacing between individual characters will not be adjusted..TP.IB e\  opprimeThis is a variant of.B primethat acts as an operator on.IR e .It produces a different result from.B primein a case such as.BR A\ opprime\ sub\ 1 :with.B opprimethe.B 1will be tucked under the prime as a subscript to the.B A(as is conventional in mathematical typesetting),whereas with.B primethe.B 1will be a subscript to the prime character.The precedence of.B opprimeis the same as that of.B barand.BR under ,which is higher than that of everything except.B accentand.BR uaccent .In unquoted text a.B 'that is not the first character will be treated like.BR opprime ..TP.BI special\  text\ eThis constructs a new object from.I eusing a.BR @g@troff  (@MAN1EXT@)macro named.IR text .When the macro is called,the string.B 0swill contain the output for.IR e ,and the number registers.BR 0w ,.BR 0h ,.BR 0d ,.BR 0skernand.BR 0skewwill contain the width, height, depth, subscript kern, and skew of.IR e .(The.I "subscript kern"of an object says how much a subscript on that object should be tucked in;the.I skewof an object says how far to the right of the center of the object anaccent over the object should be placed.)The macro must modify.B 0sso that it will output the desired result with its origin at the currentpoint, and increase the current horizontal position by the widthof the object.The number registers must also be modified so that they correspond to the

⌨️ 快捷键说明

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