Home

LaTeX for ISO standards

image

Contents

1. A 02 aaa a aa E EE AP Un AI itemize environment 0 0 0 ccc mee He e emen NoD MM t o A a o EL RRR LEER UD Ie maiis A RA 21 Manguageofedition 2 esise emetin asa a ieia mei aiai a anaia a ni hene NE Te MERERI ENERO RECS ro Mm EET AW 1 Mec TET DATOS pc LaTeX v2 09 a eX PEE Letterpaper OPTION a upian eta lente dancin list RR RRA 9 IA E E eed dt ELTE ta LATE taa adi s Na E PUSO oro ea AAA A e R a E eee ee et t et E t e td t t et nc t et td d cat longtable package A I ea Rte ds Mura d lipco n M RKBINDEX 22225 FEE R cen iram Uu oman ear Gert diu rbd dun doter quen dics dud 20 L E E maxsecnumdepth s K R K R K RR KRK RRR RRR e e en Amaxtocdepth TTT NTO MARRE mpxtabular environment se c0 2c 0m dix decid tie OPAC RO Dn ee tie dle hcic Riedie biela die Pi since 321 mpxtabular environment roer Hmmm e meme nee non English languages essere lebe E MEREEERRRERERERNRRERERERERE ER ERR NnormalsiZ8 on ere eee eee e RENI E MEE ad Mnormanhe Z 1 0p a gee ta A A EUIS tee ra E TROT INIA LIVE DEUM Normative references pormat i venane nm Anormrefbp isisisi a aa ayu a
2. NEenewenyiyronmentou al Mrepannex ssssesse esses e e e eee e e e e a e e e nenn 5 6 rotate environment sseseseees e eee m eme emen NESDCaDUTONR MM M R NEO EET ER esa sereni nt amaya ue etant uen ut akawa as M LU LE ELLE NScCTa sSev a rm ll PU A A n NSGCOPE CLAUSES nud due dp ure m d aol ote iple d e el ERE do n e oen dp ae C d a tae Nb e M CE x EET as A smua teas nama wam ua ma ua Saa haapa maa aaa aaa aha wati aa 42 O enn secnumdepth o2 area RUE E ERR ERE E ETE REA E EUR RENE TE TE lala RUE eaten Et REEREETE RETE ME 6 Nsetcouhter y unun a e S s MEME EMILE setsecnumdepth uay yu PY cece nent nec s e e NsectocdeDLB muii rd bie Liria lo a YE L tup Su DE uyu eig p P Nshrinkheight ricino ae sideways environment a A A A O AR OR UR TRE sidewaysfigure environment sidewaysfigure environment 56 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E sidewaystable environment o ueuusesuktes ukewe Mesum urn n umi ue Rua fura n fn xn rar rid 26 sidewaystable environment ii qd eae as 26 Nemali E eau d ote eae a Guana EL e eau a LIE LC E EU cu special charact rs 225242124 4249424 ia A OS EA AAA A Ness E TTT SSSSCLAUSE 1 cn e s e mme EE TIR UMP UM ater eee aun neha ute Nssbraceoff www ERE ERE Audet RR RR RR RR RR RR NSS SG SO O L L dto Nstandard usuy Ep Sau Go Ree ses de gea eia Lee p dete e gea qut
3. ee een Xdefsubclause du ee bra eh oe le Dor feuds e rre El Buttons eda rdc MUR RU a e en defsymabbclause ssssssssssessess esse e e e e e suyki Ndefsymabbnanme ansia defsymclause Ndefsymname 2 ppt EROR E RR ERR HERREN dd NdefsymsubClause diciones E RERU hades oboe Meri ig RR RRA RN description environment iia RR RE D RTI dis OPON LL sd du i dud ld unu sasa 6 MEME IE draft e TTT 4 VTE m AVPS MED REO 22 dvipsone inegucaxamedaccdauaducadihudameduiigcededuisbgddtedulqdedadamdddbedecedebuno dvitops c sealei ad Sasa eds alas dubia eue dedu di idu dh dius A pk abeo DEPT NedTtordal onis sieti iiiaio iine iirin iini dede Ea be de Ried rub Ed SUE Re lal dines enumerate environment 2 0 0 0 cece ccc e e eee eee e eee NST Pw errorshow o o dM uS E AT SAT arar EXAMPLE e O Ue O cde EUM EU xe EU MEME e eM E eee reer E EXampl eost eve eU EE ee ERU Eu examplename a ERI E d A Xexamplerefn me 4 5 x RR aaa IVA ONERE Ria Ras ER REA examples environment ise sesbeR cess cba ad RO RUE RO RC EORR RON ROR REOR REOR K R RO T dO Ce Rr RO RR UR OR OR d NSE PAHOA RETRO ds A SEE ChEEREEEEEEPEBEFECRUEEEEF CERE ERE ES ENRON SEEMS ROEM ERED ERS ERE DERE nb EM tdis ODUDN ssepe R R AK R RN asian alte R EV EMEN uie ut au Cube at p de ey us BI stat RR REND E iu CHE figure e
4. Informative references may be cited in the text via the LaTeX label and ref mechanism Note that cite is not available for references to bibliographic items For the purposes of ISO documents the command bref lt ref gt is supplied which properly formats a bibliographic reference 6 3 5 Listing of scope items The inscope and outofscope environments are provided for itemized listing of elements that are within and outside the scope of the standard Each list element is introduced via the item command Some boilerplate text is also printed that introduces the scope list The environments take one parameter lt text gt that must read naturally in a sentence of the form The following are within outside the scope of this lt text gt The non parameterized part of this sentence is specified by the commands inscopename and outofscopename respectively for within and outside EXAMPLE 1 The following text was printed by the commands shown at the end of the example The following are within the scope of this part of ISO 10303 use of LaTeX for preparing ISO standard documents use of LaTeX for preparing ISO 10303 documents The following are outside the scope of this part of ISO 10303 use of LaTeX in general use of other document preparation systems begin inscope part of IS0 10303 item use of latex for preparing ISO standard documents ISO 2002 All rights reserved 11 LaTeX
5. ISO 2002 All rights reserved Page 1 uv ONN OTK A 11 12 12 12 13 15 15 16 16 17 17 17 17 18 18 19 19 19 19 19 20 20 22 22 22 23 26 27 31 Hi LaTeX for ISO standards 2002 E 8 The xtab package facility 222r 32 8 1 Options a T ok koe s Bee Du aa e 35 8 2 Caveats x da excede Rubus RU oral de Se ed Hee a ae ud 36 9 The askinc package acii 36 10 The hyphenat package facility o o e ee 37 Annex A normative Additional commands eee ne 40 A 1 Language configuration commands oa e e a 40 A 1 1 Words nd phrases x ec ko m Re Rom gom Re Pa RUE UR Rod 40 A 1 2 Boilerplate s pee sede ee oue de Ee HIPORURNUS EUM ROO TOES P OK 41 A 2 Caption text size 2 2 222 2l ee 42 Annex B normative Ordering of LaTeX commands 44 Annex C informative Creating an index eee ne 45 Cl The index command else 46 Annex D informative LaTeX the Web and ML 47 Annex E informative Obtaining LaTeX and friends 49 Annex F informative Changes in this release o 50 Bibliography dis aos e dom ci a GS e a A eus 51 Index A 52 Figures Figure l Example rotation through multiple angles llle 25 Figure 2 Example figure with a standard caption ooo 27 Figure 3 Figure 2 with a rotated caption Figure J Rotation of p
6. begin center Huge bfseries LaTeX for standards end center begin center bfseries 2001 07 06 end center begin center Peter Wilson texttt peter r wilson boeing com end center clearpage end cover 6 6 Cross referencing commands The usual LaTeX label and ref commands are supported The class also provides some formatted referencing commands in addition to ref The following commands are useful for referring to figures clauses etc Each takes a parameter that is the parameter of a LaTeX label command The command aref anx lord prints annex B while ref anx lord prints The command bref lamport prints hr while ref lamport prints The command cref sec nrefs prints clause 2 while ref sec nrefs prints The command eref sec nrefs prints example 2 while ref sec nrefs prints The command fref sec nrefs prints Figure 2 while ref sec nrefs prints The command nref sec nrefs prints note 2 while ref sec nrefs prints The command tref sec nrefs prints Table 2 while ref sec nrefs prints The command pref sec nrefs prints page 1 ISO 2002 All rights reserved 15 LaTeX for ISO standards 2002 E 6 7 Heading commands 6 7 1 Foreword The foreword environment specifies that a table of contents list of figures and list of tables be
7. label fig crot setlength unitlength 0 2in footnotesize begin picture 17 2 end picture normalsize setlength unitlength 1pt end figure As can be seen from Figure 3 the advisability of rotating a caption depends on the size of the body of the float It may be better in certain cases to leave the caption in its regular position and rotate the body of the float instead EXAMPLES Regular caption and float Figure His a regular figure and caption It is produced by the following code def prwrot 1 settowidth fool ISOROT savebox foo parbox fool ISOROT ISOROT ISOROT ISOROT framebox begin turn 1 framebox usebox foo end turn def degrees smal1 o begin figure centering begin tabular clclcl hline 28 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E ISOROT ISOROT ISOROT ISOROT 240 280 320 Figure 4 Rotation of paragraphs between 0 and 320 degrees prwrot 0 amp prwrot 40 amp prwrot 80 O degrees amp 40 degrees amp 80 degrees hline prwrot 120 amp prwrot 160 amp prwrot 200 120 degrees amp 160 degrees amp 200 degrees hline prwrot 240 amp prwrot 280 amp prwrot 320 240 degrees amp 280 degrees amp 320 degrees NN hline end t
8. Use the Nisref command for published standards and the Ndisref command for documents that have not yet been finally approved as a standard This latter command automatically adds a footnote to the effect that the document is to be published EXAMPLE 1 The LaTeX source for the references in clause 2 of this document is begin nreferences isref ISO IEC Directives Part 2 Rules for the structure and drafting of International Standards Fourth edition 2001 disref ISO Camera ready copy CRC Submission requirements and ISO type specification 10 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Version 1 0 1996 04 26 end nreferences 6 3 4 2 Informative references Informative bibliography elements are listed in the references environment Each element in the list is specified as reference lt author gt lt title gt lt publisher gt EXAMPLE 1 The LaTeX source for the bibliography in one version of this document was infannex Bibliography begin references reference LAMPORT L latex A Document Preparation System Addison Wesley Publishing Co 1986 label lamport reference GOOSSENS M MITTELBACH F and SAMARIN A 4 The latex Companion Addison Wesley Publishing Co 1994 label goosens reference CHEN P and HARRISON M A Index preparation and processing Software Practice and Experience 19 9 897 915 September 1988 label chen end references
9. processing NOTE CTAN is maintained by the TeX Users Group TUG Their homepage http www tug org gt should be consulted for the current list of CTAN sites and mirrors ISO 2002 All rights reserved 49 LaTeX for ISO standards 2002 E Annex F informative Changes in this release Many of the commands and environments have been redefined in order to match the change in requirements from the the third to the fourth edition of the ISO Directives Usage of these is unaffected The following changes have been made in this release The cover environment has been added The boolean test ifpdf has been added The command fwdnopatents has been added for patent boilerplate in the Foreword The command tpasfwdbp has been added for TS PAS Foreword boilerplate The command intropatents has been added for patent boilerplate in the Introduction The commands pref and pagerefname have been added The command trwfwdbpi for Foreword boilerplate in a Technical Report has been deleted The notes and examples environments have been deleted Support is provided for the hyperref package 50 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E Bibliography 1 LAMPORT L LaTeX A Document Preparation System Addison Wesley Publishing Co 2nd edition 1994 2 WILSON P R LaTeX files for typesetting ISO standards Source code NISTIR National Institute of Standards and
10. produced and starts a new unnumbered clause called Foreword Formatting is one column style only and roman page numbering is set The table of contents starts on page iii More precisely the title of the clause is given by the value of forewordname see annex A NOTE 1 The default style only lists level 1 clauses in the table of contents If you need a more detailed listing then put the command setcounter tocdepth lt level gt in the preamble For example setcounter tocdepth 3 will produce a contents listing down to the level of ssclause see Table 2 for the definitions of clause levels The command fwdbp prints the ISO specified boilerplate for the initial paragraphs of a foreword The boilerplate for a Technical Specification ISO TS or a Publicly Available Specification ISO PAS differs from that for a standard The command tspasfwdbp prints some of this boilerplate EXAMPLE 1 In this document tspasfwdbp prints ISO the International Organization for Standardization is a worldwide federation of national standards bodies ISO member bodies The work of preparing International Standards is normally carried out through ISO technical committees Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee International or ganizations governmental and non governmental in liaison with ISO also take part in the work ISO collaborates c
11. EERE ee ea a ed ea dae 17 Mnormrefsclause hornref shame ts 17 ISO 2002 All rights reserved 55 LaTeX for ISO standards 2002 E Aucbablelasthead surta notcopyright A Eae dubai ten added NOTE 22er kem Qaqa RD e rec RR me Ren Rot cce Rr EROR Re Bora Rr e ri hc Rr Rc Rae Ee 41 note entren ee ee 9 Te RN Anoterefname aA cu trei a ARR A ER o ARR TAT ATR RE aio notes environment e uepl pe RRERERRRPRERRREEPRRARRRe PERRA portero over bl RE lI sli a4 nreferences environment ura phaea rebel pote creed XotddefinitiOh AA NN olddefinitions environment eesccxe ste d wie wed ain aid Dn Dh nu Ko b eR onecolumn option ND X otherdoc Option siue aane saam Rp UD E a a outofscope environment AAA RAV AR N N uit Aid Noutofscopename A eee RURAL OUR a Page TT PAGE 2 OR nn OOOO UU 41 APA AMO HR 41 Npagerefuame eiii a pagsshow OPON ari A AA A ARA AAA AA ADA LAS y PPP pP rcr pas FOTO r E a en ababyssosopycschabycasaaQuynaha PEOR Li para Ro p E RUE REN E E Rp SUPR ERE Ro UE I AAA tg d rara E A uapa lo T MEME ee ee ee ee ee ee Tr Prea MDIC M Aan 101 40 NDE CE EU NDEOLGCL L sss NUR usa aa a a DII LI T O LI IUE IULII I DORTE 22 bolo wane vr x RN LO 11 NSE STS Mm n references environment RA ADR DIAS A READ cine renewcommand APO RENO OO E
12. N wdnopatents prints out the Foreword boilerplate paragraph concerning potential patent 16 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E rights EXAMPLE 2 In this document fwdnopatents prints Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights ISO shall not be held responsible for identifying any or all such patent rights 6 7 2 Introduction The introduction environment starts a new unnumbered clause called Introduction with one column formatting More precisely the title of the clause is given by the value of Nintroductionname see annex A The Nintropatents prints some of the patent boilerplate that may be required in the Introduc tion EXAMPLE In this document Nintropatents prints Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights ISO shall not be held responsible for identifying any or all such patent rights 6 7 3 Scope clause The Nscopeclause command starts a new numbered clause called Scope which is given the label i1 More precisely the title of the clause is given by the value of Nscopename see annex A 6 7 4 Normative references clause The Nnormrefsclause command starts a new numbered clause called Normative references which is given the label i2 More precisely the title of the clause is given by the value of normrefsname
13. Technology Gaithersburg MD 20899 June 1996 3 WILSON P R LaTeX package files for ISO 10303 User manual NISTIR National Insti tute of Standards and Technology Gaithersburg MD 20899 June 1996 4 RAHTZ S and BARROCA L A style option for rotated objects in LaTeX TUGBoat volume 13 number 2 pp 156 180 July 1992 5 GOOSSENS M MITTELBACH F and SAMARIN A The LaTeX Companion Addison Wesley Publishing Co 1994 6 GOOSSENS M and RAHTZ S The LaTeX Web Companion Integrating TeX HTML and XML Addison Wesley Publishing Co 1999 7 CHEN P and HARRISON M A Index preparation and processing Software Practice and Experience 19 9 897 915 September 1988 8 ISO 8879 1986 Information processing Text and office systems Standard Generalized Markup Language SGML 9 GOLDFARB C F The SGML Handbook Oxford University Press 1990 10 BRYAN M SGML An Author s Guide to the Standard Generalized Markup Language Addison Wesley Publishing Co 1988 11 PHILLIPS L and LUBELL J An SGML Environment for STEP NISTIR 5515 National Institute of Standards and Technology Gaithersburg MD 20899 November 1994 12 WILSON P R LTX2X A LaTeX to X Auto tagger NISTIR National Institute of Stan dards and Technology Gaithersburg MD 20899 June 1996 13 WILSON P R The hyphenat package 1999 Available from CTAN 14 WILSON P R The xtab package 199
14. and SGML are similar but on the face of it they are distinctly different in both syntax and capabilities ISO is migrating towards electronic versions of its standard documents and naturally would prefer these to be SGML tagged Like LaTeX SGML has a concept of style files which are termed D TDs and both systems support powerful macro like capabilities SGML provides for logical document markup and not typesetting commercial SGML systems often use TEX or LaTeX as their printing engine as does the NIST SGML environment for ISO 10303 11 NIST have SGML tagged some ISO 10303 documents using manual methods which are time consuming and expensive About 1997 there was a NIST effort underway to develop an auto tagger that would semi automatically convert a LaTeX tagged document to one with SGML tags This tool assumed a fixed set of LaTeX macros and a fixed DTD The design of an auto tagger essentially boils down to being able to convert from a source document tagged according to a LaTeX style file to one which is tagged according to an SGML DTD Fully automatic conversion is really only possible if the authors of the documents to be translated avoid using any non standard macros within their documents There is a program called Itx2x available from SOLIS which replaces La TeX commands within a document with user defined text strings 12 This can be used as a basis for a LaTeX to whatever auto tagger provided the LaTeX commands are
15. command If you want all the files to be processed just hit the lt RETURN gt key or its equivalent Like included files a file that is infiled into a document shall not itself contain another infiled file EXAMPLE 1 The following root file has three files that are infiled documentclass usepackage askincv other preamble stuff begin document Z perhaps some stuff infile file1 infile file2 infile file3 Z perhaps more stuff end document 36 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E 10 The hyphenat package facility The hyphenat package is fully described in 13 This clause provides an overview of the portions of the package that are most relevant to typesetting ISO standards In LaTeX if you need to use the underscore _ character in normal text for example when documenting identifiers in a programming language code you have to use the _ command as in aV multiwordN identifier LaTeX normally treats _ as a math mode subscript command Further if you want the possibility of hyphenation at the position of an underscore you have to use the command pairing N_N this has the side effect of disabling normal hyphenation in any succeeding word in the identifier The hyphenat package facility redefines the N_ command so that hyphenationen is automatically enabled at the position of the underscore and in all succeeding words in the identifier NOTE 1 Using the comm
16. for ISO standards 2002 E item use of latex for preparing 180710303 documents end inscope begin foutofscope part of 180710303 item use of latex in general item use of other document preparation systems end outofscope 6 3 6 Listing of definitions The begin olddefinitions end olddefinitions environment is provided for listing terms that have been defined within the normatively referenced documents Each term in the list is specified as olddefinition lt phrase gt lt supplement gt The begin definitions end definitions environment is provided for listing the def initions of terms specific to the document being written Each term in the list is specified as Mdefinitioni phrase definition text gt EXAMPLE 1 A listing of terms defined elsewhere could be specified as begin olddefinitions olddefinition application protocol AP olddefinition integrated resource end olddefinitions EXAMPLE 2 The definition listing earlier in this document was produced by begin definitions definition boilerplate text whose wording is fixed definition style file a set of latex macros assembled into a single file end definitions 6 3 7 Listing of abbreviations The begin symbols end symbols environment is provided for listing symbols and ab breviations Each term either symbol or abbreviation in the list is specified as symboldef lt symbol gt lt definition te
17. in a xtabular and its relatives shrinkheight 2 baselineskip decreases the space per page by two lines shrinkheight baselineskip increases the space per page by one line You have to specify the font used for the tablehead and tablelasthead yourself Within ISO documents captions shall be in bold font The iso class also provides a command for setting the size of the font used in captions namely Ncaptionsize Note that this is used in example The value of Ncaptionsize is set by the class 8 1 Options The xtab package has three options which control the amount of information that is written to the log file The options are a The option errorshow the default does not write any extra information b The option pageshow writes information about when and why xtabular decides to produce a new page c The option debugshow which also includes pageshow additionally writes information about each line that is added to the table Under normal circumstances xtab is used without invoking any option The pageshow option may be useful when attempting to cure a bad page break The debugshow option as its name implies is principally of use to the xtab developer Independently of the options the command sstraceon may be used at any point in the docu ment to turn on printing of debugshow data This can be turned off later by the sstraceoff command which will stop all show printing OISO 2002 All rights reserved 35 L
18. reviewed by the ISO Editorial Board in Geneva for conformance to their typographical requirements The first review was of a series of Draft International Standard documents This review resulted in some changes to the style files The second review was of a series of twelve International Standard documents ISO 10303 1994 Likewise this review led to changes in the style files to bring the documents into compliance With the publication of the ISO 10303 1994 standard the opportunity was taken to provide a new baseline release of the package files The new baseline release was also designed to address the fact that a major update of LaTeX to LaTeX2e took place during 1994 LaTeX2e is now the officially supported version However some users needed time to convert to using LaTeX2e Consequently although the facilities described in the original version of this document were common for both LaTeX v2 09 and LaTeX2e users there were two different implementations Because ISO standard documents have a very structured layout the class and package files have been designed to reflect the logical document structure to a much greater extent than the standard LaTeX files Further ISO documents are published in more than one language The files described here are written for the English language but the language specific elements have been parameterized for easy modification for publication in other official ISO languages such as French In 1997 ISO
19. the reverse effect The command figuresright will set the behavior to the default These commands can be used to toggle the rotational behavior of floats 3 have been able to try the dvips driver but not the others If anyone has experience with the other drivers or has extended the range of drivers I would like to be given the results 22 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E 7 4 Rotation of text The sideways environment rotates the contents of the environment by 90 degrees counterclock wise and leaves space for the result The begin turn lt angle gt environment rotates the contents by the given number of degrees in the direction specified by the most recent of the clockwise or counterclockwise commands leaving space for the result The begin rotate lt angle gt environment rotates the contents by the given number of de grees in the direction specified by the most recent of the Nclockwise or Ncounterclockwise commands but no arrangements are made for leaving space for the result EXAMPLE 1 Some simple rotations This code Default rotation direction NN A begin sideways BC end sideways DEFGHIJKLM begin turn 90 Minus 90 turn end turn NOP begin rotate 90 Plus 90 rotate end rotate QN and continue on with another line after rotations produces the following note how space is allowed for the turned text whereas the rotated text runs into the text bel
20. 8 Available from CTAN ISO 2002 All rights reserved 51 LaTeX for ISO standards 2002 E Index A T ata macdiare sas aaa sas ga sss aii jn MC 12 lr al O a aya a aa EU oo A S s asas es N moms E a a au a eae ial oh del eh Sede at da ot ea Bede Yk a EET ERE RENS 10pt option CPP A rE eee te DI Merten ts r saa s ects untae PRU k aus GUN RU E uaa RA kaka aaa akha u au ERR pi adp per option u usa k ERR ERRORES ESO la ER RE RAE ERG REC Ea asua sua bPPIIEUCIA PET Nabbname sseessleeee hh he e e e e e e e e e e Nabbsubclause ehh e e e e e m en Nadded ccesbei erbe bd eie p et p bet en te pet Rn Reo uo ve eee de n De Re t po bre adu anexample environment ri anukasqa aha haah aaa sah t RAD ANNEX aa RRRRERRRPRRRERRRERRRNRRERERSRRRRRRRERPRRRRRSERRRRRERPSRRERRREMRRERRR A ANUON NN AU balers IEO Pu Ed 40 Nannexname 2 eee eee e ee e e e e e e ee e e eee Nannexrefname eese ehe e e e e e e anote environment ia ss u RE Ii ECC si A e O EEIT AAA IS M bEREERVEREMERERE IS E Mbibannex NISSIM Sas data a E EE IST TTT bol rplatec t c cc taa D MU Da da esa la a bs ta do a ee MI ELM bottomcaption ssssesssee seh e e m eee e e e een 0 D A II II ei A Dusun qaa 11 pori NGAP
21. A set of TeX4ht configuration files are available for converting ISO LaTeX documents into HTMIP Some points to watch when writing LaTeX documents that will assist in translations into ML are given below Typically attention to these points will make it easier to parse the LaTeX source Avoid using the label command within clause headings or captions It can just as easily be placed immediately after these constructs Avoid using the Nindex command within clause headings or captions It can just as easily be placed immediately after these constructs Later configuration files for XML output will be developed 48 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Annex E informative Obtaining LaTeX and friends LaTeX is a freely available document typesetting system There are many public domain addi tions to the basic system The information below gives pointers to where you can obtain LaTeX etc from the Internet LaTeX runs on a wide variety of hardware from PCs to Crays Source to build a LaTeX system is freely available via anonymous ftp from what is called CTAN Comprehensive TeX Archive Network There are three sites pick the one nearest to you CTAN in Germany ftp tex ac uk CTAN in the UK CTAN in the USA The top level CTAN directory for LaTeX and friends is CTAN contains a wide variety of La TeX sources style files and software tools and scripts to assist in document
22. LaTeX for ISO standards 2002 08 10 Peter Wilson peter r wilson boeing com LaTeX for ISO standards 2002 E ISO 2002 All rights reserved Unless otherwise specified no part of this publication may be reproduced or utilized in any form or by any means electronic or mechanical including photocopying and microfilm without permission in writing from either ISO at the address below or ISO s member body in the country of the requester ISO copyright office Case postale 56 CH 1211 Geneva 20 Tel 41 22 749 01 11 Fax 41 22 734 10 79 E mail copyright iso ch Web www iso ch ii LaTeX for ISO standards 2002 E Contents 2 Normative referenees see ll ee a 3 Terms definitions and abbreviations eee eee eee eee eee een 3 1 Terms and definitions 000 a 3 2 Abbreviations 0 eee rh 4 Conformance requirements ee 5 Fundamental concepts and assumptions a a 6 The iso class facility 22h 6 1 Options uo ee wk ee og wan ha VE Oe C WR Q SUQ Q e Y s 6 2 Sectioning commands r r a r ss 6 2 1 The use of tocdepth and secnumdepth 6 3 LaTeX environments and commands 005000004 6 3 1 DIST MET MM cc Cx 6 3 2 NOTES sola ds a a A Spee a ra S 6 3 3 Examples 24 Se 24k Roco e m PO he OAS roo OX ESROR X xo Kok OE 4 6 3 4 Bibliographic references 2e 6 3 5 Listing of scope items sh 6 3 6 Listing of d
23. OISO 2002 All rights reserved 57 LaTeX for ISO standards 2002 E Ntpasfwdbp 50 VEG hotte oett tte pel thee TEE TE EEE EEVEE e Pedes TEE ge bela EREE NEL xo ona E O a EE 15 NENE 50 TR EDIDIT tspasfwdbp tex A E tnu uedeuditun sete ac umet Id 42 Ntspastwdbp e usa syed eass aasia ox n aea dag a cec a i a a a Ka SER C a RR A SCR a a e a a RR turn environment A nn ene neknn ennen enrnnnned twocolumn AA LEE VM Eu ul EE Meat url Package REA kl blee bin BR aar o PU O ERER pe daler S R AE ble BT ETES bg uschyp PACTO qobepprPUPPPFOPPUOUOPOPOPOPOPRERIPDRROPPPPEPPOEPPPPEPPPPPOPOPOPPPPDPE PEE TES schyp sty cies edness ence dacelcderaraca cie gu e ed ce ce wade ogee iaia Edu Ad dd WD 0 e eee Wd option MEHREREN TS E 5 o nn MEAD ON 3 xtabular environment e rre rr rr rr xtabular environment eee eee cece rn eme eme eene ysarofediti n Que REO Siena le be bere beue betebeie utet iet iae eae iius 58 ISO 2002 All rights reserved
24. TOR iai k si tide dear d deed Roc BO e Roni i kuqa Qa q Dice na ended ua Q u e NXCaptionsSize 2025604 PP4RPePAPOPLPRPAPOPRPRPAPQPGPRPAPRPSPRPATRPGIPPRZPOPG PPS boyd aed SRI GE cd e IT a od LT character A E 5 LE LE CENE RARE A massa ina m eee q u sa aa q usss o APPA T RM M MUI TTT NG Tas E pep NClearpage acc ci coed ee eu A RA KERNEL REDE E conden cl ERE LA REN FE Ra es NST OC IW TSS 222 tace tard nnen ri edle balade aaea a lc Ff etc Ncolonhyp ssssssseee eh m e e e ee e e ene NOOMC Ca pUION METER 131 Soul M E Ncontentsname eee een controtcaption sssssssssess esse e e e e e e e e teenies 21 copyright option AAA A II A A de quSSU 4 52 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E copyrightiane PPP ient ed eet el ticket ee PU Gel CIC Poe ee RE et er ee RH S Ncopyrightnotice Miente il dd chews hed EEE ERE dad ERE E kuq RL Ncounterclockwise cover ranas CRC sotosrhPRPRRRERRESRPRERPPPRPPCRPPPRPRPRPPERPRPRPPRRPPURPPERPPPREPPC RP PPP PRERPPER vas NOR e M LE CTAN MP cT debugshow option A ea eat defabbclause ur papu aut eh e e n eee men Nd r TETTE TT defabbsubclause eee er e ee hel uif sQ O AA Ndeflngbi0l 2c E et ere A RETI A EHE AE ye aeo ore qr et definitions environment cc cnr ceece dde E d iu defname
25. aTeX for ISO standards 2002 E 8 2 Caveats The authors of the original supertabular package note that it has the following weaknesses Sometimes the body of the first page of a table gets moved to the following leaving the caption behind Sometimes the last page of a table consists of just the head and foot with no contents The weaknesses are caused by trying to guess where TeX will put a page break The package has to guesstimate how long the next entry will be in the table and if it is too long for the available space it puts in its own page break If its guess is off too much in one direction TeX will break the page unexpectadly if its off in the other direction supertabular will put in an unnecessary page break The xtab package has reduced but perhaps not entirely eliminated these weaknesses Some hand tuning may still be required 9 The askinc package facility The askinc package facility contains LaTeX code to enable the interactive input of files This functionality is a cross between the LaTeX include and includeonly commands and the input command In the body of the root source document use the command infile lt file gt for each lt file gt that comprises the document That is the command infile is similar to the input and include commands When LaTeXing the root document you will be asked to provide a comma separated list of the infiles to be processed similar to the argument to the includeonly
26. abbname Abbreviations Xdefsymsubclause SC defsymname Terms definitions and symbols defabbsubclause SC defabbname Terms definitions and abbreviations symabbsubclause SC symabbname Symbols and abbreviations NOTE In the table C clause SC subclause Table 5 Defined clause headings with labels Command Label scopeclause il Nnormrefsclause i2 defclause 313 symclause 713 abbclause 313 defsymclause 313 defabbclause 313 symabbclause 713 defsymabbclause i3 level headings are each given the label i3 one and only one of these headings should appear in a standard document 6 7 5 1 Heading labels Some of the defined clauses have associated labels These heading commands and their Nlabe1 values are listed in Table 6 7 6 Bibliography The command bibannex starts an informative section of the document entitled Bibliography Or more precisely by the value of the bibname command 6 8 Urls etc The command url lt tezt gt can be used for typesetting tert as an email address The command isourl lt tezt gt can be used for typesetting text as an URL address EXAMPLE 1 18 The following code ISO 2002 All rights reserved LaTeX for ISO standards 2002 E The Email address is url joe fred mik or the homepage is at isourl http fred mik home will be typeset as The Email address is joe0fred mik or the homepage is at lt http fred mik h
27. abular caption Rotation of paragraphs between 0 and 320 degrees label fig anglesi end figure EXAMPLE 4 Regular caption and rotated float body Figure is a regular figure and caption where the figure contents have been rotated It was produced by the following code begin figure centering begin sideways begin tabular clclc hline prwrot 0 amp prwrot 40 amp prwrot 80 O degrees amp 40 degrees amp 80 degrees hline prwrot 120 amp prwrot 160 amp prwrot 200 120 degrees amp 160 degrees amp 200 degrees hline prwrot 240 amp prwrot 280 amp prwrot 320 240 degrees amp 280 degrees amp 320 degrees hline end tabular end sideways caption Rotation of paragraphs between 0 and 320 degrees ISO 2002 All rights reserved 29 LaTeX for ISO standards 2002 E 200 320 160 280 0 120 240 ISOROT ISOROT ISOROT ISOROT Figure 5 Rotation of paragraphs between 0 and 320 degrees with figure body turned sideways Rotation of paragraphs between O and 320 degrees with figure body turned sideways Mlabel fig angles2 end figure 30 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E So qe3 apim Suo xeo1q aged A Teoryeurogne pue o3e301 q30q 03 Surdeospue YIM uonounfuoo ur posn oq ued osog3 Jo Lu
28. al sentence which should take up about a line Some text was deleted from the middle of this sentence The command deleted 34 was included in the previous sentence This sentence though has no changes marked in it and may be assumed to be unaltered from a prior version 6 9 4 Moved The command moved lt text gt lt number gt flags the position of moved text and highlights it EXAMPLE Just to start things off this is an original sentence which should take up about a line This sentence contains some moved text in the middle of it The command moved moved 81 was included in the previous sentence This sentence though has no changes marked in it and may be assumed to be unaltered from a prior version OISO 2002 All rights reserved 19 LaTeX for ISO standards 2002 E 6 10 PDF The class provides a command ifpdf to test whether or not the document is being processed by LaTeX or by pdfLaTeX LaTeX processing produces a dvi file which needs further processing usually by dvips to generate PostScript for printing pdfLaTeX however directly generates a pdf file which can then be printed EXAMPLE A document for processing by either LaTeX or pdfLaTeX could be started like documentclass iso usepackage times ifpdf pdfoutput 1 usepackage pdftex graphicx else usepackage graphicx fi The times package is used in this example as PDF printers tend to handle PostScript fonts better than other kinds
29. and pair N_N in conjunction with this facility disables automatic hyphenation of succeeding words so don t do it EXAMPLE 1 This set of LaTeX source Amazingly An _excessively _long _multiword _identifier _demonstrating _hyphenation begin minipage 3cm beginf itemize item An _excessively _long _multiword _identifier _demonstrating _hyphenation item Underscore in math mode A_n item verb _ command in math mode A _n end itemize end minipage prints as Amazingly An excessively long multiword identifier demonstrating hyphenation An exces sively long multiword identifier demonstrat ing hyphen ation Underscore in math mode An N com mand in math mode An EXAMPLE 2 Contrast this example with example 1 This set of LaTeX source Amazingly An _ excessively _ long _ multiword _ identifier _ demonstrating _ hyphenation _ disabling begin minipage 3cm ISO 2002 All rights reserved 37 LaTeX for ISO standards 2002 E Table 8 Commands producing breakable characters Command Character NS bshyp N Ncolonhyp dothyp fshyp begin itemize item An _ excessively _ long _ multiword _ identifiery _ demonstrating _ hyphenation _ disabling item Underscore in math mode A_n item verb _ command in math mode A _n end itemize end minipage prints as Amazingly An excessively long multiword ident
30. aragraphs between 0 and 320 degre 29 Figure 5 Rotation of paragraphs between 0 and 320 degrees 30 Tables Table 1 Current file versions 4 Table Sectioning commands 5 TableB Example table in three parts eee 13 Table Definition symbol and abbreviation clause commands aaa 18 Table Defined clause headings with labels 00 000 18 Table 6 The rotation facilities 26 6 Ru ra o ee ew ee RB x x 21 Table 7 The principal xtab package commands eese 32 Table 8 Commands producing breakable characters 38 iv ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Foreword ISO the International Organization for Standardization is a worldwide federation of national standards bodies ISO member bodies The work of preparing International Standards is nor mally carried out through ISO technical committees Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee International organizations governmental and non governmental in liaison with ISO also take part in the work ISO collaborates closely with the International Electrotechnical Commission IEC on all matters of electrotechnical standardization International Standards are drafted in accordance with the rules given in the ISO IEC Directives Part 2 T
31. ays in effect until overwritten by a new tablelasthead or cancelled by this command tabletail The contents of this command are inserted be fore the end tabular on each page except for the last page of the table For example you might want to note that the table is continued on the next page tablelasttail The contents of this command are inserted be fore the final end tabular of the table For example you might want to note that this is where the table ends As well as the xtabular and mpxtabular environments there are the corresponding starred versions i e xtabular and mpxtabular for use in two column mode where the table is meant to span both columns EXAMPLE 1 Table 7 was produced by the following code topcaption The principal xtab package commands label tab xtab tablefirsthead hline multicolumn 1 c textbf Command Y nulticolumn 1 cl textbf Effect NN hline tablehead multicolumn 2 c 7 captionsize bfseries tablename thetable continued from previous page hline multicolumn 1 cl textbf Command Y multicolumn 1 cl textbf Effect NN hline tablelasthead multicolumn 2 c captionsize bfseries tablename thetable concluded from previous page hline multicolumn 1 cl textbf Command Y multicolumn 1 cl textbf Effect NN hline tabletail hline multicolumn 2 r Continued on next page NN hline tablelas
32. caption independently of the rotation of a figure or table The command rotcaption is analogous to the normal caption command and inserts the caption rotated by 90 degrees There is also the companion command controtcaption analagous to the contcaption command for continuation captions EXAMPLE 1 Float with a regular caption Figure 2 is produced by the code below begin figure centering caption Example figure with a standard caption label fig nocrot setlength unitlength 0 2in footnotesize begin picture 17 2 thicklines put 0 0 begin picture 4 1 Mput 1 5 0 5 oval 3 1 put 1 5 0 5 makebox 0 0 2 5 1233 put 3 0 5 line 1 0 1 0 put 4 25 0 5 circle 0 5 end picture put 4 5 0 Nbegin picture 8 1 put 0 0 Ndashboxi0 25 4 1 date put 4 0 5 line 1 0 3 5 put 7 75 0 5 circle 0 5 put 6 1 Nnakebox 0 0 A 1 3 end picture put 12 5 0 begin picture 4 1 put 0 0 framebox 4 1 INTEGER put 3 75 0 line 0 1 1 end picture end picture normalsize setlength unitlength 1pt ISO 2002 All rights reserved 27 LaTeX for ISO standards 2002 E Figure 3 Figure 2 with a rotated caption A 1 3 250 G pae e q mecen end figure EXAMPLE 2 Float with a rotated caption Figure 3 is produced by the code below begin figure centering rotcaption Figure protect ref fig nocrot with a rotated caption
33. command infannex Technical discussion assuming that this is the first annex in the document produces Annex A informative Technical discussion EXAMPLE 2 The command repannex Title of annex assuming that this is the second annex in the document produces Annex B Title of annex 6 2 1 The use of tocdepth and secnumdepth In the standard LaTeX classes the tocdepth and secnumdepth counters are set in the preamble to respectively control the level at which clause titles are inserted into a table of contents ToC and at which clause numbering ceases In the isov2 class the values of these can be changed at any point in the document The change lasts until another change is made to the value EXAMPLE 1 Assume that in the preamble we have setcounter secnumdepth 3 number ssclauses and above setcounter tocdepth 3 Z ToC includes ssclauses and above and that a certain subclause has subsubclauses that should be numbered but not put into the table of contents then we could do sclause The certain subclause setcounter tocdepth 2 ssclause Numbered but not in ToC setcounter tocdepth 3 sclause Following subclause It can sometimes be difficult to remember which level number corresponds to which kind of clause Accordingly a set of commands are provided to ease this task These commands can only be used after the preamble maxsecnumdepth lt sec gt sets the level at which clauses will be numbered Thi
34. dothyp multiword bshyp identifier fshyp demonstrating dothyp thyphenation end minipage prints as Analphabetically an excessively long multiword identifier demonstrating hyphenation Analphabetically an excessively long multiword identifier demon strating hyphen ation NOTE 2 LaTeX will not hyphenate the first word in a paragraph Just as with the _ command the discretionary hyphen command i e should not be used in conjunction with any of the breakable character commands as it will then inhibit any further potential hyphenation points In general any analphabetic character in a word will inhibit further hyphenation ISO 2002 All rights reserved 39 LaTeX for ISO standards 2002 E Annex A normative Additional commands A 1 Language configuration commands There is an additional set of commands in the iso class facility that are specified here This set has been provided to enable the style to be easily configured for a non English language The modified commands may be put in the document preamble or preferably placed in a separate sty file and called as a package This latter option improves reuseability A 1 1 Words and phrases To produce a non English version of the iso class the relevant commands from the following list may require re definition together with the heading commands in Table NOTE 1 In the listing the default values are printed in this font to distinguish them from t
35. drivername gt where lt drivername gt is one of the following dvipdf for the dvipdf translator b dvips for Tom Rockicki s dvips translator C dvipsone for Y amp Y s dvipsone translator d dvitops for James Clark s dvitops translator e dviwindo for Y amp Y s dviwindo translator f pctex32 for Personal TeX s PC TeX for 32 bit Windows pcter32 translator g pctexps for Personal TeX s PC PTI Laser PS pctexps translator h pubps for the Arbortext s pubps translator i textures for Blue Sky s Textures translator 7 3 Rotational directions isorot enables the textual and other elements of a document to be rotated from their normal horizontal layout In some cases elements can be rotated through arbitrary angles whereas in others only 90 degree rotation is possible By default a rotation through a positive number of degrees corresponds to a clockwise rotation The command Ncounterclockwise sets the following rotations to be counterclockwise for pos itive angles The command clockwise sets the following rotations to be clockwise for positive angles These commands can be used to toggle the rotational behavior Rotated floating environments are normally rotated so that they are printed with a counter clockwise rotation i e the original bottom of the float is placed at the right hand side of the paper which is what is normally required This behavior can be altered by the command figuresleft which will give
36. e via packages When no options are specified then the result is 11pt single column printing on A4 size paper without copyright notice and a running header That is by default the options set are final a4paper onecolumn 11pt notcopyright and otherdoc NOTE 1 The user of the isov2 class is encouraged to process this document using different combinations of the options to gain experience with their effects This printing of the document is typeset using the draft option NOTE 2 The otherdoc option was chosen as the default so that the current stage of ISO standardard ization has to be explicitly declared as an option and is therefore available to any software package that might process the document source e g a LaTeX to SGML translator 6 2 Sectioning commands Table 2 gives the sectioning commands defined for isov2 class documents The Nclause commands are similar to the normal LaTeX sectioning commands There are also starred versions of these commands e g clause Three varieties of annex commands are available normannex lt title gt for a normative annex OISO 2002 All rights reserved 5 LaTeX for ISO standards 2002 E infannex lt title gt for an informative annex repannex lt title gt for an annex that is neither normative or informative e g an annex in a technical report Only sclause and lower level sectioning commands can be used after an annex command EXAMPLE 1 The
37. efinitions 2222s 6 3 7 Listing of abbreviations se eee eee a 6 4 Floating bodies a 2 ee 6 5 Title command gt gt 62k koe ko eh 2 hae e n eR san s s ss vo mos 6 5 1 Ihecover ess 6 6 Cross referencing commands lA 6 7 Heading commands pace serca Eo REDE SO ee oR we uu PIE E 6 7 1 FOFGeWOFPd 25 Ta a a a X ia NER A K r 6 7 2 Introduction s een a Oe ee og RO E wd de on we 3 6 7 3 Scope clause sre 6 7 4 Normative references clause o ee 6 7 5 Definitions symbols and abbreviations _ _ 50004 6 7 6 Bibliography e exem sd je a e Be a Bey as 6 8 BIEN Mr 6 9 Version control commands 22s 6 9 1 Editorial gt lt lt amp sc 6a ke BEG S xo Ge OK x REOS gx Y owes X xk Sw Q 6 9 2 LES Tz 22 a Oe 2 8 q a haqa Be A k Ue s 6 9 3 Deleted i 4 2s ei 8a eb ae Rue Wok W Q k odd Rx S E 6 9 4 Moved 3 5 vong 4864 Oa BSG ex a ACE puede RA du Q de ud 610 PDE 2x5 RY A kesan ah OR S p E RUE ELE EOM NO S XR So Ua 7 The isorot package acil beh eed hh Hah adh Geto ns te ee Ge ate Bene ees A Bee ere eo 7 2 DVI driv rs sie o esf eR RE owe DRED AUR e BE De ERS 7 3 Rotational directions 7 4 Rotation Of text x 2 6 dee oo Q p e EEN BRE OO A a La 7 5 Rotations of tables and figures 22e 7 6 Rotation of float captions and bodies 7 0 Landscaping xoxo sh wie bw oe Ae Oe ee Be oe ee RR d OR a
38. emized list being marked with either an em dash or a bullet The SD deprecates the bullet but provides four levels each being marked with an em dash These are provided in the isov2 class NOTE 2 The ISOD allows for two levels of enumerated lists The SD extends this to four levels and these are provided in the isov2 class EXAMPLE 1 The list environments provided are shown below as beginf itemize item First level itemized element Nbeginfitemize item Second level itemized element begin itemize item Third level itemized element begin itemize item Fourth level itemized element end itemize ISO 2002 All rights reserved 7 LaTeX for ISO standards 2002 E end itemize end itemize end itemize beginfenumerate item First level enumerated element begin fenumerate item Second level enumerated element begin fenumerate item Third level enumerated element begin enumerate item Fourth level enumerated element end enumerate end enumerate end enumerate end enumerate begin description item Description a description element Note that a colon is automatically added to the item label end description and they produce First level itemized element Second level itemized element Third level itemized element Fourth level itemized element a First level enumerated element 1 Second level enumerated element i Third level enumerated element I Fourth level enumera
39. entified by standard LaTeX for standards yearofedition 1997 languageofedition E As a convenience the vacuous command extrahead is supplied which will add it s contents if any to the header It may be used for example to add a document number to the header by renewcommand extrahead Doc number If extrahead is modified it must be done in the preamble The title command sets the page numbering style to be arabic starts a new page numbered 1 and puts the title at the start of the page It also puts the appropriate header at the top of the page dependending on the particular combination of selected options NOTE Remember that you have to use the copyright option to enable printing of copyright symbols and notices 14 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E 6 5 1 The cover For publication ISO want to be supplied with a document starting on page iii with the ToC They supply the cover page i and page ii It can often be useful to have a cover page for documents while they are in the process of being prepared for submittal to ISO The cover environment is provided for that purpose The contents of the environment must not exceed one page and the contents must have a Nclearpage immediately before the end The cover environment also prints page ii which has a copyright notice on it if the document is copyrighted For example this document starts with begin cover vspace 4in
40. exentry sacros sere tds Aa E T T EK T eT TTT Ninfaf f iex ERRER RER ERRER ERRER dts ted edite bett plenus l6 OG MM Pr TBIOFISGBU IVO ai dean s eae nuu Der nam sire een s Ded informativename LS S Aerocrine eben esca crue eres adr tere arrede RR RR dr RR RR ER PRETEREA 36 breuis qM TCR Minscopename sssssslsssss esses e a e e a hr en 11 INTERNATIONAL STANDARD Internet a in s sI I mA IN Ns D D LLL D DUE S Ts Tntroduction Pr OE introduction environment se td Nintroductionname aap rene aren ar eee a Oe ee a ee ee Tee a ee RERUER AURA RUN 171 Nintropatents arist cratas 17 A AO 18 ODLIOH caerle REVIEW a Ee Es ER EE EU EK REA cda ap de REBEL MN EIER ERI da cda de ERR a E 54 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E XlSname ii ceso eds o A O AA POMPEPDPU Be QE EDEPOL QE HP PEERS Idus ic a 35 Nooo O ISO IEC Directives A A A Ri E AA E o sas ma Ea mataca tad CR TT puc c a DM M M ue LM IOD qe ety ee eat we re teen EM ST s l ST desse eane giras i aa EE E E E E EEE E E EEE E TATE RETEEEVEREREEROE CETERI RASA wis Pad isorot package er ISOF OL Sty cese m xe asia exa Max PUPPES URP A AS NES OUT unu pm ym m a MR MPa uu m D mm eM EM I OV2 Class vessasauvava a AE A AR patada 6 isov2 cls
41. ged by another NV caption com mand Defines the contents of the first occurence of the tabular head The tabular head is some special treatment of the first row in the table This com mand is optional If used the header must be closed by the end of line command for tabulars e g Defines the contents of the table head on subse quent pages For example you might want to note that this is a continuation of the table on the previous page as well as repeating any column headings that were given at the start of the xtabular by tablefirsthead Defines the contents of the table head on the last page of the table This works by writing to the aux file the number of pages that the xtabular extends over When the xtabular comes to the last tabular which it calculates from the information it reads from the aux file it replaces the contents of tablehead by the contents of tablelasthead Continued on next page ISO 2002 All rights reserved 33 LaTeX for ISO standards 2002 E Table 7 concluded from previous page Command Effect It makes no attempt to measure the amount of space used by the last table head so if this is more than for tablehead then the tabular might be a litle too long In any case when using this command the doc ument has to be La TeXed at least twice just as it has to be to resolve references and so on notablelasthead Switches off the last tablelasthead A tablelasthead st
42. he explana tory text Nannexname Header for an annex Default value is Annex contentsname Header for table of contents listing Default value is Contents copyrightname The copyright owner Default value is SO Nexamplename Identification of an example Default value is EXAMPLE figurename Start of the caption for a figure Default value is Figure forewordname Title of the Foreword Default value is Foreword Nindexname Header for the index Default value is Index informativename Identification of an informative annex Default value is informative inscopename Introduction to in scope listing Default value is The following are within the scope of this ISname INTERNATIONAL STANDARD as used in the header for an IS title page Default value is WORKING DRAFT Nintroductionname Title of the Introduction Default value is Introduction listannexname Header for list of annexes listing Default value is Annexes listfigurename Header for list of figures listing Default value is Figures listtablename Header for list of tables listing Default value is Tables normativename Identification of a normative annex Default value is normative 40 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E normrefsname Title of normative references clause Default value is Normative refer ences notename Identification of a n
43. he main task of technical committees is to prepare International Standards Draft International Standards adopted by the technical committees are circulated to the member bodies for voting Publication as an International Standard requires approval by at least 7596 of the member bodies casting a vote Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights ISO shall not be held responsible for identifying any or all such patent rights Annexes A and B are an integral part of this document Annexes D and F are for information only ISO 2002 All rights reserved v LaTeX for ISO standards 2002 E Introduction This document describes the use of the isov2 LaTeX class file and some package files in preparing ISO standard documents Overview This document describes a LaTeX class file called isov2 for typesetting ISO standards It also provides descriptions of some particular package files e g isorot that have been developed to support the writing of ISO standards The electronic source of this document also provides an example of the use of these files The current set of files 2 have been developed by Peter Wilson RPI CUA and NIST Boeing from files written by Kent Reed NIST In turn these were revisions of files originally created by Phil Spiby CADDETC UK based on early work by Phil Kennicott GE Documents produced with the LaTeX files have been
44. i eTqeyshemepts j nso1 u1 10 pomoje ooeds ou nq Bue uoAIS 9Y HOT sqjuoquoo oY soyejol oye 301 BUL UMAS oY usnodu3 squoquoo aq SoyeyOoI uiny ostMxoo o1o3unoo soo1dop 06 YSno1yy squoquoo oy so3e301 skemopts SJUSUIUOJ AU soo1dop 06 Snor uorde sy so3e3o1 qq puewtwoo uor4deoquoo oy oxi Uuor4de 40414u05N soo1dop 06 Bno uondeo oy soyejor mq pueururoo uor3deo y AN Uor3de530JN 9SIMXOO O SYROY S BMOPIS IO UOI329JIp UOI3 301 S S IJ9TS9INITIA yMeJop 973 ASIMADO IISJUNO syeop S RMDPIS IO UOIJDIIMP uorye301 9109 JUSTASIANITIA so due 9AIJISOA 10g ISIMADO 9I9YUNOY uorjoo1rp uorje301 9109 esrAXx2o 241e3unooN q nejop oy se gue aaryisod 10 ISTMADO UOTPOIIP uorje301 9109 SSTMADOTIN sdtap 3 nejop 10ye sue 1 d1198980J 03 LAD 9y JO eureu y ore oop lt IOATIP gt IOATIPOI spueuruio 129 AMPLA sonmoej uorej3o1 QL 9 AQEL 21 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E 7 1 Options The isorot facility has one option namely debugshow Calling this option produces messages on the screen and in the log file regarding the actions being taken NOTE This option is principally of interest to the maintainer of the facility 7 2 DVI drivers The isorot facility supports only a limited number of dvi to postscript translators The default translator is dvips The following command must be put in the preamble of the document if dvips is not being used rotdriver lt
45. ifier demonstrating hyphenation disabling An excessively long multiword identifier demonstrating hyphenation disabling Underscore in math mode An Nu com mand in math mode An The hyphenat package also provides some other commands for enabling hyphenation of words that include analphabetiq characters In this context the phrase breakable character is used to describe an analphabetic character that enables hyphenation immediately after it and does not prevent further hyphenation in the word in which it occurs The _ command produces a breakable underscore Table 8 lists all the commands that generate breakable characters The bshyp command prodes a breakable backslash X fshyp produces a breakable forward slash the N othyp command produces a breakable full stop also known in some countries as a period and the colonhyp command produces a breakable colon EXAMPLE 3 This is similar to example I except that it demonstrates other breakable characters This set of LaTeX source Analphabetically an bshyp excessively fshyp long dothyp multiword bshyp identifier fshyp demonstrating dothyp hyphenation 4 An analphabetic character is any character that is not alphabetic Typically it refers to punctuation characters 38 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E begin minipage 3cm Analphabetically an bshyp excessively fshyp long
46. iso ist is provided as part of this distribution OISO 2002 All rights reserved 45 LaTeX for ISO standards 2002 E C 1 The index command The index command is one of the standard LaTeX commands The command format is index lt str gt where str is any string of characters and it writes an entry to the idx file in the form indexentry lt str gt pg where pg is the page number in the document where the command is called Some points to note The index command is in LaTeX terminology fragile That is if it appears in a moving argument like the caption to a table or figure it must be preceded by the LaTeX protect command Any of the ten LaTeX special characters i e 4 _ V and may appear within the argument with the proviso that it must have no unmatched braces the braces in M and are counted in the matching process The index command must not appear inside another command s argument e g within a footnote or clause command unless the argument of the Nindex command contains only letters digits and or punctuation characters In particular it should not contain any of the special characters NOTE 1 This means that the argument of the Nix command should not contain any special characters Remember that the Nix command prints its argument in the body of the text and also calls Nindex to place its argument into the idx file NOTE 2 Under some circumstances an Ni
47. lements can be rotated through arbitrary angles and also rotated elements can be nested inside other rotated elements 24 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Lg P dHLS Joy x Ls lo o e oop 7 Lp lt p oy el on y PA qais YR S 3 G X KAT OS 2 E gt Oa _ SES B E S 2 gt gt g amp w E S E e a H SU C des b un Sn SEE e AS SE s R BARS SS sh gt S A ai S 2 v T Xe E 2 N y ady EP S Us 9 m JposmoA ssordxy p yourself EZ S X g iB ZL Dress lt FE UU Bee o Urs lt 9 lt get ST A e elf SS ma N SUO OX 9 S Su F SR amp o K ne S S Do T Leo d S A ao og qe SA E 2 Sow 4 2 lt S neg amp VS C g B Ww uw Ua lt e X o 9 yy o9 Figure 1 Example rotation through multiple angles EXAMPLE 4 Repeated rotation The following example code shows that text can be rotated through any angle The result is shown in Figure I XnewcountXprwc newsavebox prwtext newdimen prwspace def wheel 1 2 savebox prwtext 1 begin sideways 2 end sideways prwspace wd prwtext advance prwspace by 1cm centerline rule 0pt prwspace rule prwspace Opt prwspace prwc 180 loop ifnum prwc lt 180 rlap begin rotate the prwc rule icm Opt usebox prwtext end rotate advance prwc by 20 repeat begin figure wheel Express yourself Hooray for STEP caption Example ro
48. losely with the International Electrotechnical Commission IEC on all matters of elec trotechnical standardization International Standards are drafted in accordance with the rules given in the ISO IEC Directives Part 2 The main task of technical committees is to prepare International Standards Draft International Stan dards adopted by the technical committees are circulated to the member bodies for voting Publication as an International Standard requires approval by at least 75 of the member bodies casting a vote In other circumstances particularly when there is an urgent market requirement for such documents a technical committee may decide to publish other types of normative document an ISO Publicly Available Specification ISO PAS represents an agreement between technical ex perts in an ISO working group and is accepted for publication if it is approved by more than 50 of the members of the parent committee casting a vote an ISO Technical Specification ISO TS represents an agreement between the members of a tech nical committee and is accepted for publication if it is approved by 2 3 of the members of the committee casting a vote An ISO PAS or ISO TS is reviewed every three years with a view to deciding whether it can be trans formed into an International Standard NOTE 2 The required paragraph immediately following this boilerplate is ISO PAS or ISO TS was prepared by Technical Committee ISO TC The
49. lt definition of Ncaptionsize is similar to captionsize normalsize You can reset the captionsize at any point in your document to change the size of captions from then onwards All the normal LaTeX font size commands are available EXAMPLE 1 The following shows the effects of the font size commands tiny tiny text prints tiny text scriptsize scriptsize text prints scriptsize text footnotesize footnotesize text prints footnotesize text small small text prints small text normalsize normalsize text prints normalsize text large large text prints large text 42 ISO 2002 All rights reserved Large Large text prints Large text LARGE LARGE text prints LARGE text huge huge text prints huge text Huge Huge text prints Huge text ISO 2002 All rights reserved LaTeX for ISO standards 2002 E 43 LaTeX for ISO standards 2002 E Annex B normative Ordering of LaTeX commands The LaTeX commands for the logical structuring of an ISO standard document are documentclass lt options gt isov2 for LaTeX 2e usepackage lt name gt additional packages LaTeX 2e standard lt standard identification gt yearofedition lt year gt languageofedition lt parenthesized code letter gt other preamble commands begin document begin foreword start Foreword fwdbp boilerplate Z other text and perhaps fwdnopatents end foreword begin introduction start Introd
50. ment Actually any of the previously mentioned environments may be used Two further environments are provided which rotate a LaTeX float through 90 degrees These are sidewaystable which corresponds to the standard LaTeX table environment and sidewaysfigure which corresponds to the standard LaTeX figure environment There are also starred versions of these namely sidewaystable and sidewaysfigure for use in twocolumn mode However the correspondence with the standard environments is not strictly complete as a sideways float is alway placed on a page by itself The direction of rotation may be controlled by the figuresright and figuresleft com mands EXAMPLE 1 Table 6 is produced by the code below 26 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E Figure 2 Example figure with a standard caption s A 1 3 25 1 KO date Q INTEGER begin sidewaystable centering caption The rotation facilities label tab4 begin tabular 1 1 hline textbf Facility amp textbf Effect hline multicolumn 2 cl textbf Commands NN hline verb rotdriver lt driver gt amp declare the name of the dvi to Postscript translator default tt dvips verb sidewaysfigure amp like the verb figure environment but rotated 90 degrees hline end tabular end sidewaystable 7 6 Rotation of float captions and bodies Sometimes it may be useful to rotate a
51. nd tabular end table produces the three part Table 6 5 Title command The command to produce the title of the standard is title lt intro gt lt main gt lt compl gt The command takes three parameters according to the three elements of the title as specified in the ISO directives OISO 2002 All rights reserved 13 LaTeX for ISO standards 2002 E Table 3 concluded Col 1 Col 2 E 5 F 6 a intro The introductory element of the title This may be empty b main The main element of the title c compl The complementary element of the title This may be empty EXAMPLE 1 If this were actually meant to be an ISO standard then the LaTeX source for the title of this document might be title Industrial automation systems and integration Product data representation and exchange Part 3456 Documentation methods The LaTeX style file reference manual NOTE There must be a space on either side of the colon separating the part number and the final part of the title Three other commands are used for setting the running header throughout the document These shall be placed in the preamble The command standard lt number of standard is used to identify the standard The command yearofedition lt year gt is used to identify the year of the edition The command languageofedition lt code gt is used to identify the language of the edition EXAMPLE 2 This document is id
52. ndex item lt text and page numbers gt subitem lt text and page numbers gt subsubitem lt text and page numbers gt end theindex where item is a major topic entry subitem is a sub topic entry and subsubitem is a sub subtopic entry The command indexspace can be used to add space between the entries Other text and commands can also occur within the environment LaTeX provides no help in going from an idx file to the theindex environment 1 The data in the file has to be sorted duplicate page numbers deleted etc and then re written in the desired environment format The typical process for producing a document with an index is a Prepare the source file say fred tex with the command makeindex in the preamble and index commands within the body of the text b Run LaTeX As well as producing the usual output files it will also produce the file fred idx c By some means produce a file let s call it fredidx tex from the data in fred idx that contains the appropriate theindex formatted data d Run LaTeX again on fred tex which now has to contain either via input or include the file fredidx tex Chen and Harrison discuss the problems of creating an index in their paper ndex prepa ration and processing and also describe the MAKEINDEX program Goosens Mittelbach and Samarin also describe how to use the MAKEINDEX program for producing indexes for La TeX documents For users of MAKEINDEX a style file called
53. ndex command appearing in another command s argument may contain special characters provided they are protected Determination of when this is satisfactory is a process of trial and error EXAMPLE 1 The command ixfan protect _underscore will print the characters an undescore in the text and also write the following to the idx file indexentry an _ underscore pg Notice that there is a space between the underscore character and the word underscore in the idx file but there is no space in the printed body of the document text This extraneous space may have to be edited out from the final index 46 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Annex D informative LaTeX the Web and ML ISO are becoming more interested in electronic sources for their standards as well as the tra ditional camera ready copy Acronyms like PDF HTML SGML and XML have been bandied about Fortunately documents written using LaTeX are well placed to be provided in a variety of electronic formats comprehensive treatment of LaTeX with respect to this topic is provided by Goossens and Rahtz 6 SGML Standard Generalized Markup Language is a document tagging language that is de scribed in ISO 8879 8 and whose usage is described in 10 among others The principal mover behind SGML is Charles Goldfarb from IBM who has authored a detailed handbook 9 on the SGML standard The concepts lying behind both LaTeX
54. ng are outside the scope of this manual use of LaTeX in general use of other document preparation systems IMPORTANT No matter whether or not there are copyright attributions to ISO this docu ment is not copyrighted by ISO Any copyright markings are for illustrative purposes only This document is released under the LaTeX Project Public Licence 2 Normative references The following normative documents contain provisions which through reference in this text constitute provisions of this manual For dated references subsequent amendments to or revi sions of any of these publications do not apply However parties to agreements based on this manual are encouraged to investigate the possibility of applying the most recent editions of the normative documents indicated below For undated references the latest edition of the norma tive document referred to applies Members of ISO and IEC maintain registers of currently valid International Standards ISO IEC Directives Part 2 Rules for the structure and drafting of International Standards Fourth edition 2001 ISO TC 184 SC4 N1217 2001 E SC4 Supplementary directives Rules for the structure and drafting of SC4 standards for industrial data 2001 11 01 ISO IEC 8824 1 1998 Information technology Abstract Syntax Notation One ASN 1 Spec ification of basic notation ISO 2002 All rights reserved 1 LaTeX for ISO standards 2002 E rsd Camera ready c
55. not too exotic HTML is a simple markup language based on SGML and is used for the publication of many documents on the Web XML is a subset of SGML and appears to being taken up by every man and his dog as the document markup language HTML is being recast in terms of XML instead of SGML PDF is a page description language that is a popular format for display of documents on the Web LaTeX documents can be output in PDF by using pdfLa TeX Instead of a dvi file being produced a pdf file is output directly The best results are obtained when PostScript fonts rather than Knuth s cm fonts are used Noting that the iso class provides an Nifpdf command a general form for documents to be processed by either LaTeX or pdfLaTeX is documentclass isov2 usepackage times PostScript fonts Times Courier Helvetica ifpdf pdfoutput 1 4 request PDF output Nusepackage pdftex graphicx else ISO 2002 All rights reserved 47 LaTeX for ISO standards 2002 E usepackage graphicx MES There are several converters available to transform a LaTeX document into an HTML docu ment but like Itx2x they generally do their own parsing of the source file and unlike Itx2x are typically limited to only generating HTML Eitan Gurari s TeX4ht suite is a notable exception see Chapter 4 and Appendix B of 6 It uses the dvi file as input so that all the parsing is done by TEX and can be configured to generate a wide variety of output formats
56. note produce NOTE Plain note 6 3 3 Examples Two different kinds of environments are provided for typesetting examples ISO 2002 All rights reserved 9 LaTeX for ISO standards 2002 E 6 3 3 1 Numbered examples The environment begin fexample tert end example produces a numbered example whose body consists of text EXAMPLE The commands beginfexample Numbered example label ex exref end example produce EXAMPLE 1 Numbered example NOTE Numbered examples and numbered notes may be identified using the label command as exhibited in example I in 6 3 3 1 and then referred to by the ref command 6 3 3 2 Isolated examples The environment Nbeginfanexample tert end anexample produces an un numbered ex ample whose body consists of text EXAMPLE The commands begin fanexample Isolated example Nend anexample produce EXAMPLE Isolated example 6 3 4 Bibliographic references Two different kinds of environments are provided for bibliographic references It should be noted that neither of these has anything to do with BibTeX 6 3 4 1 Normative references Normative references are listed in the nreferences environment In this environment bibliographic entries are denoted by either isref lt ref gt lt title gt or by disref lt ref gt lt title gt The lt ref gt parameter is the number of the standard document and the title parameter is the title of the standard
57. nvironment zcesesaduteetedusex etudes ete date ete tau edet a ete cea 121 NE E REN Nfig rerefname iones re aE parce a And rn tod eg yen eg E EA EE TE A VUES ALARH figuresleft 21 22 OISO 2002 All rights reserved 53 LaTeX for ISO standards 2002 E figuresright oooooor eh eh e e e ennnees file TO O OO OO IPTE S TSG inicr INL Disi d LIU LA IGE ack nO o aS e R R hT E T D RO awe s usa o eT ccu 21 8 40 cn nn En O o OR ass a sana O a Te LEO TTT KE d TTT U 2 e H eT TTT foreword environment AAA forewordname su ee ee ee ee a ER OUR Sd AV vd HM EO q 55 161 ipii qr IE bend TTT French language NES ener UROPUPR Pep OPERE pO PURO OPEP ep hx a P fY Y er Ua A PELO DDR EEE EEEE ri EVE ERE EE EROR EE Rus Nfwdhopatents lewis REL dota hb 16 H ge it ES A Rie te med ie ERA AEREAS ASIA AA SAA ARI o a aa aaa aaa asado hyperref package E es hyphenat package hyphenat sty hyphenation o Mi 20 SLE steal A a a L Sa aaa Pisa suqus Suwa SEE RES eee ere eee A 36 NTC UG Toni PD Index 2a aiadedadadaiaseiedaelddaciliad dadadeiddalddaiidaddjinid iidialidqiid4iddddaas index EN a acus oru ota A bo Gn RM n Canara RE eM eR eu ER eae 45 46 ind
58. of fonts The class also supports the use of the hyperref package in conjunction with pdfLaTeX Typically bookmark processing would be specifed by ifpdf pdfoutput 1 usepackage plainpages false pdfpagelabels bookmarksnumbered hyperindex true hyperref else NET If the hyperindex true option to the hyperref package is used the the index has to be processed via the MAKEINDEX program 7 The isorot package facility The isorot facility enables the rotation of document elements on a page It uses the LaTeX special command to perform its effects and thus can only be used with a limited number of dvi to postscript programs The facilities available are summarized in Table 6 isorot is a modification of the rotation sty file created by Rahtz and Barroca 4 Further examples of the usage of their style are given in Goosens et al 5 NOTE 1 Several examples of the effects of the commands described herein are shown In many cases the results are not pretty This should act as a warning that using rotational elements requires more care than most other document elements 20 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E opour odeospury ur sosed poso ouo Te syad ede spuel eINSTISAeMEPTS JO UOISIOA uuin oooA3 x0In3Tysfkemepts sa9139P 06 poyejorI Inq JUSUIUOIIAUD SANBTI oY MI einstyshemepts eTqeyshemepTs JO UOISISA uuin o20A3 xer qeas Keneprs s99139P 06 P9yejo1 q 3uouruodtAUuO 9TALA OY ox
59. ome gt 6 9 Version control commands A set of commands are provided to assist when revising a document For these commands to flag the changes in the printed document the command changemarkstrue must be put in the preamble In the commands described below the lt number gt parameter can be used to correlate changes in a document to some external numbered requirement for the change 6 9 1 Editorial The command editorial lt number gt flags an editorial change to the document text with Eprumber EXAMPLE Just to start things off this is an original sentence which should take up about a line This example sentence contains an editorial change The command editorial 37 was included in the previous sentence This sentence though has no changes marked in it and may be assumed to be unaltered from a prior version 6 9 2 Added The command added lt text gt lt number gt flags the position of the additional text and high lights it EXAMPLE Just to start things off this is an original sentence which should take up about a line This example sentence contains some added text in the middle of it The command added some added text 27 was included in the previous sentence This sentence though has no changes marked in it and may be assumed to be unaltered from a prior version 6 9 3 Deleted The command deleted lt number gt flags the position of deleted text EXAMPLE Just to start things off this is an origin
60. opy CRC Submission requirements and ISO type specification Ver sion 1 0 1996 04 26 3 Terms definitions and abbreviations 3 1 Terms and definitions For the purposes of this manual the following definitions apply 3 1 1 boilerplate text whose wording is fixed and has been agreed to be present in a specific type of document 3 1 2 style file a set of LaTeX macros assembled into a single file with an extension sty 3 1 3 package file a style file for use with LaTeX2e 3 2 Abbreviations For the purposes of this manual the following abbreviations apply CD Committee Draft DIS Draft International Standard FDIS Final Draft International Standard IS International Standard IS REVIEW The documentation style accepted by the ISO Editorial Board review Septem ber 1994 of twelve IS documents the initial release of ISO 10303 for com pliance with ISO typographical and layout requirements ISOD ISO IEC Directives Part 2 PAS Publicly Available Specification SD SC4 Supplementary directives TR Technical Report TS Technical Specification WD Working Draft CRC The ISO Camera ready copy CRC document 2 To be published 2 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E ToC table of contents 4 Conformance requirements The LaTeX macro source files shall not be modified If there is a need to modify the macro definitions then the modifications shall be defined in a separate sty file o
61. ote Default value is NOTE outofscopename Introduction to out of scope listing Default value is The following are outside the scope of this NXpagename The word for the page header in the table of contents Default value is Page scopename Title of the Scope Default value is Scope tablename Start of the caption for a table Default value is Table tbpname Footnote text for to be published Default value is To be published The following commands provide the names for referenced document elements annexrefname Reference to an annex Default value is annex clauserefname Reference to a clause Default value is clause examplerefname Reference to an example Default value is example figurerefname Reference to a figure Default value is Figure noterefname Reference to a note Default value is note tablerefname Reference to a table Default value is Table pagerefname Reference to a page Default value is page NOTE 2 The above commands may be changed via the LaTeX Xrenewcommand NOTE 3 The LaTeX command today will probably also require modification This is not something for the casual user to attempt EXAMPLE 1 The following is a partial list of the commands to convert to a French language style renewcommand annexname Annexe renewcommand contentsname Sommaire renewcommand examplename EXEMPLE 4 renewcommand examplesname EXEMPLES rene
62. ow Default rotation direction nus 90 turn O g AMDEFGHIJKLM ZNOP and continue on with another line afterzrotations un e EXAMPLE 2 This example shows th amp effect of using the Ncounterclockwise command S 9303 This code Flip rotation direction Ncounterclockwise A begin sideways BC end sideways DEFGHIJKLM begin turn 90 ISO 2002 All rights reserved 23 LaTeX for ISO standards 2002 E Minus 90 turn end turn NOP begin rotate 90 Plus 90 rotate end rotate QN Set rotation direction back to default value Nclockwise o produces the following which should Bo compared with example 1 Flip rotation direction O AMDEFGHIJKLM NOP Plus 90 r Q TWIN 06 snur Set rotation direction back to default value Although the examples so far have only shown the rotation of text boxes can also be rotated EXAMPLE 3 Rotating a box This code newsavebox foo newlength fool settowidth fool Hurrah for ISO savebox foo parbox fool Hurrah for ISO Hurrah for ISO Hurrah for ISO Hurrah for ISO Start usebox foo amp begin turn 45 usebox foo end turn amp begin turn 45 usebox foo end turn End produces O S Oy SM S Oo lt o lt y Z lt Hurrah for ISO S Q U S Hurrah for ISO gt zo SA Start O amp e End Art Hurrah for ISO AS 2 f Hurrah for ISO KA o SG LO 2 Ue de 7 p O 40 S So So A E
63. produced a new version of their Directives on the requirements for the layout of ISO documents These were not completely unambiguous as to their intent the current version was released in 2001 Members of ISO TC184 SC4 have worked with the ISO Editorial Board and have reached an agreement that more precisely identifies the requirements The current version of the LaTeX files implements that agreement NOTE 1 The original of this manual has been typeset using the draft option in order to display its effect of placing a black box at the end of each line that is longer than the normal width of the text NOTE 2 The author of this document may be contacted at peter r wilson boeing com In mid 1994 LaTeX was upgraded from version 2 09 to what is called LaTeX2e The files described in earlier versions this document were compatible with both versions of LaTeX Starting with the October 1997 release support was withdrawn from any LaTeX v2 09 file versions vi ISO 2002 All rights reserved WORKING DRAFT LaTeX for ISO standards 2002 E LaTeX for ISO standards User manual Peter Wilson August 2002 1 Scope This manual describes a set of LaTeX files for typesetting documents according to the ISO Directives Part 3 third edition 1997 together with some elements from the ISO 10303 Sup plementary Directives The following are within the scope of this manual use of LaTeX for preparing ISO standard documents The followi
64. ps its contents on a single page presumably you are using xtabular because its contents are longer than one page End the xtabular environment begin mpxtabular Like the xtabular environment except that each page is put into a minipage first Thus it is possible to have footnotes inside an mpxtabular The footnote text is printed at the end of each page Continued on next page 32 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Table 7 continued from previous page Command Effect end mpxtabular End the mpxtabular environment topcaption bottomcaption tablecaption tablefirsthead tablehead tablelasthead Note If any of the following commands are used then they should be placed before the par ticular xtabular environment that they apply to A command to provide a caption for the table The caption is placed at the top of the table A command to provide a caption for the table The caption is placed at the bottom of the table A command to provide a caption for the table The caption is placed at the default position which is at the top of the table Notes You cannot use the caption command but you can put a label after any of these cap tioning commands If you want captioning the command must be specified before the start of the xtabular environment The caption command s remain in ef fect until chan
65. r files using the LaTeX renewcommand and or the renewenvironment commands as appropriate The resulting sty file s shall then be called in within the preamble portion of the document to be typeset Author specified label commands shall not start with the characters i semicolon and 417 definition of labels starting with these characters is reserved for the maintainer of the facility files 5 Fundamental concepts and assumptions It is assumed that the reader of this document is familiar with the LaTeX document preparation system NOTE 1 Reference 1 in the bibliography describes the LaTeX system The reader is also assumed to be familiar with the ISO IEC Directives Part 2 ISOD Agree ments reached between the ISO Editorial Board and ISO TC184 SC4 are documented in the SC4 Supplementary Directives SD If there are any discrepancies between the layout and wording of this document and the re quirements of the ISO IEC Directives Part 2 then the requirements in that document shall be followed for any ISO standard document The isov2 class requires the url package NOTE 2 Additional LaTeX facilities specifically designed for ISO 10303 are defined and described elsewhere Bl Because of many revisions over the years to the files described herein a naming convention has been adopted for them The primary name of the file is suffixed by v or where Z is the version number of the file in question All file primary names ha
66. s command should be used before the first sectioning command 6 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E maxtocdepth lt sec gt sets the level at which clauses will be put into the ToC This com mand should be used before the tableofcontents command setsecnumdepth lt sec gt sets the current level at which clauses will be numbered This command can be used anywhere after the preamble settocdepth lt sec gt sets the current level at which clauses will put into the ToC This command can be used anywhere after the preamble The value of the argument sec can be any of the following clause sclause sssssclause EXAMPLE 2 Using these commands the previous example can also be coded as begin document maxsecnumdepth ssclause maxtocdepth ssclause sclause The certain subclause settocdepth sclause ssclause Numbered but not in ToC settocdepth ssclause sclause Following subclause 6 3 LaTeX environments and commands Many of the standard LaTeX environments and commands are available In particular all the normal mathematical typesetting capabilities are present However there are some additional environments and commands defined 6 3 1 Lists The standard LaTeX itemize enumerate and description environments are provided The labels in these lists though differ from those normally provided by LaTeX NOTE 1 The ISOD describes only a single level for an it
67. see annex A The command normrefbp lt document identifier prints the ISO required text for the intro duction to the listing of normative references The document identifier parameter must be such that it reads sensibly in a sentence of the form constitute provisions of this document identifier EXAMPLE 1 Clause 2 in this document was started by the commands normrefsclause label sec nrefs normrefbp manual begin nreferences 6 7 5 Definitions symbols and abbreviations A variety of commands are provided that initiate new numbered clauses for definitions symbols and abbreviations Depending on the amount of material in these respective categories one or more clauses may be used The commands and clause titles are listed in Table 4 The clause ISO 2002 All rights reserved 17 LaTeX for ISO standards 2002 E Table 4 Definition symbol and abbreviation clause commands Command Clause Title Default text defclause C defname Terms and definitions symclause C symname Symbols abbclause C abbname Abbreviations defsymclause C defsymname Terms definitions and symbols defabbclause C defabbname Terms definitions and abbreviations symabbclause C symabbname Symbols and abbreviations defsymabbclause C defsymabbname Terms definitions abbreviations and symbols defsubclause SC defname Terms and definitions symsubclause SC symname Symbols abbsubclause SC N
68. st sujette a r e vision et les parties prenantes des accords fond e s sur la pr fe sente 1 sont invit etes a rechercher la possibilit e d appliquer les e ditions les plus r f e centes des normes indiqu e tes ci apr e s Les membres de la CEI et de 1 IS0 poss e dent le registre des Normes Internationales en vigueur a un moment donn e J4 end renewcommand EXAMPLE 2 Given that normrefbp has been redefined as in example 1 then the command normrefbp norme internationale will print Les normes suivantes contiennent des dispositions qui par suite de la r f nce qui en est faite constituent des dispositions valables pour la pr sente norme internationale Au moment de la publication les ditions indiqu es taient en viguer Toute norms est sujette r vision et les parties prenantes des accords fond s sur la pr sente norme internationale sont invit es rechercher la possibilit d appliquer les ditions les plus r centes des normes indiqu es ci apr s Les membres de la CEI et de PISO poss dent le registre des Normes Internationales en vigueur un moment donn The tspasfwdbp also maintains boilerplate text in the file tspasfwdbp tex A 2 Caption text size The size of the font used for typestting the captions of figures and tables is defined within the iso class The size of the captioning font is controlled by the value of the captionsize command The defau
69. t style fle TT NU TTT Nsubsubitem 2 0 0 0 eee ehe eee ee e e eee S p ertabular t o METTTQITTITQ QE TT TE o 311 Supplementary directives oocoocccoccccnnccr ehe mene eee symabbclause sssssseeeleee ehh s e e e eee eeeeee ASymabDnalie xxx RO RON RODA XOU RUMOR RUE ORO CHOR RU CR RR C MC PRU SC ER HCM een Nsymabbsubclause sue REA Quq Q RE RARE RR RR Qu Quq UR RR A RACER Q Q aQ RARE RC RR A symboldef ibid symbols Environment oid acidi dab bacino dani telnet dsd symclause a aos NSymname A ee eee er Tc re Ty Symsubclause Table ripio table ae a a D Le D MEL E I LU RU URL a usa table environment nad E iaia awa kasa ama RER ER E Sas tablefirsthead usse scere arie qunas HR e mama deser d tese qaa P MADE e a E EHE Nbablehsead Jv eek ERU UICE RN et Ld ER ua u Sa a qk phap Nbableiasthead iii RI A Oe Ntabielsasttall naa Rd AA pds a a e Ea a eai ii bode REALE lasa tablero tramo Ime Tables ooo Nbabletadl a AA AA A E NEN A MAE Leshspes TODtIoH 12553055 0o aulia idad TeX4ht usss aR eeii isti diik diaii Eai NERA RUP BOUNCE AR RUNE RUPTURE bh eee ee RUNI Cd e N ane cq E OI The following are outside the scope of this The following are within the scope of this theindex environment dere docena e DH O O L AAA AA A e To be PUBLISHER A RRA SE E BERNER EE Rs 41 Joc tocdepth ss aR RRR RRR ka p RE RR ra a a a A RR RE EG See ID NLODCSDL da
70. t document where overfull horizontal boxes are marked marginal notes are allowed and ISO copyright text is not placed in the document final the opposite of draft this is the default letterpaper for printing on US letter size paper a4paper for printing on A4 size paper this is the default twocolumn for two column formatting onecolumn for single column printing this is the default One of 11pt 10pt 9pt for 11pt 10pt or 9pt printing respectively the default is 11pt notcopyright for disabling the printing of copyright notices this is the default copyright enables printing of copyright notices 4 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Table 2 Sectioning commands Level Command 1 clause normannex infannex repannex sclause ssclause sssclause ssssclause sssssclause gt Ot w rbi is for International Standard documents fdis for Final Draft International Standard documents dis for Draft International Standard documents cd for Committee Draft standard documents wd for Working Draft standard documents pas for Publicly Available Specification standard documents techrep for Technical Report standard documents techspec for Technical Spefication standard documents otherdoc for documents that are not intended to become a standard this is the default Any other facilities that are availabl
71. tab package facility is an extension of the supertabular package originally developed by Johannes Braams and Theo Jurriens The extension provides for the specification of a header to go on the last page of a long table The principal commands available are given in Table Table 7 The principal xtab package commands end xtabular Command Effect begin xtabular This is equivalent to the normal begin tabular environment You supply the specification of the columns just as for the normal tabular environment All commands that can be used within a tabular environment can also be used within the xtabular environment Unlike the tabular environment which prevents page breaking within the tabular the xtabular allows page breaking so that tabulars can ex tend automatically across several pages Xtab ular starts off with a tabular environment and checks the amount of space left on the page as it adds each row to the tabular If the space left on the page is too short for another row then it ends the current tabular performs a page break and starts another tabular on the following page This process is repeated until all the rows have been output There are special commands for captioning a xtabular as a table and also elements can be automatically inserted after each internal begin tabular and immediately before each end tabular Do not put a xtabular in a table environment as the table environment kee
72. tation through multiple angles label fig wheel end figure Figures 4 and 5 also show rotations through a range of angles both positive and negative EXAMPLES Nested rotations ISO 2002 All rights reserved 25 LaTeX for ISO standards 2002 E This code Here is some text before a Nverblsideways environment And some more and more and more garble gobble cluck click clack clock cluck and so on and on and on begin center begin sideways rule 1in 0pt begin tabular 1r begin rotate 45 emph Word end rotate amp begin rotate 90 Occurrences end rotate hline hello amp 33 goodbye amp 34 hline end tabular end sideways end center Here is some text after a verb sideways environment And some more and more and more garble gobble cluck click clack clock cluck and so on and on and on produces Here is some text before a sideways environment And some more and more and more garble gobble cluck click clack clock cluck and so on and on and on soouoimoo Q le c OD o S og lt oS Y d Here is some text after a sideways environment And some more and more and more garble gobble cluck click clack clock cluck and so on and on and on 7 5 Rotations of tables and figures The previous examples have demonstrated the rotation of textual elements For instance exam ple 5 shows that tabular material can be rotated using the sideways environ
73. ted element Description a description element Note that a colon is automatically added to the item label EXAMPLE 2 Here is a more complex set of lists First level itemization a First level enumeration Second level itemization 1 Second level enumeration Third level itemization 3rd level itemization 2 2nd level enumeration 2nd level itemization 8 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E b 1st level enumeration lat level itemization NOTE 3 On occasion LaTeX objects to a well formed list Typically this happens when a list has only one entry The LaTeX error message is of the form Something s wrong perhaps a missing item Hitting the lt return gt key usually gets LaTeX to run on happily NOTE 4 Similarly you may get the message Too deeply nested Again hit return and processing should continue However the indentation of later lists may not be correct 6 3 2 Notes Two different kinds of environments are provided for typesetting notes 6 3 2 1 Numbered notes The environment begin note lt text gt end note produces a numbered note whose body consists of tert EXAMPLE The commands begin note Numbered note end note produce NOTE 1 Numbered note 6 3 2 2 Isolated notes The environment Nbegin anote tert end anote produces an un numbered note whose body consists of text EXAMPLE The commands begin fanote Plain note end a
74. ttail hline hline begin center begin xtabular 1 p 0 5 textwidth verb begin xtabular This is equivalent to the normal verb begin tabular environment You supply the specification of the columns just as for the normal tabular environment All commands that can be used within a tabular environment can also be used within the xtabular environment 34 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Unlike the tabular environment which prevents page breaking within the tabular the xtabular allows page breaking so that tabulars can extend automatically across several pages Xtabular verb tablelasttail amp The contents of this command are inserted before the final verb end tabular of the table NN amp For example you might want to note that this is where the table ends end xtabular end center The table is only broken between rows a row will not be split across pages This can lead to some bad page breaks especially if there are rows with a large vertical height like some in Table 7 It is best to keep rows not too tall The command shrinkheight lt length gt may be used after the first NN in the table to modify the allowed height of the table on each page A positive lt length gt decreases the allowed space per page and a negative length increases the allowed space EXAMPLE 2 This example illustrates changing the natural height of the pages
75. uction Z text and perhaps intropatents end introduction title lt intro gt lt main gt lt comp1 gt the title scopeclause The Scope clause begin inscope lt document gt in scope boilerplate Mtem list end inscope text begin outofscope lt document gt 4 out of scope boilerplate Mtem list end outofscope text normrefsclause The Normative references clause normrefbp lt document identifier boilerplate begin nreferences isref lt p1 gt lt p2 gt and or disref lt p1 gt lt p2 gt commands end nreferences definitions symbols abbreviation clause as appropriate clause lt Clause title gt THE BODY OF THE DOCUMENT Y caen 4 normannex lt Normative annex title H R 4 infannex lt Infomative annex title gt ae bibannex optional bibliography bibliography listing the index end document 44 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E Annex C informative Creating an index LaTeX although providing some assistance in preparing the data for an index only does part of the job Providing the command makeindex is put in the document s preamble the LaTeX command index text writes out text to an idx file in the following format indexentry text pg where pg is the page number in the document where the index command occurred The theindex environment is used for printing an index The format of this is begin thei
76. ve been limited to a maximum of eight characters NOTE 3 Table 1 shows the versions of the files that were current at the time of publication NOTE 4 Starting with the October 1997 release files that were specific to LaTeX v2 09 are no longer either supported or supplied NOTE 5 As of 1999 the uschyp package is no longer supported It has been replaced by the hyphenat package EXAMPLE At the time of publication of this document any references to iso cls should be read as actually referring to isov2 cls and similarly for references to other files OISO 2002 All rights reserved 3 LaTeX for ISO standards 2002 E Table 1 Current file versions Facility File iso isov2 cls 9pt option iso9 clo 10pt option iso10 clo 11pt option iso11 clo isorot isorot sty askinc askincv1 sty xtab xtab sty hyphenat hyphenat sty NOTE 6 This document is not intended for publication as a standard although it has been laid out in a similar but not necessarily identical manner 6 The iso class facility The LaTeX isov2 class file is a general file for use in preparing ISO standard documents using the LaTeX document preparation system As usual any LaTeX document has the following structure documentclass lt list of options gt isov2 4 preamble goes here begin document document body goes here end document 6 1 Options The isov2 class file supports the following options draft for a draf
77. wcommand forewordname Avant propos renewcommand ISname NORME INTERNATIONALE renewcommand listtablename Tableaux renewcommand scopename Domaine d application renewcommand tablename Tableau A 1 2 Boilerplate Some commands print boilerplate text again the default text is in English For iso there are several such commands The first is copyrightnotice which contains the text of the copyright notice for an International Standard This can be changed via the renewcommand command ISO 2002 All rights reserved Al LaTeX for ISO standards 2002 E The second is Nnormrefbp which prints the boilerplate for the introduction to the Norma tive references clause Like the Ncopyrightnotice command this can be redefined using the Xrenewcommand Another is the fwdbp command which inputs the boilerplate text from a file called isofwdbp tex For non English text either modify the contents of this file or create a new file and modify the fwdbp command to call in the new file EXAMPLE 1 This is how normrefbp could be written for the French language and in accordance with the second edition of the ISO Directives renewcommand normrefbp 1 7 Les normes suivantes contiennent des dispositions qui par suite de la r fe f fe nce qui en est faite constituent des dispositions valables pour la pr fe sente 1 Au moment de la publication les e ditions indiqu e es f e taient en viguer Toute norms e
78. xt gt EXAMPLE 1 The list of abbreviations earlier in this document was specified as begin symbols symboldef DIS Draft International Standard symboldef IS International Standard end symbols 6 4 Floating bodies LaTeX provides the figure and table environments Captions produced by the caption command increment the figure or table number and add the caption to the relevant contents listing file 12 ISO 2002 All rights reserved LaTeX for ISO standards 2002 E Table 3 Example table in three parts Col 1 Col 2 A 1 B 2 Table 3 continued Col 1 Col 2 C 3 D 4 The command contcaption lt text gt may be used instead This command neither increments the number nor adds anything to the listing files EXAMPLE 1 The following code begin table tbp Ncentering caption Example table in three parts Mlabel tab cont begin tabular clc hline textbf Col 1 amp textbf Col 2 hline hline A amp 1 MV B amp 2 NN hline end tabular end table begin table tbp centering contcaption continued T begin tabular clcl hline textbf Col 1 amp textbf Col 2 hline hline C amp 3N D amp 4 NN hline end tabular end table begin table tbp centering contcaption concluded T begin tabular clc hline textbf Col 1 amp textbf Col 2 hline hline E amp 5 F amp 6 NN hline e
79. y soded ssoloe so qej Suo gup eo1q eorjyeurogne 101 Soig oprAo1d soseyoed qeix oy pue e qeiSuo ayy Je ngeyiadns oq T po3e3o1 ST 31 uoqA oSvd oq UO Fy 03 Suo 003 ose SI 10A po3e3o1 aq 03 spoou os Fed JrelJlod e uo 34 03 9prA 004 ST TRUT o qe3 V oAeq NOA 9I9YA SI nJosn oq ULI PI SI9YAA Surpeor AQL OJUO 10g Suo 00 IVJ ore s ur OY se 4X99 eurrou 103 njosn ATre nonied you st opour odeospue T nod 10 Sup eo1q aged oy jo ares Surel XaL8 YIM opour adeospue ut poqurid oq wed sosed Auew os pue xoq e oonpod jou soop qurucu edeospue oq oged e ssoioe xoq Y xeorq jou TTA KALLT pue soxoq oonpoad sqjuouruodtAuo pue spueuluroo uorjejoi 1930 OY TY epoui 3re1y10d ewou 04 oLrq st osed 3xou oy pue peresp st osed quomo oy quouruoJrAuo OY Jo puo y YY opow 3rerj10d oj seqojr4s uoy pue osed quemo oY SUL Aq segs JUSWIUOIAUO MY edeospuet pue seTqeq epra Suo el epou 4reai310od ur squtad reuxou Xe3 TN Surde spueTiesne osN edeospueT utseq ST JUSUIMIOP oY Jo ed sri 10 a91mos u T SutdeospueT T ATd NVXa poje3or JOU ore YOM S19300J pue sriopeoq 103 3dooxo apow odeospue ut ITS poso ouo y Te sjurid 3uouruodiAuo edesspuet ou opour peryod ur syurad Aj eutiou xa eT SurdeospueT 4 4 31 OISO 2002 All rights reserved LaTeX for ISO standards 2002 E 8 The xtab package facility The xtab package is fully documented in 14 This clause provides an overview of the package The x

Download Pdf Manuals

image

Related Search

Related Contents

Libretto Istruzioni  Green Clean DESINFECT    Pneumatic Brake Bleeder Kit  EVGA e-GeForce 7900 GT Matrox GeForce 7900 GT 0.25GB  MANUALE D`ISTRUZIONE OPERATOR`S MANUAL  

Copyright © All rights reserved.
Failed to retrieve file