chem(1) General Commands Manual chem(1) (NAME) chem - groff (SYNOPSIS) chem [--] [file ...] chem -h chem --help chem -v chem --version (DESCRIPTION) chem . ( ) . chem groff eqn pic tbl . pic chem pic . file "-" chem . -h --help -v --version . chem chem.pl . pic chem.pic . groff pic.tmac . chem eqn pic . chem : .cstart chem data .cend .cstart .cend chem . pic .PS chem begin chem end . pic . : .cstart CH3 bond CH3 .cend CH3 . groff chem groff -p pic : chem [file ...] | groff -p ... chem Math::Trig CPAN . (LANGUAGE) chem . (moieties) ( C NH3 ) . . variable value variable = value variable value . . : textht arg arg 0.16 . cwid arg arg 0.12 . db arg arg 0.2 . size arg arg 10 . bond [direction] [length n] [from Name|picstuff] bond Name . bond double bond front bond back bond . ( Name .) direction (0 ) up down sw (= southwest ) . ( ) . from . : CH3 bond ( CH3 ) C ( ) double bond up ( C) O ( ) bond right from C CH3 . pic to . . ring benzene . aromatic . ring [pointing (up|right|left|down)] [aromatic] [put Mol at n] [double i,j k,l ... [picstuff] 1 2 ... . 1 1 . : R1: ring pointing up R2: ring pointing right .V1 ... .Vn .V1 . R1 R1.V1 ( ) R1.V2 R1.V3 R1.V4 ( ) R2 R2.V1 R2.V4 . . : R1: benzene pointing right R2: benzene pointing right with .V6 at R1.V2 . double n1,n2 n3,n4 ... . : ring double 1,2 3,4 5,6 ( ) put X at V : R: ring put N at 1 put O at 2 R.N R.O R.V1 R.V2 . . ring5 . flatring . . (moiety) N(C2H5)2. ( N2.5H). N(C2H5)2 NC2H52 . . : B1: bond ; OH OH . pic : CH3 at C + (0.5,0.5) CH3 . C . chem chem . . BP . chem . : bond ; BP . . BP branch point ( ) . " chem . ( ) . "..." . C . . : Name: ... Name CH3 . . First: bond "bond 30 from First" bond ... ; moiety : bond moiety ( ) . (whitespace) . . ' troff . (#) . . pic pic . size n n ( 10 ). pic . chem pic pic chem . pic pic chem . pic chem pic : define pic chem. [ (block composite). ] . { . } . define chem . (TODO) (Brian Kernighan) . pic . . pic . ( $...$ eqn). . . pic . . ( ) . (squiggle bond) . (FILES) /usr/share/groff/1.24.1/pic/chem.pic pic chem. /usr/share/groff/1.24.1/tmac/pic.tmac .PS .PE .PF pic . /usr/share/doc/groff-1.24.1/examples/chem/*.chem chem. /usr/share/doc/groff-1.24.1/examples/chem/122/*.chem chem : "CHEM--A Program for Typesetting Chemical Structure Diagrams: User Manual" (CSTR #122). (AUTHORS) chem (Bernd Warken) . awk chem (Brian Kernighan) . (SEE ALSO) "CHEM--A Program for Typesetting Chemical Diagrams: User Manual" . (Jon L. Bentley) . (Lynn W. Jelinski) . (Brian W. Kernighan) 1992 AT&T 122 (AT&T Bell Laboratories Computing Science Technical Report No. 122) groff(1) pic(1) groff 1.24.1 2026-03-15 chem(1)