Debian Codegraph @

texmf-dist/doc/latex/ieeepes/ieeepes_doc.tex

raw
1 %%----------------------------------------------------------------------
2 %% ieeepes_doc.tex
3 %%
4 %% Volker Kuhlmann
5 %% c/o EEE Dept
6 %% University of Canterbury
7 %% Private Bag 4800
8 %% Christchurch, New Zealand
9 %% Email: [email protected]
10 %%
11 %% 4.0 20Apr99 Environments Table, Figure. Reserved name nophoto.
12 %% 1.7 03Apr96 Option noieeebox.
13 %% 1.6 20Nov95 Corrections.
14 %% 1.5 16Nov95 Added summary.
15 %% 1.4 14Nov95 Corrections.
16 %% 1.3 12Nov95 Finished first version.
17 %% 1.2 11Nov95 Extended.
18 %% 1.1 09Nov95 Extended.
19 %% Version 1.0, 24 Sep 1995
20 %%----------------------------------------------------------------------
21
22 \def\Filename{ieeepes\_doc.tex}
23 \def\Fileversion{V4.0}
24 \def\Filedate{20 April 1999}
25 \def\Packageversion{package ieeepes version 4.0, 1999/04/13}
26
27
28 \documentclass[twoside,twocolumn,a4paper]{article}
29
30
31 \usepackage{doc}
32 \MakeShortVerb |
33
34 \parindent 0em
35 \parskip 1.5ex plus.5ex minus.5ex
36 \columnsep 7mm
37
38 %\usepackage{ieeepes}
39
40 % Load PostScript Times font, if desired
41 %\usepackage{times}
42
43
44
45 \title{A \LaTeX-Package for IEEE PES Transactions}
46
47 \author{
48 Volker Kuhlmann\\
49 Dept of Electrical and Electronic Engineering\\
50 Christchurch, New Zealand
51 }
52
53
54
55 \abovedisplayskip 0\abovedisplayskip
56 \belowdisplayskip 0\belowdisplayskip
57 \abovedisplayshortskip 0\abovedisplayshortskip
58 \belowdisplayshortskip 0\belowdisplayshortskip
59
60
61
62 \begin{filecontents}{ieeepes_doc.bbl}
63 \begin{thebibliography}{1}
64
65 \bibitem{IEEEPES_PaperPreparation}
66 J.~W. Hagge and L.~L. Grigsby,
67 \newblock ``Preparation of papers in a two-column format for ieee transactions
68 on energy conversion ieee transactions on power delivery ieee transactions on
69 power systems'',
70 \newblock in {\em IEEE Power Engineering Society Publication Guide}. IEEE Power
71 Engineering Society, January 1995.
72
73 \end{thebibliography}
74 \end{filecontents}
75
76
77
78 \begin{document}
79
80 \def\today{\Filedate}
81 \newcommand\file{\textsf}
82 \newcommand\ag{\textsc}
83
84
85
86 \maketitle
87
88 {
89 \parskip 0ex plus.2ex
90 \tableofcontents
91 \par
92 }
93
94
95 %\newpage
96 \begin{abstract}
97 \bfseries
98 This \LaTeXe\ package implements the layout requirements for
99 Transactions of the IEEE Power Engineering Society (PES). This covers
100 the Transactions on Energy Conversion (T-EC), Transactions on Power
101 Delivery (T-PWRD), Transactions on Power Systems (T-PWRS), and Special
102 Publications. Discussions and closures can also be generated in the
103 required form.
104
105 This document is version \Fileversion, \Filedate, and describes
106 \Packageversion.
107
108 Thanks are due to John Crequer for proof-reading an early version of the
109 documentation.
110 \end{abstract}
111
112
113
114 \section{Introduction}
115
116 This document comprises the documentation for the \LaTeXe\ package ieeepes,
117 which implements the layout for publications of the Power Engineering Society
118 (a branch of IEEE). It is assumed that the reader is familiar with a standard
119 \LaTeX\ setup. Only new commands implemented by ieeepes are described in this
120 document. This document by itself is by now means sufficient in describing the
121 requirements to papers for submission to the IEEE PES. The
122 specifications~\cite{IEEEPES_PaperPreparation} must still be consulted.
123 Wherever possible, ieeepes enforces any requirements, but there are limits to
124 what can be done. Refer to section~\ref{s:cantdo} for a list of limitations of
125 ieeepes. Every author should be particularly careful with these.
126
127 Provided with ieeepes are the files \file{ieeepes\_skel.tex}, a skeleton for
128 new papers which might be useful, and \file{ieeepes\_check.tex}, a document
129 exercising the various features of ieeepes and intended as a test. It is also
130 useful as example.
131
132 This documentation can be compiled with standard \LaTeX, but the check file
133 needs ieeepes to be installed, and \file{ieeepes\_check.bib} to be available.
134
135 ieeepes requires \LaTeXe\ version 1998/06/01. It will probably work
136 with older versions of \LaTeXe, however this has not been tested. It
137 will not work with \LaTeX\ 2.09.
138
139 Please report any problems to Volker Kuhlmann\footnote
140 {\textbf{[email protected]}}%
141 , and I will do my best to fix them.
142
143
144
145 \section{Installation}
146 \label{s:installation}
147
148 The file \file{ieeepes.sty} must be copied into a directory where \TeX\ looks
149 for input files. The file \file{ieeepes.bst} must be copied into a directory
150 where \BibTeX\ looks for \BibTeX\ styles. The exact location of these
151 directories is dependant on the particular platform used and can not be
152 discussed here. Refer to the documentation of your \LaTeX\ software.
153
154 Package ieeepes requires package vmargin. Refer to section~\ref{s:options} for
155 other requirements. All the software mentioned can be downloaded from any
156 CTAN\footnote
157 {Comprehensive TeX Archive Network.
158 Try \textbf{ftp://ftp.dante.de/} or \textbf{http://www.dante.de/}.}
159 host. A copy of package vmargin is included for your convenience,
160 \file{vmargin.sty} should be installed in the same place as \file{ieeepes.sty}.
161
162
163
164 \section{Changes from older Versions}
165 \label{s:changes}
166
167 It is now necessary to use |\maketitle|. The \LaTeXe\ user interface changed,
168 and ieeepes can no longer use the |\AtBeginDocument| hook to insert the page
169 title. A warning is displayed if |\maketitle| is not used.
170
171 Using a reserved filename for the image file in the |biography| environment
172 suppresses the author image for this instance only. See
173 section~\ref{s:biographies}.
174
175
176
177 \section{Options to the Package}
178 \label{s:options}
179
180 The following options will be recognised by the ieeepes package:
181
182 \begin{description}
183 \item{\textbf{draft}}:
184 Print page numbers. This violates requirements, but is very useful
185 while writing the paper. This also enables markers which can be used to
186 determine a useful width for a |minipage| (section~\ref{s:figtab}). Do
187 not use this for the final version.
188
189 \item{\textbf{psphotos}}:
190 A photographic image of the author can be printed into the
191 space which is reserved for this. See
192 section~\ref{s:biographies} for further details.
193
194 This option requires the graphics bundle to be installed, as the
195 graphicx package is loaded. The graphics bundle can be obtained from
196 any CTAN host (see section~\ref{s:installation}).
197
198 \item{\textbf{photofit}}:
199 This option will scale the photographic image of the author in
200 the biography in both directions so that the image fills up the
201 space provided. If the image had the required aspect ratio,
202 this scaling will have no effect. If the aspect ratio was not
203 as required, the image will be slightly distorted. However,
204 this distortion might be less visible than an image which does
205 not ``fit'' the space. Also see section~\ref{s:biographies}.
206
207 \item{\textbf{PStimes}}:
208 Use font PostScript Times for the main document font.
209 Typesetting mathematics is shifted over to PostScript fonts as
210 much as possible without using commercial fonts.
211
212 This option requires the psnfss bundle to be installed. The psnfss
213 bundle can be obtained from any CTAN host (see
214 section~\ref{s:installation}). Packages times and mathptm are loaded.
215
216 \item{\textbf{noieeebox}}:
217 This option suppresses the empty box at the bottom of the left
218 column of the title page. I added this option because someone
219 had a purpose for it.
220
221 Do not use this option for papers submitted to the IEEE PES!
222
223 \item{\textbf{puttoc}}:
224 Put a table of contents into the paper, which is useful while writing
225 the paper, but do not use this for the final version! This option has
226 no effect unless option draft is also used.
227
228 \end{description}
229
230
231
232 \section{Document Structure}
233
234 The main structure of an IEEE PES document is as follows:
235
236 \begin{verbatim}
237 \documentclass[10pt,...]{article}
238 \usepackage[...]{ieeepes}
239 \title{...}
240 \author{... \and ... \and ...}
241 \begin{document}
242 \maketitle
243 \begin{abstract}
244 ...
245 \end{abstract}
246 ...
247 \end{document}
248 \end{verbatim}
249
250 The point size must be 10pt (which is the default). Do not use any of
251 the paper size options for the class, because the paper size is set up
252 by the ieeepes package.
253
254 The syntax for |\title| and |\author| is as for standard \LaTeX. There
255 can be any number of authors (separated by |\and|), but they all have
256 to fit next to each other on the width of the paper. No overfull
257 warning is generated if the author names overlap, or extend into the
258 margin. Within the argument to |\author| lines can be separated by
259 |\\|.
260
261 If the space available does not fit all the authors, other solutions
262 must be found. The standard \LaTeX\ command |\parbox| and environments
263 minipage and tabular might be useful, but |\and| probably is not. The
264 argument to |\author| is inside a tabular environment.
265
266 The standard \LaTeX\ commands |\tableofcontents| is not necessary and has been
267 disabled. It is now necessary to use |\maketitle| at the beginning of the
268 document. The use of \LaTeX's |\appendix| command might lead to papers not
269 meeting the requirements.
270
271 The text of the abstract is enclosed in the abstract environment, which
272 follows the |\begin{document}| and the |\maketitle|.
273
274 The sectioning commands |\section|, |\subsection|, and |\subsubsection|
275 are available, but |\paragraph| and |\subparagraph| can not be used in
276 IEEE PES papers.
277
278 Strictly speaking, the title text for |\section| should be all upper
279 case, but this can not always be accomplished easily. Currently it is
280 set in small caps. If this is not desired, entering the text in capitals
281 will have the desired result.
282
283 When the text of the paper is finished, the two columns on the last page must
284 be justified manually by inserting a |\columnbreak| at the correct position.
285 This should put the text on the last page equally into the two column.
286 Automation of this is tricky and left for a future version (if not left out).
287
288
289
290 \section{Paper Sizes}
291
292 Printing can be done on either A4 or USletter paper, there is no
293 difference for the resulting camera ready copy. Refer
294 to~\cite{IEEEPES_PaperPreparation} when using A4 paper, for cutting the
295 paper after printing.
296
297 When using dvips for generating PostScript code for printing, the
298 default paper size for which dvips generates code can be overridden with
299 the \textbf{-t} option: \textbf{-t letter} for USletter paper, and
300 \textbf{-t a4} for A4 paper. This might help to keep the printer happy.
301
302
303
304 \section{PostScript Fonts}
305
306 Package option PStimes switches the text font and as much math as
307 possible to PostScript Times (see section~\ref{s:options}). There are
308 no complete mathematical fonts in the public domain, if these are
309 desired then they must be purchased. Do not use option PStimes for
310 selecting purchased fonts.
311
312
313
314 \section{Figures and Tables}
315 \label{s:figtab}
316
317 Figures and tables are used exactly as before, except that their
318 contents is now centred by default. Care must be taken with table
319 captions, which have to be inserted \emph{before} the table.
320 Example:
321
322 \begin{verbatim}
323 \begin{table}
324 \caption{Table caption text.}
325 \label{label name}
326 The table matter goes here.
327 \end{table}
328 \end{verbatim}
329
330 As always with \LaTeX, the |\label| must be after the |\caption|, and
331 inside the figure or table environments.
332
333 The new environments |Table| and |Figure| have been introduced to make figures
334 and tables easier to handle. Use of these environments is recommended because
335 they take care of a few things which otherwise would have to be done manually
336 (e.g.\ the caption position). Their syntax is:
337
338 \begin{verbatim}
339 \begin{Table}[FLOATPLACE]{LABEL}%
340 [TOC CAPTION]{CAPTION}
341 The table matter goes here.
342 \end{Table}
343 \end{verbatim}
344
345 Arguments in square brackets are optional and can be left out, those in braces
346 are required. \ag{floatplace} is the float placement parameter, and
347 \ag{toc caption} is the caption for the table of contents if they have been
348 enabled with the package options draft and puttoc. \ag{toc caption}
349 defaults to \ag{caption}.
350
351 |Figure| has the same syntax as |Table|.
352
353 The width of the caption is held in |\capwidth|, and is initialised to
354 |0.8\columnwidth|.
355
356 Reference figures with |\figref|, and tables with |\tabref|. Their
357 syntax is equal to |\ref|. Use these two new reference commands within
358 as well as at the beginning of a sentence, and do not write out
359 ``figure'', ``table'', or something to this effect. Do not use |\ref|
360 for figures or tables. Example:
361
362 \begin{verbatim}
363 is shown in \tabref{table1}
364 and \figref{figure2}.
365 \end{verbatim}
366
367 Footnotes can be used within tables. For this the table must be put
368 inside a minipage environment. The problem with this is that the width
369 of the minipage must be specified before the width of the contents can
370 be known. When writing the paper, specify the width as |1\columnwidth|,
371 and when finished, step by step reduce the width of the minipage (by
372 reducing the |1|) to the width of the table produced by tabular.
373
374 To aid with this, markers can be printed which show the extent of the
375 tabular and the minipage. Ideally, the two arrows facing the same
376 direction are horizontally aligned. The markers are generated by
377 |\Lhighlight| and |\Rhighlight|, they do not take up any space and are
378 only displayed when option draft is in effect. |\Lhighlight| and
379 |\Rhighlight| are equivalent to |\mbox{}|.
380
381 \begin{verbatim}
382 \begin{table}
383 \caption{...}
384 \label{...}
385 \Lhighlight
386 \begin{minipage}{1\columnwidth}
387 \centering
388 \Lhighlight
389 \begin{tabular}{...}
390 Here can be footnotes.
391 \end{tabular}
392 \Rhighlight
393 \end{minipage}% <--!!
394 \Rhighlight
395 \end{table}
396 \end{verbatim}
397
398 Note the \% sign after |\end{minipage}|, which ensures that there is no white
399 space between the minipage and the arrow produced by the following
400 |\Rhighlight|. Refer to file \file{ieeepes\_check.tex} for an example.
401
402
403
404 \section{Equations}
405 \label{s:equations}
406
407 Equations are used in the same way as described in the \LaTeX\ manual.
408
409 For referencing equations, use |\equref| within a sentence, and
410 |\Equref| at the beginning of a sentence. The syntax is the same as for
411 |\ref|. Do not spell out ``Eq.'', ``equation'', or anything similar.
412 Using these two commands will keep your paper in line with requirements.
413
414
415
416 \section{Footnotes}
417 \label{s:footnotes}
418
419 There are no changes to the standard \LaTeX\ use of footnotes.
420
421
422
423 \section{Referencing}
424
425 For figure and table references, see section~\ref{s:figtab}. For
426 equation references, see section~\ref{s:equations}.
427
428
429
430 \section{Citations}
431 \label{s:citations}
432
433 There are no changes in the use of the |\cite| command. Do not spell
434 out ``ref.'', ``reference'', or similar.
435
436 For conference citations (\BibTeX\ entry type InProceedings) the
437 publication number (e.g. ``91CH3070-0'') is entered into the \BibTeX\
438 note entry field. This will result in the number being printed after
439 the page number instead of before, as shown in the example
440 paper~\cite{IEEEPES_PaperPreparation}. Correction of this is left for a
441 future version of the ieeepes package.
442
443 %The example paper~\cite{IEEEPES_PaperPreparation}
444
445 The \BibTeX\ style ieeepes.bst was derived from ieee.bst found on CTAN.
446 The only changes made are the spelling out of the month names (as in
447 plain.bst), and the definition of the additional strings:
448 \textbf{ieeepes},
449 \textbf{ieeetec},
450 \textbf{ieeetpd},
451 \textbf{ieeetps},
452 yielding the respective texts ``IEEE Power Engineering Society'', and
453 the titles of the three transactions.
454
455 A call to |\bibliographystyle| is performed by the ieeepes package, and
456 it is not necessary to use this command again.
457
458 The bibliography supplied with the ieeepes package should be consulted
459 for an example of how to enter bibliographic data.
460
461
462
463 \section{Biographies}
464 \label{s:biographies}
465
466 A biography for each author of the paper can be typeset with the |biography|
467 environment. Space is reserved for the image, which is inserted by the
468 publisher photographically. Optionally, an encapsulated postscript image of the
469 author can be printed with the text. The general syntax is:
470 %
471 \begin{verbatim}
472 \begin{biography}{AUTHOR NAME}%
473 [UP SHIFT]{FILENAME}
474 \end{verbatim}
475 %
476 Substitute the name of the author for \ag{author name}.
477
478 \ag{filename} is the name of the file containing the image of the author.
479 This argument can be empty and no image is printed. \ag{up shift} is
480 optional and is the amount by which the image is shifted up or down,
481 the default is 0\,mm. This parameter might be useful for certain aspect
482 ratios of the author's image. Package option psphotos is required for
483 printing author images, see section~\ref{s:options}.
484
485 Using the reserved \ag{filename} |nophoto| will suppress the insertion of an
486 image altogether and will not reserve space for one, for this instance only.
487 This is useful if not all authors of a paper want to have an image appear in
488 the paper.
489
490 Because of the use of the \TeX\ paragraph parameters |\hangindent| and
491 |\hangafter| to leave enough space for the photograph, it is vitally
492 important to have enough text material in the first paragraph of the
493 |biography| environment. Care should also be taken when the biography
494 starts close to the bottom of the column; if the photo does not fit
495 into the space left it will extend into the bottom margin.
496
497 As many |biography| environments as needed can be used.
498
499
500
501 \section{Summary}
502 \label{s:summary}
503
504 A summary is started with the |\summary| command, which is used much in
505 the same way as |\appendix| from \LaTeX. A summary can be put into a
506 separate document:
507 %
508 \begin{verbatim}
509 \begin{document}
510 \summary
511 ...
512 \end{document}
513 \end{verbatim}
514 %
515 or appear at the end of the paper, before the |\end{document}|.
516
517
518
519 \section{Discussions}
520 \label{s:discussions}
521
522 The discussion environment is provided for typesetting discussions. The
523 syntax is:
524 %
525 \begin{verbatim}
526 \begin{discussion}{PAPER NUMBER}%
527 {PAPER TITLE}%
528 {AUTHOR NAMES}%
529 {DISCUSSER NAME}%
530 {AFFILIATION INCL ADDRESS}%
531 {SHORT AFFILIATION}
532 \end{verbatim}
533 %
534 enter the respective data. \ag{author names} are the authors of the paper,
535 \ag{discusser name} is the author of the discussion about the paper. The
536 next argument is the affiliation including a complete mailing address,
537 while the last argument is of the form ``\emph{University of \ldots,
538 town, country}''.
539
540 The general document structure for a discussion is:
541 %
542 \begin{verbatim}
543 ...
544 \begin{document}
545 \begin{discussion}{.....
546 .. text of discussion ..
547 \end{discussion}
548 \end{document}
549 \end{verbatim}
550 %
551 There can be multiple discussion environments, though this is not
552 of much use.
553
554
555
556 \section{Closures}
557 \label{s:closures}
558
559 Closures are written using the closure environment:
560 %
561 \begin{verbatim}
562 ...
563 \begin{document}
564 \begin{closure}{AUTHOR NAME}
565 .. text of closure ..
566 \end{closure}
567 \end{document}
568 \end{verbatim}
569
570 There can be multiple closure environments in one document, but again
571 this is not of much use. It is however possible to have a closure
572 environment at the end of a paper, following the biographies, or the
573 summary. This feature relies on an internal \LaTeX\ mechanism behaving
574 in a certain way, so caution is required. It works with the
575 example---but please report any problems.
576
577
578
579 \section{What This Package Can Not Do}
580 \label{s:cantdo}
581
582 There are a few things with which authors must take care themselves,
583 because they can not be enforced by \LaTeX.
584 Consult~\cite{IEEEPES_PaperPreparation} for details. Some are:
585
586 Table captions must be inserted \emph{before} the table. See
587 section~\ref{s:figtab} for details. Better, use the |Table| environment.
588
589 Commands provided for referencing figures, tables, and equations should
590 be used, and no additional words should be spelled out in the
591 sentence.
592
593 Punctuation marks follow the |\cite| command.
594
595 The main document point size must be 10pt.
596
597 Use initials for the Christian names of authors in the |\author|
598 command.
599
600 Ensure that there is enough material in the first paragraph of a biography
601 environment, and that the biography does not appear at the bottom of a page.
602
603 Ensure the two columns on the last page are balanced.
604
605
606
607 %\bibliographystyle{ieeepes}
608 %\bibliography{ieeepes_check}
609 % To remove the dependency on ieeepes.bst and ieeepes_check.bib for this
610 % document, the bibliography is copied into this file (see preamble,
611 % filecontents environment).
612 \bibliography{ieeepes_doc}
613
614
615
616 \end{document}
617
618 %%
619 %% EOF ieeepes_doc.tex
620 %%----------------------------------------------------------------------