summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-02 22:56:16 +0000
committerKarl Berry <karl@freefriends.org>2013-01-02 22:56:16 +0000
commitf0cc716316bc05b757f8c652feab6205ac11e3f0 (patch)
tree6df995375b60faef22956479244f2932ebf53b08 /Master
parent77180107ed1f272af1f1e2f03469f7dbd996b602 (diff)
IEEEtran (2jan13)
git-svn-id: svn://tug.org/texlive/trunk@28697 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/IEEEtran_HOWTO.pdfbin674724 -> 659184 bytes
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/IEEEtrantools_doc.txt169
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/README96
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/README.tools90
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex315
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/bare_conf.tex151
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl.tex176
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_compsoc.tex204
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_transmag.tex717
-rw-r--r--Master/texmf-dist/doc/latex/IEEEtran/changelog.txt61
-rw-r--r--Master/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls593
-rw-r--r--Master/texmf-dist/tex/latex/IEEEtran/IEEEtrantools.sty389
12 files changed, 1945 insertions, 1016 deletions
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/IEEEtran_HOWTO.pdf b/Master/texmf-dist/doc/latex/IEEEtran/IEEEtran_HOWTO.pdf
index a82f53f4520..5c87d30976f 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/IEEEtran_HOWTO.pdf
+++ b/Master/texmf-dist/doc/latex/IEEEtran/IEEEtran_HOWTO.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/IEEEtrantools_doc.txt b/Master/texmf-dist/doc/latex/IEEEtran/IEEEtrantools_doc.txt
index 5152ac7a14a..f38ec4f31e8 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/IEEEtrantools_doc.txt
+++ b/Master/texmf-dist/doc/latex/IEEEtran/IEEEtrantools_doc.txt
@@ -1,10 +1,10 @@
-IEEEtrantools_doc.txt 2007/01/11 version 1.2
-(Version 1.2 is based on the commands of version 1.7 of IEEEtran.cls)
+IEEEtrantools_doc.txt 2012/12/27 version 1.3
+(Version 1.3 is based on the commands of version 1.8 of IEEEtran.cls)
This document is the user guide for the IEEEtrantools.sty package.
The IEEEtrantools.sty package provides several popular and unique
-commands from the IEEEtran.cls class (version 1.7) file.
+commands from the IEEEtran.cls class (version 1.8) file.
IEEEtrantools.sty should not be used with IEEEtran.cls.
@@ -16,7 +16,7 @@ http://www.michaelshell.org/tex/ieeetran/tools/
The latest version and documentation of IEEEtrantools can be obtained at:
http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
-Copyright (c) 2002-2007 by Michael Shell
+Copyright (c) 2002-2012 by Michael Shell
See
http://www.michaelshell.org/
for current contact information.
@@ -44,82 +44,44 @@ Retain all contribution notices and credits.
** Modified files should be clearly indicated as such, including **
** renaming them and changing author support contact information. **
-File list of work: IEEEtrantools.sty, IEEEtrantools_doc.txt
+File list of work: IEEEtrantools.sty, IEEEtrantools_doc.txt, changelog.txt
*************************************************************************
-Available package options e.g., \usepackage[retainorgcmds]{IEEEtrantools}
- retainorgcmds
- Prevents IEEEtrantools from overriding existing LaTeX commands.
- Currently, the only effect is to preserve the original definitions
+Available package options e.g., \usepackage[redeflists]{IEEEtrantools}
+
+ redeflists
+ Causes IEEEtrantools to redefine the standard LaTeX itemize,
+ enumerate and description (IED) lists to their IEEE versions.
+ The default behavior is to retain the standard definitions
of itemize, enumerate and description. The IEEEtran versions are
always available as IEEEitemize, IEEEenumerate and IEEEdescription
and the original LaTeX versions are always available as LaTeXitemize,
LaTeXenumerate and LaTeXdescription.
**********************************************************************
-1/2007 V1.2 (V1.7 of IEEEtran.cls) changes:
-
- 1. Several commands and enviroments have depreciated in favor of
- replacements with IEEE prefixes to better avoid potential future name
- clashes with other packages. Legacy code retained to allow use of the
- obsolete forms, but with an warning message to the console during
- compilation:
- \IEEEPARstart
- For IED lists:
- \IEEEiedlabeljustifyc, \IEEEiedlabeljustifyl, \IEEEiedlabeljustifyr,
- \IEEEnocalcleftmargin, \IEEElabelindent, \IEEEsetlabelwidth,
- \IEEEusemathlabelsep
-
- 2. These commands/lengths now require the IEEE prefix and do not have
- legacy support: \IEEEnormaljot.
- For IED lists: \ifIEEEnocalcleftmargin, \ifIEEEnolabelindentfactor,
- \IEEEiedlistdecl, \IEEElabelindentfactor
-
- 3. \normalsizebaselineskip no longer provided.
-
- 4. New \IEEEPARstart controls:
- \IEEEPARstartHEIGHTTEXT, \IEEEPARstartFONTSTYLE, \IEEEPARstartCAPSTYLE,
- \IEEEPARstartWORDFONTSTYLE, \IEEEPARstartWORDCAPSTYLE,
- \IEEEPARstartHOFFSET, \IEEEPARstartITLCORRECT
- and the (output) length \IEEEPARstartletwidth.
-
- 5. Provide for an optional argument to \bstctlcite to provide a way to
- specify a different aux file. Define \bstctlcite even if it has already
- been defined.
-
-
-*******
-11/2002 V1.1 (v1.6b of IEEEtran.cls) changes:
-
- 1. In addition to the IEEE IED lists, the original LaTeX IED style list
- environments are now preserved as LaTeXitemize, LaTeXenumerate, and
- LaTeXdescription. Also, users can now redefine \makelabel within
- IEEE IED list controls. There may be some use for these in specialized
- applications. Thanks to Eli Barzilay for suggesting this feature.
-
-**********************************************************************
-
-
The IEEEtrantools.sty package provides several commands from IEEEtran.cls
so that they can be used under other LaTeX classes. This guide covers only
-the differences in the use of the commands from those provided by
-IEEEtran.cls. For complete documentation on these commands, see the relevant
-sections in the IEEEtran_HOWTO manual which is available at the CTAN site.
+the differences in the use (or undocumented uses) of the commands from
+those provided by IEEEtran.cls. For complete documentation on these
+commands, see the relevant sections in the IEEEtran_HOWTO manual which
+is available at
+http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
IEEEtrantools.sty provides \IEEEPARstart; the \bstctlcite command for the
control entry types of IEEEtran.bst V1.00 and later; the IEEE IED list
environments; and the complete IEEEeqnarray family, including the
-IEEEeqnarray support commands.
+IEEEeqnarray support commands, the IEEEproof environment and
+\IEEEauthorrefmark.
Please note that, as a package file, IEEEtrantools.sty will not attempt
-to alter document formatting (other than the override of the IDE lists,
-if the retainorgcmds option is not invoked) as controlled by the class
-file. Therefore, there may be spacing/layout differences between the
-results of the same IEEEtran commands under IEEEtran.cls and the user's
-class file as different fonts, default values for the various length
-commands, etc., are used than under IEEEtran.cls.
+to alter document formatting (other than if the IDE lists are redefined
+if the redeflists option is invoked) as controlled by the class file.
+Therefore, there may be spacing/layout differences between the results
+of the same IEEEtran commands under IEEEtran.cls and the user's class
+file as different fonts, default values for the various length commands,
+etc., are used than under IEEEtran.cls.
@@ -133,7 +95,9 @@ or section (if placed within the second argument). e.g.,
\IEEEPARstart{O}{nce}
Unlike IEEEtran.cls, IEEEtrantools.sty provides the user with a way to
-control the various parameters of the \IEEEPARstart letters.
+control the various parameters of the \IEEEPARstart letters (in IEEEtran.cls
+these parameters are prefixed with a \@, e.g., \@IEEEPARstartDROPLINES
+to discourage casual or accidental alteration).
Below is how the user can alter them (after the IEEEtrantools.sty package
is loaded). Default values are shown. IEEEtrantools will not override
@@ -239,16 +203,16 @@ http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/bibtex
*** itemize, enumerate and description (IED) lists ***
-IEEEtrantools provides revised itemize, enumerate and description list
-environments that offer enhanced controls and make it much easier to
+IEEEtrantools provides the IEEEitemize, IEEEenumerate and IEEEdescription
+list environments that offer enhanced controls and make it much easier to
create such lists when the main text is "block indented" from the
labels (IEEE style).
-By default, the LaTeX IED list environments are overridden with the IEEE
-IED versions. To prevent this, load IEEEtrantools.sty with the
-"retainorgcmds" option:
+By default, the LaTeX IED list environments are not overridden with the
+IEEE IED versions. To force this, load IEEEtrantools.sty with the
+"redeflists" option:
-\usepackage[retainorgcmds]{IEEEtrantools}
+\usepackage[redeflists]{IEEEtrantools}
In any event, the IEEE IED list environments are available as IEEEitemize,
IEEEenumerate, and IEEEdescription. The IEEE IED lists depend on the LaTeX
@@ -263,6 +227,9 @@ the class file is not using normalfont "9)" style labeled enumerated lists.
The support commands for the IEEE IED list environments (\IEEEsetlabelwidth,
\IEEEusemathlabelsep, \IEEEiedlabeljustifyl, etc.) are also provided.
+See the section on lists in the IEEEtran_HOWTO manual for full details
+on the IEEE style lists.
+http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
@@ -276,6 +243,70 @@ the current value of \jot. If the user later alters the document's nominal
The support commands for the IEEEeqnarray commands (\IEEEstrut,
\IEEEeqnarrayvrule, \IEEEvisiblestrutstrue, etc.) are also provided.
+For more information on the use of the IEEEeqnarray family of commands,
+the following sources of information are recommended:
+
+ 1. The IEEEtran HOWTO manual (IEEEeqnarray is covered in the Appendices):
+ http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
+
+ 2. Stephan M. Moser's "How to Typeset Equations in LaTeX"
+ http://moser.cm.nctu.edu.tw/manuals.html#eqlatex
+
+ 3. Tobias Oetiker's "The Not So Short Introduction to LaTeX2e"
+ http://www.ctan.org/tex-archive/info/lshort/
+
+
+
+
+*** The IEEEproof environment ***
+
+IEEEtrantools provides the IEEEtran IEEEproof environment as well as
+several undocumented IEEEtran IEEEproof commands that are useful for
+non-IEEE related work:
+
+ 1. \IEEEQEDoff, when issued within an IEEEproof, turns off the
+ automatic generation of the \IEEEQED symbol at the end of
+ the proof.
+
+ 2. \IEEEQEDhere emits an \IEEEQED symbol at the place it is executed
+ and turns off the \IEEEQED symbol at the end of the proof. This
+ can be useful when using IEEEeqnarray within IEEEproof
+ \begin{IEEEproof}
+ \begin{IEEEeqnarray*}{c+x*}
+ x=1. & \IEEEQEDhere
+ \end{IEEEeqnarray*}
+ \end{IEEEproof}
+ % Thanks to Stefan M. Moser for this example.
+
+ 3. \IEEEQEDhereeqn is somewhat similar to the AMS \qedhere and
+ is for use with the standard equation environment within
+ IEEEproof:
+ \begin{IEEEproof}
+ \begin{equation*}
+ x=1. \IEEEQEDhereeqn
+ \end{equation*}
+ \end{IEEEproof}
+ Note that \IEEEQEDhereeqn will put the QED symbol in front
+ of an equation number if it exists.
+
+ 4. \IEEEproofindentspace allows users to change the indention
+ of the proof environment from its IEEEtran default of 2\parindent:
+
+ \renewcommand{\IEEEproofindentspace}{1\parindent}
+
+ Place the above redefinition before any IEEEproof environments it is
+ to affect.
+
+
+
+
+*** \IEEEauthorrefmark{} ***
+
+The \IEEEauthorrefmark{} simply takes a number as an argument and generates
+a corresponding superscript symbol. Used in IEEEtran.cls to link author
+names to their affiliations:
+
+ Michael Shell\IEEEauthorrefmark{2}
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/README b/Master/texmf-dist/doc/latex/IEEEtran/README
index 05321531534..7d388162da3 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/README
+++ b/Master/texmf-dist/doc/latex/IEEEtran/README
@@ -1,11 +1,10 @@
-March 5, 2007
+December 27, 2012
-IEEEtran is the official LaTeX class for authors of the Institute of
-Electrical and Electronics Engineers (IEEE) transactions journals and
-conferences. The latest version of the IEEEtran package can be found
-at CTAN:
+IEEEtran is a LaTeX class for authors of the Institute of Electrical and
+Electronics Engineers (IEEE) transactions journals and conferences.
+The latest version of the IEEEtran package can be found at CTAN:
http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
@@ -19,54 +18,39 @@ website:
http://www.michaelshell.org/tex/ieeetran/
-
-Version 1.7a is a bug fix release that corrects the two column peer
-review title page problem. This problem was not present in the 1.6 series.
-
-
-V1.7 is a significant update over the 1.6 series with many important
-changes. For a full list, please read the file changelog.txt. The most
-notable changes include:
-
- 1. New class option compsoc to support the IEEE Computer Society format.
-
- 2. Several commands and environments have been deprecated in favor of
- replacements with IEEE prefixes to better avoid potential future name
- clashes with other packages. Legacy code retained to allow the use of
- the obsolete forms (for now), but with a warning message to the console
- during compilation:
- \IEEEauthorblockA, \IEEEauthorblockN, \IEEEauthorrefmark,
- \IEEEbiography, \IEEEbiographynophoto, \IEEEkeywords, \IEEEPARstart,
- \IEEEproof, \IEEEpubid, \IEEEpubidadjcol, \IEEEQED, \IEEEQEDclosed,
- \IEEEQEDopen, \IEEEspecialpapernotice. IEEEtran.cls now redefines
- \proof in way to avoid problems with the amsthm.sty package.
- For IED lists:
- \IEEEiedlabeljustifyc, \IEEEiedlabeljustifyl, \IEEEiedlabeljustifyr,
- \IEEEnocalcleftmargin, \IEEElabelindent, \IEEEsetlabelwidth,
- \IEEEusemathlabelsep
- These commands/lengths now require the IEEE prefix and do not have
- legacy support: \IEEEnormaljot.
- For IED lists: \ifIEEEnocalcleftmargin, \ifIEEEnolabelindentfactor,
- \IEEEiedlistdecl, \IEEElabelindentfactor
-
- 3. New \CLASSINPUT, \CLASSOPTION and \CLASSINFO interface allows for more
- user control and conditional compilation.
-
- 4. Several bug fixes and improved compatibility with other packages.
-
-
-A note to those who create classes derived from IEEEtran.cls: Consider the
-use of patch code, either in an example .tex file or as a .sty file,
-rather than creating a new class. The IEEEtran.cls CLASSINPUT interface
-allows IEEEtran.cls to be fully programmable with respect to document
-margins, so there is no need for new class files just for altered margins.
-In this way, authors can benefit from updates to IEEEtran.cls and the need
-to maintain derivative classes and backport later IEEEtran.cls revisions
-thereto is avoided. As always, developers who create classes derived from
-IEEEtran.cls should use a different name for the derived class, so that it
-cannot be confused with the official/base version here, as well as provide
-authors with technical support for the derived class. It is generally a bad
-idea to produce a new class that is not going to be maintained.
+V1.8 is a significant update over the 1.7a release. For a full list of
+changes, please read the file changelog.txt. The most notable changes
+include:
+
+
+ 1) New transmag class option to support the IEEE Transactions on Magnetics
+ format. Thanks to Wei Yingkang, Sangmin Suh and Benjamin Gaussens
+ for suggestions and beta testing.
+
+ 2) The \IEEEcompsoctitleabstractindextext and
+ \IEEEdisplaynotcompsoctitleabstractindextext
+ commands have been deprecated in favor of their
+ \IEEEtitleabstractindextext and \IEEEdisplaynontitleabstractindextext
+ (observe that the "not" has changed to "non") equivalents. This change
+ generalizes and decouples them from compsoc mode because the new
+ transmag mode also uses them now.
+
+ 3) Added new *-forms of \IEEEyesnumber*, \IEEEnonumber*, \IEEEyessubnumber*,
+ and \IEEEnosubnumber* (the non-star form of the latter is also new) which
+ persist across IEEEeqnarray lines until countermanded. To provide for
+ continued subequations across instances of IEEEeqnarrays as well as for
+ subequations that follow a main equation (e.g., 14, 14a, 14b ...)
+ \IEEEyessubnumber no longer automatically increments the equation number
+ on it's first invocation of a subequation group. Invoke both
+ \IEEEyesnumber\IEEEyessubnumber together to start a new
+ equation/subequation group.
+
+ 4) Hyperref links now work with IEEEeqnarray equations.
+ Thanks to Stefan M. Moser for reporting this problem.
+
+ 5) Revised spacing at top of top figures and tables to better
+ align with the top main text lines as IEEE does in its journals.
+ Thanks to Dirk Beyer for reporting this issue and beta testing.
Best wishes for all your publication endeavors,
@@ -104,6 +88,9 @@ bare_jrnl.tex - A bare bones starter file for journal papers.
bare_jrnl_compsoc.tex - A bare bones starter file for Computer Society
journal papers.
+bare_jrnl_transmag.tex - A bare bones starter file for IEEE Transactions
+ on Magnetics journal papers.
+
bare_adv.tex - A bare bones starter file showing advanced
techniques such as conditional compilation,
hyperlinks, PDF thumbnails, etc. The illustrated
@@ -133,5 +120,6 @@ Retain all contribution notices and credits.
** renaming them and changing author support contact information. **
File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
- bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex
+ bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex,
+ bare_jrnl_transmag.tex
***************************************************************************
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/README.tools b/Master/texmf-dist/doc/latex/IEEEtran/README.tools
index 76ce0d3ddff..78fd31cc499 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/README.tools
+++ b/Master/texmf-dist/doc/latex/IEEEtran/README.tools
@@ -1,5 +1,5 @@
-January 11, 2007
+December 27, 2012
The IEEEtrantools.sty package provides several commands from the
@@ -7,19 +7,27 @@ IEEEtran.cls file so that they can be used under other LaTeX classes. The
user guide provided here covers only the differences in the use of the
commands from those provided by IEEEtran.cls. For complete documentation
on these commands, see the relevant sections in the IEEEtran_HOWTO manual
-of the IEEEtran LaTeX class.
+of the IEEEtran LaTeX class, specifically the section covering IEEE-style
+lists and the Appendix covering the IEEEeqnarray commands.
The IEEEtrantools.sty package provides the following IEEEtran.cls commands:
1. \IEEEPARstart which produces large initial "drop cap" letters.
+
2. the \bstctlcite command for the control entry types of IEEEtran.bst
V1.00 and later
+
3. the IEEE itemize, enumerate and description list environments
+
4. the complete IEEEeqnarray family for producing multiline equations
as well as matrices and tables, including the IEEEeqnarray support
commands.
-IEEEtrantools.sty should not be used with IEEEtran.cls.
+ 5. The IEEEproof environment.
+
+ 6. \IEEEauthorrefmark{}
+
+IEEEtrantools.sty is not needed and should not be used with IEEEtran.cls.
For helpful tips, answers to frequently asked questions and other support,
visit the IEEEtrantools support page at my website:
@@ -34,35 +42,49 @@ http://www.michaelshell.org/
*******
-1/2007 V1.2 (V1.7 of IEEEtran.cls) changes:
-
- 1. Several commands and enviroments have depreciated in favor of
- replacements with IEEE prefixes to better avoid potential future name
- clashes with other packages. Legacy code retained to allow use of the
- obsolete forms, but with an warning message to the console during
- compilation:
- \IEEEPARstart
- For IED lists:
- \IEEEiedlabeljustifyc, \IEEEiedlabeljustifyl, \IEEEiedlabeljustifyr,
- \IEEEnocalcleftmargin, \IEEElabelindent, \IEEEsetlabelwidth,
- \IEEEusemathlabelsep
-
- 2. These commands/lengths now require the IEEE prefix and do not have
- legacy support: \IEEEnormaljot.
- For IED lists: \ifIEEEnocalcleftmargin, \ifIEEEnolabelindentfactor,
- \IEEEiedlistdecl, \IEEElabelindentfactor
-
- 3. \normalsizebaselineskip no longer provided.
-
- 4. New \IEEEPARstart controls:
- \IEEEPARstartHEIGHTTEXT, \IEEEPARstartFONTSTYLE, \IEEEPARstartCAPSTYLE,
- \IEEEPARstartWORDFONTSTYLE, \IEEEPARstartWORDCAPSTYLE,
- \IEEEPARstartHOFFSET, \IEEEPARstartITLCORRECT
- and the (output) length \IEEEPARstartletwidth.
-
- 5. Provide for an optional argument to \bstctlcite to provide a way to
- specify a different aux file. Define \bstctlcite even if it has already
- been defined.
+12/2012 V1.3 (V1.8 of IEEEtran.cls) changes:
+
+ 1) No longer redefines the standard LaTeX itemize, enumerate and
+ description (IED) lists by default. (e.g., the older package option
+ "retainorgcmds" is now the default behavior.) A new package option,
+ "redeflists", can be invoked to redefine the standard IED list
+ environments to their IEEE versions. IEEEitemize, IEEEenumerate and
+ IEEEdescription remain available in any case. The redeflists option
+ may not be compatible with other packages that alter the standard
+ IED list environments.
+
+ 2) Added new *-forms of \IEEEyesnumber*, \IEEEnonumber*, \IEEEyessubnumber*,
+ and \IEEEnosubnumber* (the non-star form of the latter is also new) which
+ persist across IEEEeqnarray lines until countermanded. To provide for
+ continued subequations across instances of IEEEeqnarrays as well as for
+ subequations that follow a main equation (e.g., 14, 14a, 14b ...)
+ \IEEEyessubnumber no longer automatically increments the equation number
+ on it's first invocation of a subequation group. Invoke both
+ \IEEEyesnumber\IEEEyessubnumber together to start a new
+ equation/subequation group.
+
+ 3) Hyperref links now work with IEEEeqnarray equations.
+ Thanks to Stefan M. Moser for reporting this problem.
+
+ 4) Now provides the IEEEproof environment, as well as the
+ \IEEEQEDhere, \IEEEQEDhereeqn and \IEEEQEDoff commands.
+ Also, \IEEEproofindentspace allows users to change the
+ IEEEproof indentation via \renewcommand.
+ Thanks to Mark D. Butala, Hennadiy Leontyev and Stefan M. Moser
+ for suggesting this. Special thanks to Stefan M. Moser for beta
+ testing and additional suggestions which improved IEEEproof.
+
+ 5) Revised \IEEEeqnarraymulticol{} to allow inner alignments without
+ requiring extra containing braces to prevent an incomplete \ifx error.
+ Thanks to Stefan M. Moser and Auke van der Valk for reporting this
+ problem.
+
+ 6) Added \IEEEauthorrefmark.
+
+ 7) Removed support for legacy IED list commands.
+ IEEEtrantools no longer defines or references \labelindent so as to
+ avoid namespace problems with list packages that define it.
+ Thanks to Sven Köhler for reporting the problem with enumitem.sty.
********************************** Files **********************************
@@ -73,6 +95,8 @@ IEEEtrantools.sty - The LaTeX package file.
IEEEtrantools_doc.txt - The user manual - supplementary to the
IEEEtran_HOWTO manual.
+changelog.txt - The complete changelog history.
+
***************************************************************************
Legal Notice:
This code is offered as-is without any warranty either expressed or
@@ -96,6 +120,6 @@ Retain all contribution notices and credits.
** Modified files should be clearly indicated as such, including **
** renaming them and changing author support contact information. **
-File list of work: IEEEtrantools.sty, IEEEtrantools_doc.txt
+File list of work: IEEEtrantools.sty, IEEEtrantools_doc.txt, changelog.txt
***************************************************************************
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex b/Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex
index de97ffaad7f..7609665fcc6 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex
+++ b/Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex
@@ -1,14 +1,14 @@
%% bare_adv.tex
-%% V1.3
-%% 2007/01/11
+%% V1.4
+%% 2012/12/27
%% by Michael Shell
%% See:
%% http://www.michaelshell.org/
%% for current contact information.
%%
%% This is a skeleton file demonstrating the advanced use of IEEEtran.cls
-%% (requires IEEEtran.cls version 1.7 or later) with an IEEE Computer
+%% (requires IEEEtran.cls version 1.8 or later) with an IEEE Computer
%% Society journal paper.
%%
%% Support sites:
@@ -41,7 +41,8 @@
%% ** renaming them and changing author support contact information. **
%%
%% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
-%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex
+%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex,
+%% bare_jrnl_transmag.tex
%%*************************************************************************
% *** Authors should verify (and, if needed, correct) their LaTeX system ***
@@ -139,7 +140,8 @@
% "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
% cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
% \cite will automatically add leading space, if needed. Use cite.sty's
-% noadjust option (cite.sty V3.8 and later) if you want to turn this off.
+% noadjust option (cite.sty V3.8 and later) if you want to turn this off
+% such as if a citation ever needs to be enclosed in parenthesis.
% cite.sty is already installed on most LaTeX systems. Be sure and use
% version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
% not currently provide for hyperlinked citations.
@@ -153,7 +155,9 @@
% (e.g., [1]-[4]). Instead, they list every citation separately in order
% (e.g., [1], [2], [3], [4]). To get the latter we need to load the cite
% package with the nocompress option which is supported by cite.sty v4.0
-% and later. Note also the use of a CLASSOPTION conditional provided by
+% and later.
+%
+% Note also the use of a CLASSOPTION conditional provided by
% IEEEtran.cls V1.7 and later.
@@ -182,12 +186,12 @@
\fi
% graphicx was written by David Carlisle and Sebastian Rahtz. It is
% required if you want graphics, photos, etc. graphicx.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
+% installed on most LaTeX systems. The latest version and documentation
+% can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/required/graphics/
% Another good source of documentation is "Using Imported Graphics in
-% LaTeX2e" by Keith Reckdahl which can be found as epslatex.ps or
-% epslatex.pdf at: http://www.ctan.org/tex-archive/info/
+% LaTeX2e" by Keith Reckdahl which can be found at:
+% http://www.ctan.org/tex-archive/info/epslatex/
%
% latex, and pdflatex in dvi mode, support graphics in encapsulated
% postscript (.eps) format. pdflatex in pdf mode supports graphics
@@ -202,120 +206,6 @@
-%\usepackage{ps4pdf}
-% dvi->ps workflow is required to use such packages as psfrag.sty and
-% pstricks.sty. However, Rolf Niepraschk's ps4pdf.sty provides a way to
-% apply psfrag/pstricks effects to .eps figures and then get the resultant
-% figures in .pdf form. Thus, providing an easier way for migrating from
-% .eps to .pdf figures. After ps4pdf.sty loads, if:
-% 1. producing .dvi output: the output file will consist ONLY of the
-% figures (or other constructs encased within \PSforPDF commands)
-% 2. producing .pdf output: pdflatex will look in the filename-pics.pdf
-% file, where filename is the basename of the tex document, for the
-% graphics (or other constructs encased within \PSforPDF commands).
-% NOTE: If you ever change your figures, you must remember to remake
-% the filename-pics.pdf file.
-%
-% This way you can do a:
-%
-% latex filename
-% dvips -Ppdf -o filename-pics.ps filename.dvi
-% ps2pdf filename-pics.ps filename-pics.pdf
-%
-% to produce a filename-pics.pdf graphics container that contains
-% .pdf versions of the graphics with psfrag, pstricks, etc. features.
-% Note that you will not typically be able to view the figures in
-% filename-pics.ps because of an offset. However, you will be able to
-% view them in filename-pics.pdf. Also, note that when ps4pdf is in effect
-% with .dvi output, you may get harmless over/under full box warnings -
-% ignore them.
-% Then, run pdflatex:
-%
-% pdflatex filename
-%
-% to use pdflatex to make PDF output, automatically using the figures in
-% filename-pics.pdf. Alternatively, you could use dvips -i option to
-% obtain separate .pdf files for each figure:
-%
-% dvips -Ppdf -i -E -o fig filename
-%
-% then convert each figure to pdf via a command such as epstopdf and then
-% use pdflatex with these pdf figures and then to dispense with ps4pdf.
-%
-% Remember to rerun through latex/dvips/ps2pdf if you ever change your
-% figures so that filename-pics.pdf gets updated.
-% ps4pdf requires David Kastrup's preview-latex and a recent LaTeX system
-% (circa 2001 or later). The ps4pdf package and documentation can be
-% obtained at: http://www.ctan.org/tex-archive/macros/latex/contrib/ps4pdf/
-% The preview-latex package and documentation can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
-%
-% provide a bogus \PSforPDF, even when not loading pd4pdf. This way we can
-% stop loading ps4pdf.sty if we choose to make separate .pdf versions of
-% each of our figures.
-\providecommand{\PSforPDF}[1]{#1}
-% Note that in order for ps4pdf to work, all commands related to psfrag,
-% pstricks, etc. must be called within the PSforPDF command. This applies
-% even when *loading* via \usepackage psfrag.sty, etc.
-
-
-%\PSforPDF{\usepackage{psfrag}}
-% psfrag.sty was written by Craig Barratt, Michael C. Grant, and
-% David Carlisle. It allows you to substitute LaTeX commands for text in
-% imported EPS graphic files. In this way, LaTeX symbols can be placed into
-% graphics that have been generated by other applications. You must use
-% latex->dvips->ps2pdf workflow (not direct pdf output from pdflatex) if
-% you wish to use this capability because it works via some PostScript
-% tricks. Alternatively, the graphics could be processed as separate files
-% via psfrag and dvips, then converted to PDF for inclusion in the main file
-% which uses pdflatex. ps4pdf.sty (above) provides a way of doing this all
-% at once within the main file.
-% Docs are in "The PSfrag System" by Michael C. Grant and David Carlisle.
-% There is also some information about using psfrag in "Using Imported
-% Graphics in LaTeX2e" by Keith Reckdahl which documents the graphicx
-% package (see above). The psfrag package and documentation can be obtained
-% at: http://www.ctan.org/tex-archive/macros/latex/contrib/psfrag/
-%
-% Note that the current version of psfrag does not "turn itself off" when
-% running under pdf output. This will result in a harmless warning
-% about a non-PDF \special. However, to silence this, a bogus psfrag
-% command can be provided instead of loading psfrag.sty when PDF output
-% is being used. Thus, a more complex alternative conditional loading scheme
-% can be employed instead of the straightforword way above:
-%
-%\ifCLASSINFOpdf
-% if outputting PDF, do not use or load psfrag.sty as current versions
-% output a non-PDF special that generates a harmless, but annoying warning.
-% Instead, we provide a bogus \psfrag command that does nothing with
-% its arguments. This is a tad tricky because \psfrag can have up to six
-% arguments four of which are optional: \psfrag{}[][][][]{}
-% Code based on that in psfrag.sty
-%\makeatletter
-%\def\psfrag{\@ifstar{\@BOGUSpsfraga}{\@BOGUSpsfraga}}
-%\def\@BOGUSpsfraga{\begingroup
-% \@makeother\"\@makeother\*\@makeother\!\@makeother\~%
-% \@makeother\:\@makeother\\\@makeother\%\@makeother\#%
-% \@makeother\ \@BOGUSpsfragb}
-%\def\@BOGUSpsfragb#1{\endgroup
-% \@ifnextchar [{\@BOGUSpsfragc}%
-% {\@BOGUSpsfrag}}
-%\def\@BOGUSpsfragc[#1]{\@ifnextchar [{\@BOGUSpsfragd}%
-% {\@BOGUSpsfrag}}
-%\def\@BOGUSpsfragd[#1]{\@ifnextchar [{\@BOGUSpsfrage}%
-% {\@BOGUSpsfrag}}
-%\def\@BOGUSpsfrage[#1]{\@ifnextchar [{\@BOGUSpsfragf}%
-% {\@BOGUSpsfrag}}
-%\def\@BOGUSpsfragf[#1]{\@BOGUSpsfrag}
-%\def\@BOGUSpsfrag#1{\ignorespaces}
-%\makeatother
-%\else
-% using dvi output, load psfrag, but funnel it through PSforPDF
-% as required by ps4pdf.sty
-%\PSforPDF{\usepackage{psfrag}}
-%\fi
-
-
-
% *** MATH PACKAGES ***
@@ -421,51 +311,28 @@
-
% *** SUBFIGURE PACKAGES ***
%\ifCLASSOPTIONcompsoc
-%\usepackage[tight,normalsize,sf,SF]{subfigure}
-%\else
-%\usepackage[tight,footnotesize]{subfigure}
-%\fi
-% subfigure.sty was written by Steven Douglas Cochran. This package makes it
-% easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE
-% work, it is a good idea to load it with the tight package option to reduce
-% the amount of white space around the subfigures. Computer Society papers
-% use a larger font and \sffamily font for their captions, hence the
-% additional options needed under compsoc mode. subfigure.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
-% http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
-% subfigure.sty has been superceeded by subfig.sty.
-
-
-%\ifCLASSOPTIONcompsoc
-% \usepackage[caption=false]{caption}
-% \usepackage[font=normalsize,labelfont=sf,textfont=sf]{subfig}
-%\else
-% \usepackage[caption=false]{caption}
-% \usepackage[font=footnotesize]{subfig}
-%\fi
-% subfig.sty, also written by Steven Douglas Cochran, is the modern
-% replacement for subfigure.sty. However, subfig.sty requires and
-% automatically loads Axel Sommerfeldt's caption.sty which will override
-% IEEEtran.cls handling of captions and this will result in nonIEEE style
-% figure/table captions. To prevent this problem, be sure and preload
-% caption.sty with its "caption=false" package option. This is will preserve
-% IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later
-% (recommended due to many improvements over 1.2) of subfig.sty supports
-% the caption=false option directly:
-%\ifCLASSOPTIONcompsoc
% \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
%\else
% \usepackage[caption=false,font=footnotesize]{subfig}
%\fi
-%
-% The latest version and documentation can be obtained at:
+% subfig.sty, written by Steven Douglas Cochran, is the modern replacement
+% for subfigure.sty, the latter of which is no longer maintained and is
+% incompatible with some LaTeX packages including fixltx2e. However,
+% subfig.sty requires and automatically loads Axel Sommerfeldt's caption.sty
+% which will override IEEEtran.cls' handling of captions and this will result
+% in non-IEEE style figure/table captions. To prevent this problem, be sure
+% and invoke subfig.sty's "caption=false" package option (available since
+% subfig.sty version 1.3, 2005/06/28) as this is will preserve IEEEtran.cls
+% handling of captions.
+% Note that the Computer Society format requires a larger sans serif font
+% than the serif footnote size font used in traditional IEEE formatting
+% and thus the need to invoke different subfig.sty package options depending
+% on whether compsoc mode has been enabled.
+%
+% The latest version and documentation of subfig.sty can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
-% The latest version and documentation of caption.sty can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/caption/
@@ -495,13 +362,19 @@
% with other packages that modify the LaTeX2e float routines. The latest
% version and documentation can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
-% Documentation is contained in the stfloats.sty comments as well as in the
-% presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE
-% does not allow \baselineskip to stretch. Authors submitting work to the
-% IEEE should note that IEEE rarely uses double column equations and
-% that authors should try to avoid such use. Do not be tempted to use the
-% cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does
-% not format its papers in such ways.
+% Do not use the stfloats baselinefloat ability as IEEE does not allow
+% \baselineskip to stretch. Authors submitting work to the IEEE should note
+% that IEEE rarely uses double column equations and that authors should try
+% to avoid such use. Do not be tempted to use the cuted.sty or midfloat.sty
+% packages (also by Sigitas Tolusis) as IEEE does not format its papers in
+% such ways.
+% Do not attempt to use stfloats with fixltx2e as they are incompatible.
+% Instead, use Morten Hogholm'a dblfloatfix which combines the features
+% of both fixltx2e and stfloats:
+%
+% \usepackage{dblfloatfix}
+% The latest version can be found at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/dblfloatfix/
%\ifCLASSOPTIONcaptionsoff
@@ -509,17 +382,17 @@
% \let\MYoriglatexcaption\caption
% \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}}
%\fi
-% endfloat.sty was written by James Darrell McCauley and Jeff Goldberg.
-% This package may be useful when used in conjunction with IEEEtran.cls'
-% captionsoff option. Some IEEE journals/societies require that submissions
-% have lists of figures/tables at the end of the paper and that
+% endfloat.sty was written by James Darrell McCauley, Jeff Goldberg and
+% Axel Sommerfeldt. This package may be useful when used in conjunction with
+% IEEEtran.cls' captionsoff option. Some IEEE journals/societies require that
+% submissions have lists of figures/tables at the end of the paper and that
% figures/tables without any captions are placed on a page by themselves at
% the end of the document. If needed, the draftcls IEEEtran class option or
% \CLASSINPUTbaselinestretch interface can be used to increase the line
% spacing as well. Be sure and use the nomarkers option of endfloat to
% prevent endfloat from "marking" where the figures would have been placed
% in the text. The two hack lines of code above are a slight modification of
-% that suggested by in the endfloat docs (section 8.3.1) to ensure that
+% that suggested by in the endfloat docs (section 8.4.1) to ensure that
% the full captions always appear in the list of figures/tables - even if
% the user used the short optional argument of \caption[]{}.
% IEEE papers do not typically make use of \caption[]'s optional argument,
@@ -529,11 +402,8 @@
% For subfig.sty:
% \let\MYorigsubfloat\subfloat
% \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}}
-% For subfigure.sty:
-% \let\MYorigsubfigure\subfigure
-% \renewcommand{\subfigure}[2][\relax]{\MYorigsubfigure[]{#2}}
% However, the above trick will not work if both optional arguments of
-% the \subfloat/subfig command are used. Furthermore, there needs to be a
+% the \subfloat command are used. Furthermore, there needs to be a
% description of each subfigure *somewhere* and endfloat does not add
% subfigure captions to its list of figures. Thus, the best approach is to
% avoid the use of subfigure captions (many IEEE journals avoid them anyway)
@@ -554,10 +424,9 @@
%\usepackage{url}
% url.sty was written by Donald Arseneau. It provides better support for
% handling and breaking URLs. url.sty is already installed on most LaTeX
-% systems. The latest version can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/misc/
-% Read the url.sty source comments for usage information. Basically,
-% \url{my_url_here}.
+% systems. The latest version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/url/
+% Basically, \url{my_url_here}.
% NOTE: PDF thumbnail features are not required in IEEE papers
@@ -598,9 +467,6 @@
% See the thumbpdf docs for details. The latest version and documentation
% can be obtained at.
% http://www.ctan.org/tex-archive/support/thumbpdf/
-% Be sure and use only version 3.8 (2005/07/06) or later of thumbpdf as
-% earlier versions will not work properly with recent versions of pdfTeX
-% (1.20a and later).
% NOTE: PDF hyperlink and bookmark features are not required in IEEE
@@ -609,8 +475,7 @@
% *** TITLE/SUBJECT/AUTHOR/KEYWORDS INFO BELOW!! ***
\newcommand\MYhyperrefoptions{bookmarks=true,bookmarksnumbered=true,
pdfpagemode={UseOutlines},plainpages=false,pdfpagelabels=true,
-colorlinks=true,linkcolor={black},citecolor={black},pagecolor={black},
-urlcolor={black},
+colorlinks=true,linkcolor={black},citecolor={black},urlcolor={black},
pdftitle={Bare Demo of IEEEtran.cls for Computer Society Journals},%<!CHANGE!
pdfsubject={Typesetting},%<!CHANGE!
pdfauthor={Michael D. Shell},%<!CHANGE!
@@ -633,21 +498,17 @@ pdfkeywords={Computer Society, IEEEtran, journal, LaTeX, paper,
% As most IEEE papers use URLs sparingly (mainly in the references), this
% may not be as big an issue as with other publications.
%
-% That said, recently Vilar Camara Neto introduced his breakurl.sty
-% package which permits hyperref to easily break URLs even in dvi
-% mode. Note that breakurl, unlike most other packages, must be loaded
+% That said, Vilar Camara Neto created his breakurl.sty package which
+% permits hyperref to easily break URLs even in dvi mode.
+% Note that breakurl, unlike most other packages, must be loaded
% AFTER hyperref. The latest version of breakurl and its documentation can
% be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/breakurl/
-% breakurl.sty is not for use under pdflatex pdf mode. Versions 1.10
-% (September 23, 2005) and later are recommened to avoid bugs in earlier
-% releases.
+% breakurl.sty is not for use under pdflatex pdf mode.
%
% The advanced features offer by hyperref.sty are not required for IEEE
% submission, so users should weigh these features against the added
-% complexity of use. Users who wish to use hyperref *must* ensure that
-% their hyperref version is 6.72u or later *and* IEEEtran.cls is version
-% 1.6b or later.
+% complexity of use.
% The package options above demonstrate how to enable PDF bookmarks
% (a type of table of contents viewable in Acrobat Reader) as well as
% PDF document information (title, subject, author and keywords) that is
@@ -683,6 +544,7 @@ pdfkeywords={Computer Society, IEEEtran, journal, LaTeX, paper,
%
% paper title
% can use linebreaks \\ within to get better formatting as desired
+% Do not put math or special symbols in the title.
\title{Bare Advanced Demo of IEEEtran.cls\\ for Computer Society Journals}
%
%
@@ -717,7 +579,7 @@ GA, 30332.\protect\\
% \\ is fragile and will error, could use \hfil\break instead.
E-mail: see http://www.michaelshell.org/contact.html
\IEEEcompsocthanksitem J. Doe and J. Doe are with Anonymous University.}% <-this % stops a space
-\thanks{Manuscript received April 19, 2005; revised January 11, 2007.}}
+\thanks{Manuscript received April 19, 2005; revised December 27, 2012.}}
% note the % following the last \IEEEmembership and also \thanks -
% these prevent an unwanted space from occurring between the last author name
@@ -740,7 +602,7 @@ E-mail: see http://www.michaelshell.org/contact.html
% The paper headers
-\markboth{Journal of \LaTeX\ Class Files,~Vol.~6, No.~1, January~2007}%
+\markboth{Journal of \LaTeX\ Class Files,~Vol.~11, No.~4, December~2012}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Advanced Demo of IEEEtran.cls for Journals}
% The only time the second header will appear is for the odd numbered pages
% after the title page when using the twoside option.
@@ -758,12 +620,12 @@ E-mail: see http://www.michaelshell.org/contact.html
% journals, the available text space is not reduced by their presence.
% If you want to put a publisher's ID mark on the page you can do it like
% this:
-%\IEEEpubid{0000--0000/00\$00.00~\copyright~2007 IEEE}
+%\IEEEpubid{0000--0000/00\$00.00~\copyright~2012 IEEE}
% or like this to get the Computer Society new two part style.
-%\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2007 IEEE}%
+%\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2012 IEEE}%
%\hspace{\columnsep}\makebox[\columnwidth]{Published by the IEEE Computer Society\hfill}}
% Remember, if you use this you must call \IEEEpubidadjcol in the second
-% column for its text to clear the IEEEpubid mark (Computer Society jorunal
+% column for its text to clear the IEEEpubid mark (Computer Society journal
% papers don't need this extra clearance.)
@@ -774,20 +636,14 @@ E-mail: see http://www.michaelshell.org/contact.html
% for Computer Society papers, we must declare the abstract and index terms
-% PRIOR to the title within the \IEEEcompsoctitleabstractindextext IEEEtran
+% PRIOR to the title within the \IEEEtitleabstractindextext IEEEtran
% command as these need to go into the title area created by \maketitle.
-\IEEEcompsoctitleabstractindextext{%
+% As a general rule, do not put math, special symbols or citations
+% in the abstract or keywords.
+\IEEEtitleabstractindextext{%
\begin{abstract}
-%\boldmath
The abstract goes here.
\end{abstract}
-% IEEEtran.cls defaults to using nonbold math in the Abstract.
-% This preserves the distinction between vectors and scalars. However,
-% if the journal you are submitting to favors bold math in the abstract,
-% then you can use LaTeX's standard command \boldmath at the very start
-% of the abstract to achieve this. Many IEEE journals frown on math
-% in the abstract anyway. In particular, the Computer Society does
-% not want either math or citations to appear in the abstract.
% Note that keywords are not normally used for peerreview papers.
\begin{IEEEkeywords}
@@ -800,14 +656,14 @@ Computer Society, IEEEtran, journal, \LaTeX, paper, template.
% To allow for easy dual compilation without having to reenter the
-% abstract/keywords data, the \IEEEcompsoctitleabstractindextext text will
+% abstract/keywords data, the \IEEEtitleabstractindextext text will
% not be used in maketitle, but will appear (i.e., to be "transported")
-% here as \IEEEdisplaynotcompsoctitleabstractindextext when compsoc mode
+% here as \IEEEdisplaynontitleabstractindextext when compsoc mode
% is not selected <OR> if conference mode is selected - because compsoc
% conference papers position the abstract like regular (non-compsoc)
% papers do!
-\IEEEdisplaynotcompsoctitleabstractindextext
-% \IEEEdisplaynotcompsoctitleabstractindextext has no effect when using
+\IEEEdisplaynontitleabstractindextext
+% \IEEEdisplaynontitleabstractindextext has no effect when using
% compsoc under a non-conference mode.
@@ -862,14 +718,14 @@ Computer Society, IEEEtran, journal, \LaTeX, paper, template.
% and "HIS" in caps to complete the first word.
\IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
for IEEE Computer Society journal papers produced under \LaTeX\ using
-IEEEtran.cls version 1.7 and later.
+IEEEtran.cls version 1.8 and later.
% You must have at least 2 lines in the paragraph with the drop letter
% (should never be an issue)
I wish you the best of success.
\hfill mds
-\hfill January 11, 2007
+\hfill December 27, 2012
\subsection{Subsection Heading Here}
Subsection text here.
@@ -900,7 +756,7 @@ Subsubsection text here.
% where an .eps filename suffix will be assumed under latex,
% and a .pdf suffix will be assumed for pdflatex; or what has been declared
% via \DeclareGraphicsExtensions.
-%\caption{Simulation Results}
+%\caption{Simulation Results.}
%\label{fig_sim}
%\end{figure}
@@ -911,24 +767,25 @@ Subsubsection text here.
% An example of a double column floating figure using two subfigures.
% (The subfig.sty package must be loaded for this to work.)
-% The subfigure \label commands are set within each subfloat command, the
-% \label for the overall figure must come after \caption.
-% \hfil must be used as a separator to get equal spacing.
-% The subfigure.sty package works much the same way, except \subfigure is
-% used instead of \subfloat.
+% The subfigure \label commands are set within each subfloat command,
+% and the \label for the overall figure must come after \caption.
+% \hfil is used as a separator to get equal spacing.
+% Watch out that the combined width of all the subfigures on a
+% line do not exceed the text width or a line break will occur.
%
%\begin{figure*}[!t]
-%\centerline{\subfloat[Case I]\includegraphics[width=2.5in]{subfigcase1}%
+%\centering
+%\subfloat[Case I]{\includegraphics[width=2.5in]{box}%
%\label{fig_first_case}}
%\hfil
-%\subfloat[Case II]{\includegraphics[width=2.5in]{subfigcase2}%
-%\label{fig_second_case}}}
-%\caption{Simulation results}
+%\subfloat[Case II]{\includegraphics[width=2.5in]{box}%
+%\label{fig_second_case}}
+%\caption{Simulation results.}
%\label{fig_sim}
%\end{figure*}
%
% Note that often IEEE papers with subfigures do not employ subfigure
-% captions (using the optional argument to \subfloat), but instead will
+% captions (using the optional argument to \subfloat[]), but instead will
% reference/describe all of them (a), (b), etc., within the main caption.
@@ -1060,7 +917,7 @@ H.~Kopka and P.~W. Daly, \emph{A Guide to {\LaTeX}}, 3rd~ed.\hskip 1em plus
% \includegraphics command within an optional argument. (You could create
% your own custom macro containing the \includegraphics command to make things
% simpler here.)
-%\begin{biography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
+%\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
% or if you just want to reserve a space for a photo:
\begin{IEEEbiography}{Michael Shell}
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/bare_conf.tex b/Master/texmf-dist/doc/latex/IEEEtran/bare_conf.tex
index 5b57279bdf3..d87c598d2ad 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/bare_conf.tex
+++ b/Master/texmf-dist/doc/latex/IEEEtran/bare_conf.tex
@@ -1,14 +1,14 @@
%% bare_conf.tex
-%% V1.3
-%% 2007/01/11
+%% V1.4
+%% 2012/12/27
%% by Michael Shell
%% See:
%% http://www.michaelshell.org/
%% for current contact information.
%%
%% This is a skeleton file demonstrating the use of IEEEtran.cls
-%% (requires IEEEtran.cls version 1.7 or later) with an IEEE conference paper.
+%% (requires IEEEtran.cls version 1.8 or later) with an IEEE conference paper.
%%
%% Support sites:
%% http://www.michaelshell.org/tex/ieeetran/
@@ -40,7 +40,8 @@
%% ** renaming them and changing author support contact information. **
%%
%% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
-%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex
+%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex,
+%% bare_jrnl_transmag.tex
%%*************************************************************************
% *** Authors should verify (and, if needed, correct) their LaTeX system ***
@@ -111,7 +112,8 @@
% "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
% cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
% \cite will automatically add leading space, if needed. Use cite.sty's
-% noadjust option (cite.sty V3.8 and later) if you want to turn this off.
+% noadjust option (cite.sty V3.8 and later) if you want to turn this off
+% such as if a citation ever needs to be enclosed in parenthesis.
% cite.sty is already installed on most LaTeX systems. Be sure and use
% version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
% not currently provide for hyperlinked citations.
@@ -146,12 +148,12 @@
\fi
% graphicx was written by David Carlisle and Sebastian Rahtz. It is
% required if you want graphics, photos, etc. graphicx.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
+% installed on most LaTeX systems. The latest version and documentation
+% can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/required/graphics/
% Another good source of documentation is "Using Imported Graphics in
-% LaTeX2e" by Keith Reckdahl which can be found as epslatex.ps or
-% epslatex.pdf at: http://www.ctan.org/tex-archive/info/
+% LaTeX2e" by Keith Reckdahl which can be found at:
+% http://www.ctan.org/tex-archive/info/epslatex/
%
% latex, and pdflatex in dvi mode, support graphics in encapsulated
% postscript (.eps) format. pdflatex in pdf mode supports graphics
@@ -227,60 +229,35 @@
% http://www.ctan.org/tex-archive/macros/latex/required/tools/
-%\usepackage{mdwmath}
-%\usepackage{mdwtab}
-% Also highly recommended is Mark Wooding's extremely powerful MDW tools,
-% especially mdwmath.sty and mdwtab.sty which are used to format equations
-% and tables, respectively. The MDWtools set is already installed on most
-% LaTeX systems. The lastest version and documentation is available at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/
-
-
% IEEEtran contains the IEEEeqnarray family of commands that can be used to
% generate multiline equations as well as matrices, tables, etc., of high
% quality.
-%\usepackage{eqparbox}
-% Also of notable interest is Scott Pakin's eqparbox package for creating
-% (automatically sized) equal width boxes - aka "natural width parboxes".
-% Available at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/
-
-
-
% *** SUBFIGURE PACKAGES ***
-%\usepackage[tight,footnotesize]{subfigure}
-% subfigure.sty was written by Steven Douglas Cochran. This package makes it
-% easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE
-% work, it is a good idea to load it with the tight package option to reduce
-% the amount of white space around the subfigures. subfigure.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
-% http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
-% subfigure.sty has been superceeded by subfig.sty.
-
-
-
-%\usepackage[caption=false]{caption}
-%\usepackage[font=footnotesize]{subfig}
-% subfig.sty, also written by Steven Douglas Cochran, is the modern
-% replacement for subfigure.sty. However, subfig.sty requires and
-% automatically loads Axel Sommerfeldt's caption.sty which will override
-% IEEEtran.cls handling of captions and this will result in nonIEEE style
-% figure/table captions. To prevent this problem, be sure and preload
-% caption.sty with its "caption=false" package option. This is will preserve
-% IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later
-% (recommended due to many improvements over 1.2) of subfig.sty supports
-% the caption=false option directly:
-%\usepackage[caption=false,font=footnotesize]{subfig}
+%\ifCLASSOPTIONcompsoc
+% \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
+%\else
+% \usepackage[caption=false,font=footnotesize]{subfig}
+%\fi
+% subfig.sty, written by Steven Douglas Cochran, is the modern replacement
+% for subfigure.sty, the latter of which is no longer maintained and is
+% incompatible with some LaTeX packages including fixltx2e. However,
+% subfig.sty requires and automatically loads Axel Sommerfeldt's caption.sty
+% which will override IEEEtran.cls' handling of captions and this will result
+% in non-IEEE style figure/table captions. To prevent this problem, be sure
+% and invoke subfig.sty's "caption=false" package option (available since
+% subfig.sty version 1.3, 2005/06/28) as this is will preserve IEEEtran.cls
+% handling of captions.
+% Note that the Computer Society format requires a larger sans serif font
+% than the serif footnote size font used in traditional IEEE formatting
+% and thus the need to invoke different subfig.sty package options depending
+% on whether compsoc mode has been enabled.
%
-% The latest version and documentation can be obtained at:
+% The latest version and documentation of subfig.sty can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
-% The latest version and documentation of caption.sty can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/caption/
@@ -298,7 +275,6 @@
% http://www.ctan.org/tex-archive/macros/latex/base/
-
%\usepackage{stfloats}
% stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
% the ability to do double column floats at the bottom of the page as well
@@ -311,14 +287,19 @@
% with other packages that modify the LaTeX2e float routines. The latest
% version and documentation can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
-% Documentation is contained in the stfloats.sty comments as well as in the
-% presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE
-% does not allow \baselineskip to stretch. Authors submitting work to the
-% IEEE should note that IEEE rarely uses double column equations and
-% that authors should try to avoid such use. Do not be tempted to use the
-% cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does
-% not format its papers in such ways.
-
+% Do not use the stfloats baselinefloat ability as IEEE does not allow
+% \baselineskip to stretch. Authors submitting work to the IEEE should note
+% that IEEE rarely uses double column equations and that authors should try
+% to avoid such use. Do not be tempted to use the cuted.sty or midfloat.sty
+% packages (also by Sigitas Tolusis) as IEEE does not format its papers in
+% such ways.
+% Do not attempt to use stfloats with fixltx2e as they are incompatible.
+% Instead, use Morten Hogholm'a dblfloatfix which combines the features
+% of both fixltx2e and stfloats:
+%
+% \usepackage{dblfloatfix}
+% The latest version can be found at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/dblfloatfix/
@@ -328,11 +309,9 @@
%\usepackage{url}
% url.sty was written by Donald Arseneau. It provides better support for
% handling and breaking URLs. url.sty is already installed on most LaTeX
-% systems. The latest version can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/misc/
-% Read the url.sty source comments for usage information. Basically,
-% \url{my_url_here}.
-
+% systems. The latest version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/url/
+% Basically, \url{my_url_here}.
@@ -352,6 +331,7 @@
%
% paper title
% can use linebreaks \\ within to get better formatting as desired
+% Do not put math or special symbols in the title.
\title{Bare Demo of IEEEtran.cls for Conferences}
@@ -409,17 +389,11 @@ Fax: (888) 555--1212}}
% make the title area
\maketitle
-
+% As a general rule, do not put math, special symbols or citations
+% in the abstract
\begin{abstract}
-%\boldmath
The abstract goes here.
\end{abstract}
-% IEEEtran.cls defaults to using nonbold math in the Abstract.
-% This preserves the distinction between vectors and scalars. However,
-% if the conference you are submitting to favors bold math in the abstract,
-% then you can use LaTeX's standard command \boldmath at the very start
-% of the abstract to achieve this. Many IEEE journals/conferences frown on
-% math in the abstract anyway.
% no keywords
@@ -442,14 +416,14 @@ The abstract goes here.
% no \IEEEPARstart
This demo file is intended to serve as a ``starter file''
for IEEE conference papers produced under \LaTeX\ using
-IEEEtran.cls version 1.7 and later.
+IEEEtran.cls version 1.8 and later.
% You must have at least 2 lines in the paragraph with the drop letter
% (should never be an issue)
I wish you the best of success.
\hfill mds
-\hfill January 11, 2007
+\hfill December 27, 2012
\subsection{Subsection Heading Here}
Subsection text here.
@@ -478,7 +452,7 @@ Subsubsection text here.
% where an .eps filename suffix will be assumed under latex,
% and a .pdf suffix will be assumed for pdflatex; or what has been declared
% via \DeclareGraphicsExtensions.
-%\caption{Simulation Results}
+%\caption{Simulation Results.}
%\label{fig_sim}
%\end{figure}
@@ -488,24 +462,25 @@ Subsubsection text here.
% An example of a double column floating figure using two subfigures.
% (The subfig.sty package must be loaded for this to work.)
-% The subfigure \label commands are set within each subfloat command, the
-% \label for the overall figure must come after \caption.
-% \hfil must be used as a separator to get equal spacing.
-% The subfigure.sty package works much the same way, except \subfigure is
-% used instead of \subfloat.
+% The subfigure \label commands are set within each subfloat command,
+% and the \label for the overall figure must come after \caption.
+% \hfil is used as a separator to get equal spacing.
+% Watch out that the combined width of all the subfigures on a
+% line do not exceed the text width or a line break will occur.
%
%\begin{figure*}[!t]
-%\centerline{\subfloat[Case I]\includegraphics[width=2.5in]{subfigcase1}%
+%\centering
+%\subfloat[Case I]{\includegraphics[width=2.5in]{box}%
%\label{fig_first_case}}
%\hfil
-%\subfloat[Case II]{\includegraphics[width=2.5in]{subfigcase2}%
-%\label{fig_second_case}}}
-%\caption{Simulation results}
+%\subfloat[Case II]{\includegraphics[width=2.5in]{box}%
+%\label{fig_second_case}}
+%\caption{Simulation results.}
%\label{fig_sim}
%\end{figure*}
%
% Note that often IEEE papers with subfigures do not employ subfigure
-% captions (using the optional argument to \subfloat), but instead will
+% captions (using the optional argument to \subfloat[]), but instead will
% reference/describe all of them (a), (b), etc., within the main caption.
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl.tex b/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl.tex
index 09c25603883..a3cea413552 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl.tex
+++ b/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl.tex
@@ -1,13 +1,13 @@
%% bare_jrnl.tex
-%% V1.3
-%% 2007/01/11
+%% V1.4
+%% 2012/12/27
%% by Michael Shell
%% see http://www.michaelshell.org/
%% for current contact information.
%%
%% This is a skeleton file demonstrating the use of IEEEtran.cls
-%% (requires IEEEtran.cls version 1.7 or later) with an IEEE journal paper.
+%% (requires IEEEtran.cls version 1.8 or later) with an IEEE journal paper.
%%
%% Support sites:
%% http://www.michaelshell.org/tex/ieeetran/
@@ -49,7 +49,8 @@
%% ** renaming them and changing author support contact information. **
%%
%% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
-%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex
+%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex,
+%% bare_jrnl_transmag.tex
%%*************************************************************************
% Note that the a4paper option is mainly intended so that authors in
@@ -110,7 +111,8 @@
% "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
% cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
% \cite will automatically add leading space, if needed. Use cite.sty's
-% noadjust option (cite.sty V3.8 and later) if you want to turn this off.
+% noadjust option (cite.sty V3.8 and later) if you want to turn this off
+% such as if a citation ever needs to be enclosed in parenthesis.
% cite.sty is already installed on most LaTeX systems. Be sure and use
% version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
% not currently provide for hyperlinked citations.
@@ -145,12 +147,12 @@
\fi
% graphicx was written by David Carlisle and Sebastian Rahtz. It is
% required if you want graphics, photos, etc. graphicx.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
+% installed on most LaTeX systems. The latest version and documentation
+% can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/required/graphics/
% Another good source of documentation is "Using Imported Graphics in
-% LaTeX2e" by Keith Reckdahl which can be found as epslatex.ps or
-% epslatex.pdf at: http://www.ctan.org/tex-archive/info/
+% LaTeX2e" by Keith Reckdahl which can be found at:
+% http://www.ctan.org/tex-archive/info/epslatex/
%
% latex, and pdflatex in dvi mode, support graphics in encapsulated
% postscript (.eps) format. pdflatex in pdf mode supports graphics
@@ -226,60 +228,35 @@
% http://www.ctan.org/tex-archive/macros/latex/required/tools/
-%\usepackage{mdwmath}
-%\usepackage{mdwtab}
-% Also highly recommended is Mark Wooding's extremely powerful MDW tools,
-% especially mdwmath.sty and mdwtab.sty which are used to format equations
-% and tables, respectively. The MDWtools set is already installed on most
-% LaTeX systems. The lastest version and documentation is available at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/
-
-
% IEEEtran contains the IEEEeqnarray family of commands that can be used to
% generate multiline equations as well as matrices, tables, etc., of high
% quality.
-%\usepackage{eqparbox}
-% Also of notable interest is Scott Pakin's eqparbox package for creating
-% (automatically sized) equal width boxes - aka "natural width parboxes".
-% Available at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/
-
-
-
% *** SUBFIGURE PACKAGES ***
-%\usepackage[tight,footnotesize]{subfigure}
-% subfigure.sty was written by Steven Douglas Cochran. This package makes it
-% easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE
-% work, it is a good idea to load it with the tight package option to reduce
-% the amount of white space around the subfigures. subfigure.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
-% http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
-% subfigure.sty has been superceeded by subfig.sty.
-
-
-
-%\usepackage[caption=false]{caption}
-%\usepackage[font=footnotesize]{subfig}
-% subfig.sty, also written by Steven Douglas Cochran, is the modern
-% replacement for subfigure.sty. However, subfig.sty requires and
-% automatically loads Axel Sommerfeldt's caption.sty which will override
-% IEEEtran.cls handling of captions and this will result in nonIEEE style
-% figure/table captions. To prevent this problem, be sure and preload
-% caption.sty with its "caption=false" package option. This is will preserve
-% IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later
-% (recommended due to many improvements over 1.2) of subfig.sty supports
-% the caption=false option directly:
-%\usepackage[caption=false,font=footnotesize]{subfig}
+%\ifCLASSOPTIONcompsoc
+% \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
+%\else
+% \usepackage[caption=false,font=footnotesize]{subfig}
+%\fi
+% subfig.sty, written by Steven Douglas Cochran, is the modern replacement
+% for subfigure.sty, the latter of which is no longer maintained and is
+% incompatible with some LaTeX packages including fixltx2e. However,
+% subfig.sty requires and automatically loads Axel Sommerfeldt's caption.sty
+% which will override IEEEtran.cls' handling of captions and this will result
+% in non-IEEE style figure/table captions. To prevent this problem, be sure
+% and invoke subfig.sty's "caption=false" package option (available since
+% subfig.sty version 1.3, 2005/06/28) as this is will preserve IEEEtran.cls
+% handling of captions.
+% Note that the Computer Society format requires a larger sans serif font
+% than the serif footnote size font used in traditional IEEE formatting
+% and thus the need to invoke different subfig.sty package options depending
+% on whether compsoc mode has been enabled.
%
-% The latest version and documentation can be obtained at:
+% The latest version and documentation of subfig.sty can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
-% The latest version and documentation of caption.sty can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/caption/
@@ -297,7 +274,6 @@
% http://www.ctan.org/tex-archive/macros/latex/base/
-
%\usepackage{stfloats}
% stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
% the ability to do double column floats at the bottom of the page as well
@@ -310,13 +286,21 @@
% with other packages that modify the LaTeX2e float routines. The latest
% version and documentation can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
-% Documentation is contained in the stfloats.sty comments as well as in the
-% presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE
-% does not allow \baselineskip to stretch. Authors submitting work to the
-% IEEE should note that IEEE rarely uses double column equations and
-% that authors should try to avoid such use. Do not be tempted to use the
-% cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does
-% not format its papers in such ways.
+% Do not use the stfloats baselinefloat ability as IEEE does not allow
+% \baselineskip to stretch. Authors submitting work to the IEEE should note
+% that IEEE rarely uses double column equations and that authors should try
+% to avoid such use. Do not be tempted to use the cuted.sty or midfloat.sty
+% packages (also by Sigitas Tolusis) as IEEE does not format its papers in
+% such ways.
+% Do not attempt to use stfloats with fixltx2e as they are incompatible.
+% Instead, use Morten Hogholm'a dblfloatfix which combines the features
+% of both fixltx2e and stfloats:
+%
+% \usepackage{dblfloatfix}
+% The latest version can be found at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/dblfloatfix/
+
+
%\ifCLASSOPTIONcaptionsoff
@@ -324,17 +308,17 @@
% \let\MYoriglatexcaption\caption
% \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}}
%\fi
-% endfloat.sty was written by James Darrell McCauley and Jeff Goldberg.
-% This package may be useful when used in conjunction with IEEEtran.cls'
-% captionsoff option. Some IEEE journals/societies require that submissions
-% have lists of figures/tables at the end of the paper and that
+% endfloat.sty was written by James Darrell McCauley, Jeff Goldberg and
+% Axel Sommerfeldt. This package may be useful when used in conjunction with
+% IEEEtran.cls' captionsoff option. Some IEEE journals/societies require that
+% submissions have lists of figures/tables at the end of the paper and that
% figures/tables without any captions are placed on a page by themselves at
% the end of the document. If needed, the draftcls IEEEtran class option or
% \CLASSINPUTbaselinestretch interface can be used to increase the line
% spacing as well. Be sure and use the nomarkers option of endfloat to
% prevent endfloat from "marking" where the figures would have been placed
% in the text. The two hack lines of code above are a slight modification of
-% that suggested by in the endfloat docs (section 8.3.1) to ensure that
+% that suggested by in the endfloat docs (section 8.4.1) to ensure that
% the full captions always appear in the list of figures/tables - even if
% the user used the short optional argument of \caption[]{}.
% IEEE papers do not typically make use of \caption[]'s optional argument,
@@ -344,11 +328,8 @@
% For subfig.sty:
% \let\MYorigsubfloat\subfloat
% \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}}
-% For subfigure.sty:
-% \let\MYorigsubfigure\subfigure
-% \renewcommand{\subfigure}[2][\relax]{\MYorigsubfigure[]{#2}}
% However, the above trick will not work if both optional arguments of
-% the \subfloat/subfig command are used. Furthermore, there needs to be a
+% the \subfloat command are used. Furthermore, there needs to be a
% description of each subfigure *somewhere* and endfloat does not add
% subfigure captions to its list of figures. Thus, the best approach is to
% avoid the use of subfigure captions (many IEEE journals avoid them anyway)
@@ -363,17 +344,14 @@
-
% *** PDF, URL AND HYPERLINK PACKAGES ***
%
%\usepackage{url}
% url.sty was written by Donald Arseneau. It provides better support for
% handling and breaking URLs. url.sty is already installed on most LaTeX
-% systems. The latest version can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/misc/
-% Read the url.sty source comments for usage information. Basically,
-% \url{my_url_here}.
-
+% systems. The latest version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/url/
+% Basically, \url{my_url_here}.
@@ -393,6 +371,7 @@
%
% paper title
% can use linebreaks \\ within to get better formatting as desired
+% Do not put math or special symbols in the title.
\title{Bare Demo of IEEEtran.cls for Journals}
%
%
@@ -412,7 +391,7 @@
of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta,
GA, 30332 USA e-mail: (see http://www.michaelshell.org/contact.html).}% <-this % stops a space
\thanks{J. Doe and J. Doe are with Anonymous University.}% <-this % stops a space
-\thanks{Manuscript received April 19, 2005; revised January 11, 2007.}}
+\thanks{Manuscript received April 19, 2005; revised December 27, 2012.}}
% note the % following the last \IEEEmembership and also \thanks -
% these prevent an unwanted space from occurring between the last author name
@@ -435,7 +414,7 @@ GA, 30332 USA e-mail: (see http://www.michaelshell.org/contact.html).}% <-this %
% The paper headers
-\markboth{Journal of \LaTeX\ Class Files,~Vol.~6, No.~1, January~2007}%
+\markboth{Journal of \LaTeX\ Class Files,~Vol.~11, No.~4, December~2012}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}
% The only time the second header will appear is for the odd numbered pages
% after the title page when using the twoside option.
@@ -450,7 +429,7 @@ GA, 30332 USA e-mail: (see http://www.michaelshell.org/contact.html).}% <-this %
% If you want to put a publisher's ID mark on the page you can do it like
% this:
-%\IEEEpubid{0000--0000/00\$00.00~\copyright~2007 IEEE}
+%\IEEEpubid{0000--0000/00\$00.00~\copyright~2012 IEEE}
% Remember, if you use this you must call \IEEEpubidadjcol in the second
% column for its text to clear the IEEEpubid mark.
@@ -465,17 +444,11 @@ GA, 30332 USA e-mail: (see http://www.michaelshell.org/contact.html).}% <-this %
% make the title area
\maketitle
-
+% As a general rule, do not put math, special symbols or citations
+% in the abstract or keywords.
\begin{abstract}
-%\boldmath
The abstract goes here.
\end{abstract}
-% IEEEtran.cls defaults to using nonbold math in the Abstract.
-% This preserves the distinction between vectors and scalars. However,
-% if the journal you are submitting to favors bold math in the abstract,
-% then you can use LaTeX's standard command \boldmath at the very start
-% of the abstract to achieve this. Many IEEE journals frown on math
-% in the abstract anyway.
% Note that keywords are not normally used for peerreview papers.
\begin{IEEEkeywords}
@@ -517,14 +490,14 @@ IEEEtran, journal, \LaTeX, paper, template.
% and "HIS" in caps to complete the first word.
\IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
for IEEE journal papers produced under \LaTeX\ using
-IEEEtran.cls version 1.7 and later.
+IEEEtran.cls version 1.8 and later.
% You must have at least 2 lines in the paragraph with the drop letter
% (should never be an issue)
I wish you the best of success.
\hfill mds
-\hfill January 11, 2007
+\hfill December 27, 2012
\subsection{Subsection Heading Here}
Subsection text here.
@@ -555,7 +528,7 @@ Subsubsection text here.
% where an .eps filename suffix will be assumed under latex,
% and a .pdf suffix will be assumed for pdflatex; or what has been declared
% via \DeclareGraphicsExtensions.
-%\caption{Simulation Results}
+%\caption{Simulation Results.}
%\label{fig_sim}
%\end{figure}
@@ -565,24 +538,25 @@ Subsubsection text here.
% An example of a double column floating figure using two subfigures.
% (The subfig.sty package must be loaded for this to work.)
-% The subfigure \label commands are set within each subfloat command, the
-% \label for the overall figure must come after \caption.
-% \hfil must be used as a separator to get equal spacing.
-% The subfigure.sty package works much the same way, except \subfigure is
-% used instead of \subfloat.
+% The subfigure \label commands are set within each subfloat command,
+% and the \label for the overall figure must come after \caption.
+% \hfil is used as a separator to get equal spacing.
+% Watch out that the combined width of all the subfigures on a
+% line do not exceed the text width or a line break will occur.
%
%\begin{figure*}[!t]
-%\centerline{\subfloat[Case I]\includegraphics[width=2.5in]{subfigcase1}%
+%\centering
+%\subfloat[Case I]{\includegraphics[width=2.5in]{box}%
%\label{fig_first_case}}
%\hfil
-%\subfloat[Case II]{\includegraphics[width=2.5in]{subfigcase2}%
-%\label{fig_second_case}}}
-%\caption{Simulation results}
+%\subfloat[Case II]{\includegraphics[width=2.5in]{box}%
+%\label{fig_second_case}}
+%\caption{Simulation results.}
%\label{fig_sim}
%\end{figure*}
%
% Note that often IEEE papers with subfigures do not employ subfigure
-% captions (using the optional argument to \subfloat), but instead will
+% captions (using the optional argument to \subfloat[]), but instead will
% reference/describe all of them (a), (b), etc., within the main caption.
@@ -705,7 +679,7 @@ H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
% \includegraphics command within an optional argument. (You could create
% your own custom macro containing the \includegraphics command to make things
% simpler here.)
-%\begin{biography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
+%\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
% or if you just want to reserve a space for a photo:
\begin{IEEEbiography}{Michael Shell}
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_compsoc.tex b/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_compsoc.tex
index 84188623c36..9096200ab01 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_compsoc.tex
+++ b/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_compsoc.tex
@@ -1,14 +1,14 @@
%% bare_jrnl_compsoc.tex
-%% V1.3
-%% 2007/01/11
+%% V1.4
+%% 2012/12/27
%% by Michael Shell
%% See:
%% http://www.michaelshell.org/
%% for current contact information.
%%
%% This is a skeleton file demonstrating the use of IEEEtran.cls
-%% (requires IEEEtran.cls version 1.7 or later) with an IEEE Computer
+%% (requires IEEEtran.cls version 1.8 or later) with an IEEE Computer
%% Society journal paper.
%%
%% Support sites:
@@ -41,7 +41,8 @@
%% ** renaming them and changing author support contact information. **
%%
%% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
-%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex
+%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex,
+%% bare_jrnl_transmag.tex
%%*************************************************************************
% *** Authors should verify (and, if needed, correct) their LaTeX system ***
@@ -121,7 +122,8 @@
% "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
% cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
% \cite will automatically add leading space, if needed. Use cite.sty's
-% noadjust option (cite.sty V3.8 and later) if you want to turn this off.
+% noadjust option (cite.sty V3.8 and later) if you want to turn this off
+% such as if a citation ever needs to be enclosed in parenthesis.
% cite.sty is already installed on most LaTeX systems. Be sure and use
% version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
% not currently provide for hyperlinked citations.
@@ -164,12 +166,12 @@
\fi
% graphicx was written by David Carlisle and Sebastian Rahtz. It is
% required if you want graphics, photos, etc. graphicx.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
+% installed on most LaTeX systems. The latest version and documentation
+% can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/required/graphics/
% Another good source of documentation is "Using Imported Graphics in
-% LaTeX2e" by Keith Reckdahl which can be found as epslatex.ps or
-% epslatex.pdf at: http://www.ctan.org/tex-archive/info/
+% LaTeX2e" by Keith Reckdahl which can be found at:
+% http://www.ctan.org/tex-archive/info/epslatex/
%
% latex, and pdflatex in dvi mode, support graphics in encapsulated
% postscript (.eps) format. pdflatex in pdf mode supports graphics
@@ -186,6 +188,7 @@
+
% *** MATH PACKAGES ***
%
%\usepackage[cmex10]{amsmath}
@@ -245,74 +248,35 @@
% http://www.ctan.org/tex-archive/macros/latex/required/tools/
-%\usepackage{mdwmath}
-%\usepackage{mdwtab}
-% Also highly recommended is Mark Wooding's extremely powerful MDW tools,
-% especially mdwmath.sty and mdwtab.sty which are used to format equations
-% and tables, respectively. The MDWtools set is already installed on most
-% LaTeX systems. The lastest version and documentation is available at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/
-
-
% IEEEtran contains the IEEEeqnarray family of commands that can be used to
% generate multiline equations as well as matrices, tables, etc., of high
% quality.
-%\usepackage{eqparbox}
-% Also of notable interest is Scott Pakin's eqparbox package for creating
-% (automatically sized) equal width boxes - aka "natural width parboxes".
-% Available at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/
-
-
-
% *** SUBFIGURE PACKAGES ***
%\ifCLASSOPTIONcompsoc
-%\usepackage[tight,normalsize,sf,SF]{subfigure}
-%\else
-%\usepackage[tight,footnotesize]{subfigure}
-%\fi
-% subfigure.sty was written by Steven Douglas Cochran. This package makes it
-% easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE
-% work, it is a good idea to load it with the tight package option to reduce
-% the amount of white space around the subfigures. Computer Society papers
-% use a larger font and \sffamily font for their captions, hence the
-% additional options needed under compsoc mode. subfigure.sty is already
-% installed on most LaTeX systems. The latest version and documentation can
-% be obtained at:
-% http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/
-% subfigure.sty has been superceeded by subfig.sty.
-
-
-%\ifCLASSOPTIONcompsoc
-% \usepackage[caption=false]{caption}
-% \usepackage[font=normalsize,labelfont=sf,textfont=sf]{subfig}
-%\else
-% \usepackage[caption=false]{caption}
-% \usepackage[font=footnotesize]{subfig}
-%\fi
-% subfig.sty, also written by Steven Douglas Cochran, is the modern
-% replacement for subfigure.sty. However, subfig.sty requires and
-% automatically loads Axel Sommerfeldt's caption.sty which will override
-% IEEEtran.cls handling of captions and this will result in nonIEEE style
-% figure/table captions. To prevent this problem, be sure and preload
-% caption.sty with its "caption=false" package option. This is will preserve
-% IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later
-% (recommended due to many improvements over 1.2) of subfig.sty supports
-% the caption=false option directly:
-%\ifCLASSOPTIONcompsoc
% \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
%\else
% \usepackage[caption=false,font=footnotesize]{subfig}
%\fi
-%
-% The latest version and documentation can be obtained at:
+% subfig.sty, written by Steven Douglas Cochran, is the modern replacement
+% for subfigure.sty, the latter of which is no longer maintained and is
+% incompatible with some LaTeX packages including fixltx2e. However,
+% subfig.sty requires and automatically loads Axel Sommerfeldt's caption.sty
+% which will override IEEEtran.cls' handling of captions and this will result
+% in non-IEEE style figure/table captions. To prevent this problem, be sure
+% and invoke subfig.sty's "caption=false" package option (available since
+% subfig.sty version 1.3, 2005/06/28) as this is will preserve IEEEtran.cls
+% handling of captions.
+% Note that the Computer Society format requires a larger sans serif font
+% than the serif footnote size font used in traditional IEEE formatting
+% and thus the need to invoke different subfig.sty package options depending
+% on whether compsoc mode has been enabled.
+%
+% The latest version and documentation of subfig.sty can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
-% The latest version and documentation of caption.sty can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/caption/
@@ -330,7 +294,6 @@
% http://www.ctan.org/tex-archive/macros/latex/base/
-
%\usepackage{stfloats}
% stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
% the ability to do double column floats at the bottom of the page as well
@@ -343,13 +306,19 @@
% with other packages that modify the LaTeX2e float routines. The latest
% version and documentation can be obtained at:
% http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
-% Documentation is contained in the stfloats.sty comments as well as in the
-% presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE
-% does not allow \baselineskip to stretch. Authors submitting work to the
-% IEEE should note that IEEE rarely uses double column equations and
-% that authors should try to avoid such use. Do not be tempted to use the
-% cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does
-% not format its papers in such ways.
+% Do not use the stfloats baselinefloat ability as IEEE does not allow
+% \baselineskip to stretch. Authors submitting work to the IEEE should note
+% that IEEE rarely uses double column equations and that authors should try
+% to avoid such use. Do not be tempted to use the cuted.sty or midfloat.sty
+% packages (also by Sigitas Tolusis) as IEEE does not format its papers in
+% such ways.
+% Do not attempt to use stfloats with fixltx2e as they are incompatible.
+% Instead, use Morten Hogholm'a dblfloatfix which combines the features
+% of both fixltx2e and stfloats:
+%
+% \usepackage{dblfloatfix}
+% The latest version can be found at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/dblfloatfix/
@@ -359,17 +328,17 @@
% \let\MYoriglatexcaption\caption
% \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}}
%\fi
-% endfloat.sty was written by James Darrell McCauley and Jeff Goldberg.
-% This package may be useful when used in conjunction with IEEEtran.cls'
-% captionsoff option. Some IEEE journals/societies require that submissions
-% have lists of figures/tables at the end of the paper and that
+% endfloat.sty was written by James Darrell McCauley, Jeff Goldberg and
+% Axel Sommerfeldt. This package may be useful when used in conjunction with
+% IEEEtran.cls' captionsoff option. Some IEEE journals/societies require that
+% submissions have lists of figures/tables at the end of the paper and that
% figures/tables without any captions are placed on a page by themselves at
% the end of the document. If needed, the draftcls IEEEtran class option or
% \CLASSINPUTbaselinestretch interface can be used to increase the line
% spacing as well. Be sure and use the nomarkers option of endfloat to
% prevent endfloat from "marking" where the figures would have been placed
% in the text. The two hack lines of code above are a slight modification of
-% that suggested by in the endfloat docs (section 8.3.1) to ensure that
+% that suggested by in the endfloat docs (section 8.4.1) to ensure that
% the full captions always appear in the list of figures/tables - even if
% the user used the short optional argument of \caption[]{}.
% IEEE papers do not typically make use of \caption[]'s optional argument,
@@ -379,11 +348,8 @@
% For subfig.sty:
% \let\MYorigsubfloat\subfloat
% \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}}
-% For subfigure.sty:
-% \let\MYorigsubfigure\subfigure
-% \renewcommand{\subfigure}[2][\relax]{\MYorigsubfigure[]{#2}}
% However, the above trick will not work if both optional arguments of
-% the \subfloat/subfig command are used. Furthermore, there needs to be a
+% the \subfloat command are used. Furthermore, there needs to be a
% description of each subfigure *somewhere* and endfloat does not add
% subfigure captions to its list of figures. Thus, the best approach is to
% avoid the use of subfigure captions (many IEEE journals avoid them anyway)
@@ -403,10 +369,9 @@
%\usepackage{url}
% url.sty was written by Donald Arseneau. It provides better support for
% handling and breaking URLs. url.sty is already installed on most LaTeX
-% systems. The latest version can be obtained at:
-% http://www.ctan.org/tex-archive/macros/latex/contrib/misc/
-% Read the url.sty source comments for usage information. Basically,
-% \url{my_url_here}.
+% systems. The latest version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/url/
+% Basically, \url{my_url_here}.
@@ -427,6 +392,7 @@
%
% paper title
% can use linebreaks \\ within to get better formatting as desired
+% Do not put math or special symbols in the title.
\title{Bare Demo of IEEEtran.cls\\ for Computer Society Journals}
%
%
@@ -460,8 +426,8 @@ GA, 30332.\protect\\
% note need leading \protect in front of \\ to get a newline within \thanks as
% \\ is fragile and will error, could use \hfil\break instead.
E-mail: see http://www.michaelshell.org/contact.html
-\IEEEcompsocthanksitem J. Doe and J. Doe are with Anonymous University.}% <-this % stops a space
-\thanks{Manuscript received April 19, 2005; revised January 11, 2007.}}
+\IEEEcompsocthanksitem J. Doe and J. Doe are with Anonymous University.}% <-this % stops an unwanted space
+\thanks{Manuscript received April 19, 2005; revised December 27, 2012.}}
% note the % following the last \IEEEmembership and also \thanks -
% these prevent an unwanted space from occurring between the last author name
@@ -484,7 +450,7 @@ E-mail: see http://www.michaelshell.org/contact.html
% The paper headers
-\markboth{Journal of \LaTeX\ Class Files,~Vol.~6, No.~1, January~2007}%
+\markboth{Journal of \LaTeX\ Class Files,~Vol.~11, No.~4, December~2012}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Computer Society Journals}
% The only time the second header will appear is for the odd numbered pages
% after the title page when using the twoside option.
@@ -502,9 +468,9 @@ E-mail: see http://www.michaelshell.org/contact.html
% journals, the available text space is not reduced by their presence.
% If you want to put a publisher's ID mark on the page you can do it like
% this:
-%\IEEEpubid{0000--0000/00\$00.00~\copyright~2007 IEEE}
+%\IEEEpubid{0000--0000/00\$00.00~\copyright~2012 IEEE}
% or like this to get the Computer Society new two part style.
-%\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2007 IEEE}%
+%\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2012 IEEE}%
%\hspace{\columnsep}\makebox[\columnwidth]{Published by the IEEE Computer Society\hfill}}
% Remember, if you use this you must call \IEEEpubidadjcol in the second
% column for its text to clear the IEEEpubid mark (Computer Society jorunal
@@ -518,20 +484,14 @@ E-mail: see http://www.michaelshell.org/contact.html
% for Computer Society papers, we must declare the abstract and index terms
-% PRIOR to the title within the \IEEEcompsoctitleabstractindextext IEEEtran
+% PRIOR to the title within the \IEEEtitleabstractindextext IEEEtran
% command as these need to go into the title area created by \maketitle.
-\IEEEcompsoctitleabstractindextext{%
+% As a general rule, do not put math, special symbols or citations
+% in the abstract or keywords.
+\IEEEtitleabstractindextext{%
\begin{abstract}
-%\boldmath
The abstract goes here.
\end{abstract}
-% IEEEtran.cls defaults to using nonbold math in the Abstract.
-% This preserves the distinction between vectors and scalars. However,
-% if the journal you are submitting to favors bold math in the abstract,
-% then you can use LaTeX's standard command \boldmath at the very start
-% of the abstract to achieve this. Many IEEE journals frown on math
-% in the abstract anyway. In particular, the Computer Society does
-% not want either math or citations to appear in the abstract.
% Note that keywords are not normally used for peerreview papers.
\begin{IEEEkeywords}
@@ -544,15 +504,16 @@ Computer Society, IEEEtran, journal, \LaTeX, paper, template.
% To allow for easy dual compilation without having to reenter the
-% abstract/keywords data, the \IEEEcompsoctitleabstractindextext text will
+% abstract/keywords data, the \IEEEtitleabstractindextext text will
% not be used in maketitle, but will appear (i.e., to be "transported")
-% here as \IEEEdisplaynotcompsoctitleabstractindextext when compsoc mode
-% is not selected <OR> if conference mode is selected - because compsoc
-% conference papers position the abstract like regular (non-compsoc)
-% papers do!
-\IEEEdisplaynotcompsoctitleabstractindextext
-% \IEEEdisplaynotcompsoctitleabstractindextext has no effect when using
-% compsoc under a non-conference mode.
+% here as \IEEEdisplaynontitleabstractindextext when the compsoc
+% or transmag modes are not selected <OR> if conference mode is selected
+% - because all conference papers position the abstract like regular
+% papers do.
+\IEEEdisplaynontitleabstractindextext
+% \IEEEdisplaynontitleabstractindextext has no effect when using
+% compsoc or transmag under a non-conference mode.
+
% For peer review papers, you can put extra information on the cover
@@ -606,14 +567,14 @@ Computer Society, IEEEtran, journal, \LaTeX, paper, template.
% and "HIS" in caps to complete the first word.
\IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
for IEEE Computer Society journal papers produced under \LaTeX\ using
-IEEEtran.cls version 1.7 and later.
+IEEEtran.cls version 1.8 and later.
% You must have at least 2 lines in the paragraph with the drop letter
% (should never be an issue)
I wish you the best of success.
\hfill mds
-\hfill January 11, 2007
+\hfill December 27, 2012
\subsection{Subsection Heading Here}
Subsection text here.
@@ -644,7 +605,7 @@ Subsubsection text here.
% where an .eps filename suffix will be assumed under latex,
% and a .pdf suffix will be assumed for pdflatex; or what has been declared
% via \DeclareGraphicsExtensions.
-%\caption{Simulation Results}
+%\caption{Simulation Results.}
%\label{fig_sim}
%\end{figure}
@@ -655,24 +616,25 @@ Subsubsection text here.
% An example of a double column floating figure using two subfigures.
% (The subfig.sty package must be loaded for this to work.)
-% The subfigure \label commands are set within each subfloat command, the
-% \label for the overall figure must come after \caption.
-% \hfil must be used as a separator to get equal spacing.
-% The subfigure.sty package works much the same way, except \subfigure is
-% used instead of \subfloat.
+% The subfigure \label commands are set within each subfloat command,
+% and the \label for the overall figure must come after \caption.
+% \hfil is used as a separator to get equal spacing.
+% Watch out that the combined width of all the subfigures on a
+% line do not exceed the text width or a line break will occur.
%
%\begin{figure*}[!t]
-%\centerline{\subfloat[Case I]\includegraphics[width=2.5in]{subfigcase1}%
+%\centering
+%\subfloat[Case I]{\includegraphics[width=2.5in]{box}%
%\label{fig_first_case}}
%\hfil
-%\subfloat[Case II]{\includegraphics[width=2.5in]{subfigcase2}%
-%\label{fig_second_case}}}
-%\caption{Simulation results}
+%\subfloat[Case II]{\includegraphics[width=2.5in]{box}%
+%\label{fig_second_case}}
+%\caption{Simulation results.}
%\label{fig_sim}
%\end{figure*}
%
% Note that often IEEE papers with subfigures do not employ subfigure
-% captions (using the optional argument to \subfloat), but instead will
+% captions (using the optional argument to \subfloat[]), but instead will
% reference/describe all of them (a), (b), etc., within the main caption.
@@ -804,7 +766,7 @@ H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
% \includegraphics command within an optional argument. (You could create
% your own custom macro containing the \includegraphics command to make things
% simpler here.)
-%\begin{biography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
+%\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
% or if you just want to reserve a space for a photo:
\begin{IEEEbiography}{Michael Shell}
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_transmag.tex b/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_transmag.tex
new file mode 100644
index 00000000000..7782e5cd54f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/IEEEtran/bare_jrnl_transmag.tex
@@ -0,0 +1,717 @@
+
+%% bare_jrnl_transmag.tex
+%% V1.4
+%% 2012/12/27
+%% by Michael Shell
+%% see http://www.michaelshell.org/
+%% for current contact information.
+%%
+%% This is a skeleton file demonstrating the use of IEEEtran.cls
+%% (requires IEEEtran.cls version 1.8 or later) with an IEEE
+%% Transactions on Magnetics journal paper.
+%%
+%% Support sites:
+%% http://www.michaelshell.org/tex/ieeetran/
+%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
+%% and
+%% http://www.ieee.org/
+
+
+
+% *** Authors should verify (and, if needed, correct) their LaTeX system ***
+% *** with the testflow diagnostic prior to trusting their LaTeX platform ***
+% *** with production work. IEEE's font choices can trigger bugs that do ***
+% *** not appear when using other class files. ***
+% The testflow support page is at:
+% http://www.michaelshell.org/tex/testflow/
+
+
+%%*************************************************************************
+%% Legal Notice:
+%% This code is offered as-is without any warranty either expressed or
+%% implied; without even the implied warranty of MERCHANTABILITY or
+%% FITNESS FOR A PARTICULAR PURPOSE!
+%% User assumes all risk.
+%% In no event shall IEEE or any contributor to this code be liable for
+%% any damages or losses, including, but not limited to, incidental,
+%% consequential, or any other damages, resulting from the use or misuse
+%% of any information contained here.
+%%
+%% All comments are the opinions of their respective authors and are not
+%% necessarily endorsed by the IEEE.
+%%
+%% This work is distributed under the LaTeX Project Public License (LPPL)
+%% ( http://www.latex-project.org/ ) version 1.3, and may be freely used,
+%% distributed and modified. A copy of the LPPL, version 1.3, is included
+%% in the base LaTeX documentation of all distributions of LaTeX released
+%% 2003/12/01 or later.
+%% Retain all contribution notices and credits.
+%% ** Modified files should be clearly indicated as such, including **
+%% ** renaming them and changing author support contact information. **
+%%
+%% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex,
+%% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex,
+%% bare_jrnl_transmag.tex
+%%*************************************************************************
+
+% Note that the a4paper option is mainly intended so that authors in
+% countries using A4 can easily print to A4 and see how their papers will
+% look in print - the typesetting of the document will not typically be
+% affected with changes in paper size (but the bottom and side margins will).
+% Use the testflow package mentioned above to verify correct handling of
+% both paper sizes by the user's LaTeX system.
+%
+% Also note that the "draftcls" or "draftclsnofoot", not "draft", option
+% should be used if it is desired that the figures are to be displayed in
+% draft mode.
+%
+\documentclass[journal,transmag]{IEEEtran}
+%
+% If IEEEtran.cls has not been installed into the LaTeX system files,
+% manually specify the path to it like:
+% \documentclass[journal]{../sty/IEEEtran}
+
+
+
+
+
+% Some very useful LaTeX packages include:
+% (uncomment the ones you want to load)
+
+
+% *** MISC UTILITY PACKAGES ***
+%
+%\usepackage{ifpdf}
+% Heiko Oberdiek's ifpdf.sty is very useful if you need conditional
+% compilation based on whether the output is pdf or dvi.
+% usage:
+% \ifpdf
+% % pdf code
+% \else
+% % dvi code
+% \fi
+% The latest version of ifpdf.sty can be obtained from:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/
+% Also, note that IEEEtran.cls V1.7 and later provides a builtin
+% \ifCLASSINFOpdf conditional that works the same way.
+% When switching from latex to pdflatex and vice-versa, the compiler may
+% have to be run twice to clear warning/error messages.
+
+
+
+
+
+
+% *** CITATION PACKAGES ***
+%
+%\usepackage{cite}
+% cite.sty was written by Donald Arseneau
+% V1.6 and later of IEEEtran pre-defines the format of the cite.sty package
+% \cite{} output to follow that of IEEE. Loading the cite package will
+% result in citation numbers being automatically sorted and properly
+% "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
+% cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
+% \cite will automatically add leading space, if needed. Use cite.sty's
+% noadjust option (cite.sty V3.8 and later) if you want to turn this off
+% such as if a citation ever needs to be enclosed in parenthesis.
+% cite.sty is already installed on most LaTeX systems. Be sure and use
+% version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does
+% not currently provide for hyperlinked citations.
+% The latest version can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/cite/
+% The documentation is contained in the cite.sty file itself.
+
+
+
+
+
+
+% *** GRAPHICS RELATED PACKAGES ***
+%
+\ifCLASSINFOpdf
+ % \usepackage[pdftex]{graphicx}
+ % declare the path(s) where your graphic files are
+ % \graphicspath{{../pdf/}{../jpeg/}}
+ % and their extensions so you won't have to specify these with
+ % every instance of \includegraphics
+ % \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
+\else
+ % or other class option (dvipsone, dvipdf, if not using dvips). graphicx
+ % will default to the driver specified in the system graphics.cfg if no
+ % driver is specified.
+ % \usepackage[dvips]{graphicx}
+ % declare the path(s) where your graphic files are
+ % \graphicspath{{../eps/}}
+ % and their extensions so you won't have to specify these with
+ % every instance of \includegraphics
+ % \DeclareGraphicsExtensions{.eps}
+\fi
+% graphicx was written by David Carlisle and Sebastian Rahtz. It is
+% required if you want graphics, photos, etc. graphicx.sty is already
+% installed on most LaTeX systems. The latest version and documentation
+% can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/required/graphics/
+% Another good source of documentation is "Using Imported Graphics in
+% LaTeX2e" by Keith Reckdahl which can be found at:
+% http://www.ctan.org/tex-archive/info/epslatex/
+%
+% latex, and pdflatex in dvi mode, support graphics in encapsulated
+% postscript (.eps) format. pdflatex in pdf mode supports graphics
+% in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure
+% that all non-photo figures use a vector format (.eps, .pdf, .mps) and
+% not a bitmapped formats (.jpeg, .png). IEEE frowns on bitmapped formats
+% which can result in "jaggedy"/blurry rendering of lines and letters as
+% well as large increases in file sizes.
+%
+% You can find documentation about the pdfTeX application at:
+% http://www.tug.org/applications/pdftex
+
+
+
+
+% *** MATH PACKAGES ***
+%
+%\usepackage[cmex10]{amsmath}
+% A popular package from the American Mathematical Society that provides
+% many useful and powerful commands for dealing with mathematics. If using
+% it, be sure to load this package with the cmex10 option to ensure that
+% only type 1 fonts will utilized at all point sizes. Without this option,
+% it is possible that some math symbols, particularly those within
+% footnotes, will be rendered in bitmap form which will result in a
+% document that can not be IEEE Xplore compliant!
+%
+% Also, note that the amsmath package sets \interdisplaylinepenalty to 10000
+% thus preventing page breaks from occurring within multiline equations. Use:
+%\interdisplaylinepenalty=2500
+% after loading amsmath to restore such page breaks as IEEEtran.cls normally
+% does. amsmath.sty is already installed on most LaTeX systems. The latest
+% version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/
+
+
+
+
+
+% *** SPECIALIZED LIST PACKAGES ***
+%
+%\usepackage{algorithmic}
+% algorithmic.sty was written by Peter Williams and Rogerio Brito.
+% This package provides an algorithmic environment fo describing algorithms.
+% You can use the algorithmic environment in-text or within a figure
+% environment to provide for a floating algorithm. Do NOT use the algorithm
+% floating environment provided by algorithm.sty (by the same authors) or
+% algorithm2e.sty (by Christophe Fiorio) as IEEE does not use dedicated
+% algorithm float types and packages that provide these will not provide
+% correct IEEE style captions. The latest version and documentation of
+% algorithmic.sty can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/algorithms/
+% There is also a support site at:
+% http://algorithms.berlios.de/index.html
+% Also of interest may be the (relatively newer and more customizable)
+% algorithmicx.sty package by Szasz Janos:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/
+
+
+
+
+% *** ALIGNMENT PACKAGES ***
+%
+%\usepackage{array}
+% Frank Mittelbach's and David Carlisle's array.sty patches and improves
+% the standard LaTeX2e array and tabular environments to provide better
+% appearance and additional user controls. As the default LaTeX2e table
+% generation code is lacking to the point of almost being broken with
+% respect to the quality of the end results, all users are strongly
+% advised to use an enhanced (at the very least that provided by array.sty)
+% set of table tools. array.sty is already installed on most systems. The
+% latest version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/required/tools/
+
+
+% IEEEtran contains the IEEEeqnarray family of commands that can be used to
+% generate multiline equations as well as matrices, tables, etc., of high
+% quality.
+
+
+
+
+% *** SUBFIGURE PACKAGES ***
+%\ifCLASSOPTIONcompsoc
+% \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
+%\else
+% \usepackage[caption=false,font=footnotesize]{subfig}
+%\fi
+% subfig.sty, written by Steven Douglas Cochran, is the modern replacement
+% for subfigure.sty, the latter of which is no longer maintained and is
+% incompatible with some LaTeX packages including fixltx2e. However,
+% subfig.sty requires and automatically loads Axel Sommerfeldt's caption.sty
+% which will override IEEEtran.cls' handling of captions and this will result
+% in non-IEEE style figure/table captions. To prevent this problem, be sure
+% and invoke subfig.sty's "caption=false" package option (available since
+% subfig.sty version 1.3, 2005/06/28) as this is will preserve IEEEtran.cls
+% handling of captions.
+% Note that the Computer Society format requires a larger sans serif font
+% than the serif footnote size font used in traditional IEEE formatting
+% and thus the need to invoke different subfig.sty package options depending
+% on whether compsoc mode has been enabled.
+%
+% The latest version and documentation of subfig.sty can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/
+
+
+
+% *** FLOAT PACKAGES ***
+%
+%\usepackage{fixltx2e}
+% fixltx2e, the successor to the earlier fix2col.sty, was written by
+% Frank Mittelbach and David Carlisle. This package corrects a few problems
+% in the LaTeX2e kernel, the most notable of which is that in current
+% LaTeX2e releases, the ordering of single and double column floats is not
+% guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a
+% single column figure to be placed prior to an earlier double column
+% figure. The latest version and documentation can be found at:
+% http://www.ctan.org/tex-archive/macros/latex/base/
+
+
+%\usepackage{stfloats}
+% stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e
+% the ability to do double column floats at the bottom of the page as well
+% as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in
+% LaTeX2e). It also provides a command:
+%\fnbelowfloat
+% to enable the placement of footnotes below bottom floats (the standard
+% LaTeX2e kernel puts them above bottom floats). This is an invasive package
+% which rewrites many portions of the LaTeX2e float routines. It may not work
+% with other packages that modify the LaTeX2e float routines. The latest
+% version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/
+% Do not use the stfloats baselinefloat ability as IEEE does not allow
+% \baselineskip to stretch. Authors submitting work to the IEEE should note
+% that IEEE rarely uses double column equations and that authors should try
+% to avoid such use. Do not be tempted to use the cuted.sty or midfloat.sty
+% packages (also by Sigitas Tolusis) as IEEE does not format its papers in
+% such ways.
+% Do not attempt to use stfloats with fixltx2e as they are incompatible.
+% Instead, use Morten Hogholm'a dblfloatfix which combines the features
+% of both fixltx2e and stfloats:
+%
+% \usepackage{dblfloatfix}
+% The latest version can be found at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/dblfloatfix/
+
+
+
+
+%\ifCLASSOPTIONcaptionsoff
+% \usepackage[nomarkers]{endfloat}
+% \let\MYoriglatexcaption\caption
+% \renewcommand{\caption}[2][\relax]{\MYoriglatexcaption[#2]{#2}}
+%\fi
+% endfloat.sty was written by James Darrell McCauley, Jeff Goldberg and
+% Axel Sommerfeldt. This package may be useful when used in conjunction with
+% IEEEtran.cls' captionsoff option. Some IEEE journals/societies require that
+% submissions have lists of figures/tables at the end of the paper and that
+% figures/tables without any captions are placed on a page by themselves at
+% the end of the document. If needed, the draftcls IEEEtran class option or
+% \CLASSINPUTbaselinestretch interface can be used to increase the line
+% spacing as well. Be sure and use the nomarkers option of endfloat to
+% prevent endfloat from "marking" where the figures would have been placed
+% in the text. The two hack lines of code above are a slight modification of
+% that suggested by in the endfloat docs (section 8.4.1) to ensure that
+% the full captions always appear in the list of figures/tables - even if
+% the user used the short optional argument of \caption[]{}.
+% IEEE papers do not typically make use of \caption[]'s optional argument,
+% so this should not be an issue. A similar trick can be used to disable
+% captions of packages such as subfig.sty that lack options to turn off
+% the subcaptions:
+% For subfig.sty:
+% \let\MYorigsubfloat\subfloat
+% \renewcommand{\subfloat}[2][\relax]{\MYorigsubfloat[]{#2}}
+% However, the above trick will not work if both optional arguments of
+% the \subfloat command are used. Furthermore, there needs to be a
+% description of each subfigure *somewhere* and endfloat does not add
+% subfigure captions to its list of figures. Thus, the best approach is to
+% avoid the use of subfigure captions (many IEEE journals avoid them anyway)
+% and instead reference/explain all the subfigures within the main caption.
+% The latest version of endfloat.sty and its documentation can obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/endfloat/
+%
+% The IEEEtran \ifCLASSOPTIONcaptionsoff conditional can also be used
+% later in the document, say, to conditionally put the References on a
+% page by themselves.
+
+
+
+
+% *** PDF, URL AND HYPERLINK PACKAGES ***
+%
+%\usepackage{url}
+% url.sty was written by Donald Arseneau. It provides better support for
+% handling and breaking URLs. url.sty is already installed on most LaTeX
+% systems. The latest version and documentation can be obtained at:
+% http://www.ctan.org/tex-archive/macros/latex/contrib/url/
+% Basically, \url{my_url_here}.
+
+
+
+
+% *** Do not adjust lengths that control margins, column widths, etc. ***
+% *** Do not use packages that alter fonts (such as pslatex). ***
+% There should be no need to do such things with IEEEtran.cls V1.6 and later.
+% (Unless specifically asked to do so by the journal or conference you plan
+% to submit to, of course. )
+
+
+% correct bad hyphenation here
+\hyphenation{op-tical net-works semi-conduc-tor}
+
+
+\begin{document}
+%
+% paper title
+% can use linebreaks \\ within to get better formatting as desired
+% Do not put math or special symbols in the title.
+\title{Bare Demo of IEEEtran.cls for \textsc{Transactions on Magnetics}}
+
+
+
+% author names and affiliations
+% transmag papers use the long conference author name format.
+
+\author{\IEEEauthorblockN{Michael Shell\IEEEauthorrefmark{1},
+Homer Simpson\IEEEauthorrefmark{2},
+James Kirk\IEEEauthorrefmark{3},
+Montgomery Scott\IEEEauthorrefmark{3}, and
+Eldon Tyrell\IEEEauthorrefmark{4},~\IEEEmembership{Fellow,~IEEE}}
+\IEEEauthorblockA{\IEEEauthorrefmark{1}School of Electrical and Computer Engineering,
+Georgia Institute of Technology, Atlanta, GA 30332 USA}
+\IEEEauthorblockA{\IEEEauthorrefmark{2}Twentieth Century Fox, Springfield, USA}
+\IEEEauthorblockA{\IEEEauthorrefmark{3}Starfleet Academy, San Francisco, CA 96678 USA}
+\IEEEauthorblockA{\IEEEauthorrefmark{4}Tyrell Inc., 123 Replicant Street, Los Angeles, CA 90210 USA}% <-this % stops an unwanted space
+\thanks{Manuscript received December 1, 2012; revised December 27, 2012.
+Corresponding author: M. Shell (email: http://www.michaelshell.org/contact.html).}}
+
+
+
+% The paper headers
+\markboth{Journal of \LaTeX\ Class Files,~Vol.~11, No.~4, December~2012}%
+{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}
+% The only time the second header will appear is for the odd numbered pages
+% after the title page when using the twoside option.
+%
+% *** Note that you probably will NOT want to include the author's ***
+% *** name in the headers of peer review papers. ***
+% You can use \ifCLASSOPTIONpeerreview for conditional compilation here if
+% you desire.
+
+
+
+
+% If you want to put a publisher's ID mark on the page you can do it like
+% this:
+%\IEEEpubid{0000--0000/00\$00.00~\copyright~2012 IEEE}
+% Remember, if you use this you must call \IEEEpubidadjcol in the second
+% column for its text to clear the IEEEpubid mark.
+
+
+
+% use for special paper notices
+%\IEEEspecialpapernotice{(Invited Paper)}
+
+
+% for Transactions on Magnetics papers, we must declare the abstract and
+% index terms PRIOR to the title within the \IEEEtitleabstractindextext
+% IEEEtran command as these need to go into the title area created by
+% \maketitle.
+% As a general rule, do not put math, special symbols or citations
+% in the abstract or keywords.
+\IEEEtitleabstractindextext{%
+\begin{abstract}
+The abstract goes here.
+\end{abstract}
+
+% Note that keywords are not normally used for peerreview papers.
+\begin{IEEEkeywords}
+IEEEtran, journal, \LaTeX, magnetics, paper, template.
+\end{IEEEkeywords}}
+
+
+
+% make the title area
+\maketitle
+
+
+% To allow for easy dual compilation without having to reenter the
+% abstract/keywords data, the \IEEEtitleabstractindextext text will
+% not be used in maketitle, but will appear (i.e., to be "transported")
+% here as \IEEEdisplaynontitleabstractindextext when the compsoc
+% or transmag modes are not selected <OR> if conference mode is selected
+% - because all conference papers position the abstract like regular
+% papers do.
+\IEEEdisplaynontitleabstractindextext
+% \IEEEdisplaynontitleabstractindextext has no effect when using
+% compsoc or transmag under a non-conference mode.
+
+
+
+
+
+
+
+% For peer review papers, you can put extra information on the cover
+% page as needed:
+% \ifCLASSOPTIONpeerreview
+% \begin{center} \bfseries EDICS Category: 3-BBND \end{center}
+% \fi
+%
+% For peerreview papers, this IEEEtran command inserts a page break and
+% creates the second title. It will be ignored for other modes.
+\IEEEpeerreviewmaketitle
+
+
+
+\section{Introduction}
+% The very first letter is a 2 line initial drop letter followed
+% by the rest of the first word in caps.
+%
+% form to use if the first word consists of a single letter:
+% \IEEEPARstart{A}{demo} file is ....
+%
+% form to use if you need the single drop letter followed by
+% normal text (unknown if ever used by IEEE):
+% \IEEEPARstart{A}{}demo file is ....
+%
+% Some journals put the first two words in caps:
+% \IEEEPARstart{T}{his demo} file is ....
+%
+% Here we have the typical use of a "T" for an initial drop letter
+% and "HIS" in caps to complete the first word.
+\IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
+for IEEE journal papers produced under \LaTeX\ using
+IEEEtran.cls version 1.8 and later.
+% You must have at least 2 lines in the paragraph with the drop letter
+% (should never be an issue)
+I wish you the best of success.
+
+\hfill mds
+
+\hfill December 27, 2012
+
+\subsection{Subsection Heading Here}
+Subsection text here.
+
+% needed in second column of first page if using \IEEEpubid
+%\IEEEpubidadjcol
+
+\subsubsection{Subsubsection Heading Here}
+Subsubsection text here.
+
+
+% An example of a floating figure using the graphicx package.
+% Note that \label must occur AFTER (or within) \caption.
+% For figures, \caption should occur after the \includegraphics.
+% Note that IEEEtran v1.7 and later has special internal code that
+% is designed to preserve the operation of \label within \caption
+% even when the captionsoff option is in effect. However, because
+% of issues like this, it may be the safest practice to put all your
+% \label just after \caption rather than within \caption{}.
+%
+% Reminder: the "draftcls" or "draftclsnofoot", not "draft", class
+% option should be used if it is desired that the figures are to be
+% displayed while in draft mode.
+%
+%\begin{figure}[!t]
+%\centering
+%\includegraphics[width=2.5in]{myfigure}
+% where an .eps filename suffix will be assumed under latex,
+% and a .pdf suffix will be assumed for pdflatex; or what has been declared
+% via \DeclareGraphicsExtensions.
+%\caption{Simulation Results.}
+%\label{fig_sim}
+%\end{figure}
+
+% Note that IEEE typically puts floats only at the top, even when this
+% results in a large percentage of a column being occupied by floats.
+
+
+% An example of a double column floating figure using two subfigures.
+% (The subfig.sty package must be loaded for this to work.)
+% The subfigure \label commands are set within each subfloat command,
+% and the \label for the overall figure must come after \caption.
+% \hfil is used as a separator to get equal spacing.
+% Watch out that the combined width of all the subfigures on a
+% line do not exceed the text width or a line break will occur.
+%
+%\begin{figure*}[!t]
+%\centering
+%\subfloat[Case I]{\includegraphics[width=2.5in]{box}%
+%\label{fig_first_case}}
+%\hfil
+%\subfloat[Case II]{\includegraphics[width=2.5in]{box}%
+%\label{fig_second_case}}
+%\caption{Simulation results.}
+%\label{fig_sim}
+%\end{figure*}
+%
+% Note that often IEEE papers with subfigures do not employ subfigure
+% captions (using the optional argument to \subfloat[]), but instead will
+% reference/describe all of them (a), (b), etc., within the main caption.
+
+
+% An example of a floating table. Note that, for IEEE style tables, the
+% \caption command should come BEFORE the table. Table text will default to
+% \footnotesize as IEEE normally uses this smaller font for tables.
+% The \label must come after \caption as always.
+%
+%\begin{table}[!t]
+%% increase table row spacing, adjust to taste
+%\renewcommand{\arraystretch}{1.3}
+% if using array.sty, it might be a good idea to tweak the value of
+% \extrarowheight as needed to properly center the text within the cells
+%\caption{An Example of a Table}
+%\label{table_example}
+%\centering
+%% Some packages, such as MDW tools, offer better commands for making tables
+%% than the plain LaTeX2e tabular which is used here.
+%\begin{tabular}{|c||c|}
+%\hline
+%One & Two\\
+%\hline
+%Three & Four\\
+%\hline
+%\end{tabular}
+%\end{table}
+
+
+% Note that IEEE does not put floats in the very first column - or typically
+% anywhere on the first page for that matter. Also, in-text middle ("here")
+% positioning is not used. Most IEEE journals use top floats exclusively.
+% Note that, LaTeX2e, unlike IEEE journals, places footnotes above bottom
+% floats. This can be corrected via the \fnbelowfloat command of the
+% stfloats package.
+
+
+
+\section{Conclusion}
+The conclusion goes here.
+
+
+
+
+
+% if have a single appendix:
+%\appendix[Proof of the Zonklar Equations]
+% or
+%\appendix % for no appendix heading
+% do not use \section anymore after \appendix, only \section*
+% is possibly needed
+
+% use appendices with more than one appendix
+% then use \section to start each appendix
+% you must declare a \section before using any
+% \subsection or using \label (\appendices by itself
+% starts a section numbered zero.)
+%
+
+
+\appendices
+\section{Proof of the First Zonklar Equation}
+Appendix one text goes here.
+
+% you can choose not to have a title for an appendix
+% if you want by leaving the argument blank
+\section{}
+Appendix two text goes here.
+
+
+% use section* for acknowledgement
+\section*{Acknowledgment}
+
+
+The authors would like to thank...
+
+
+% Can use something like this to put references on a page
+% by themselves when using endfloat and the captionsoff option.
+\ifCLASSOPTIONcaptionsoff
+ \newpage
+\fi
+
+
+
+% trigger a \newpage just before the given reference
+% number - used to balance the columns on the last page
+% adjust value as needed - may need to be readjusted if
+% the document is modified later
+%\IEEEtriggeratref{8}
+% The "triggered" command can be changed if desired:
+%\IEEEtriggercmd{\enlargethispage{-5in}}
+
+% references section
+
+% can use a bibliography generated by BibTeX as a .bbl file
+% BibTeX documentation can be easily obtained at:
+% http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/
+% The IEEEtran BibTeX style support page is at:
+% http://www.michaelshell.org/tex/ieeetran/bibtex/
+%\bibliographystyle{IEEEtran}
+% argument is your BibTeX string definitions and bibliography database(s)
+%\bibliography{IEEEabrv,../bib/paper}
+%
+% <OR> manually copy in the resultant .bbl file
+% set second argument of \begin to the number of references
+% (used to reserve space for the reference number labels box)
+\begin{thebibliography}{1}
+
+\bibitem{IEEEhowto:kopka}
+H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
+ 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
+
+\end{thebibliography}
+
+% biography section
+%
+% If you have an EPS/PDF photo (graphicx package needed) extra braces are
+% needed around the contents of the optional argument to biography to prevent
+% the LaTeX parser from getting confused when it sees the complicated
+% \includegraphics command within an optional argument. (You could create
+% your own custom macro containing the \includegraphics command to make things
+% simpler here.)
+%\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{mshell}}]{Michael Shell}
+% or if you just want to reserve a space for a photo:
+
+\begin{IEEEbiography}{Michael Shell}
+Biography text here.
+\end{IEEEbiography}
+
+% if you will not have a photo at all:
+\begin{IEEEbiographynophoto}{John Doe}
+Biography text here.
+\end{IEEEbiographynophoto}
+
+% insert where needed to balance the two columns on the last page with
+% biographies
+%\newpage
+
+\begin{IEEEbiographynophoto}{Jane Doe}
+Biography text here.
+\end{IEEEbiographynophoto}
+
+% You can push biographies down or up by placing
+% a \vfill before or after them. The appropriate
+% use of \vfill depends on what kind of text is
+% on the last page and whether or not the columns
+% are being equalized.
+
+%\vfill
+
+% Can be used to pull up biographies so that the bottom of the last one
+% is flush with the other column.
+%\enlargethispage{-5in}
+
+
+
+% that's all folks
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/changelog.txt b/Master/texmf-dist/doc/latex/IEEEtran/changelog.txt
index 3a89f18eb56..d582bec05af 100644
--- a/Master/texmf-dist/doc/latex/IEEEtran/changelog.txt
+++ b/Master/texmf-dist/doc/latex/IEEEtran/changelog.txt
@@ -1,12 +1,68 @@
Changelog history of the IEEEtran LaTeX class.
- 2007/03/05
+ 2012/12/27
by Michael Shell (MDS)
http://www.michaelshell.org/
+ 12/2012 V1.8 (MDS) changes::
+
+ 1) New transmag class option to support the IEEE Transactions on Magnetics
+ format. Thanks to Wei Yingkang, Sangmin Suh and Benjamin Gaussens
+ for suggestions and beta testing.
+
+ 2) The \IEEEcompsoctitleabstractindextext and
+ \IEEEdisplaynotcompsoctitleabstractindextext
+ commands have been deprecated in favor of their
+ \IEEEtitleabstractindextext and \IEEEdisplaynontitleabstractindextext
+ (observe that the "not" has changed to "non") equivalents. This change
+ generalizes and decouples them from compsoc mode because the new
+ transmag mode also uses them now.
+
+ 3) Added new *-forms of \IEEEyesnumber*, \IEEEnonumber*, \IEEEyessubnumber*,
+ and \IEEEnosubnumber* (the non-star form of the latter is also new) which
+ persist across IEEEeqnarray lines until countermanded. To provide for
+ continued subequations across instances of IEEEeqnarrays as well as for
+ subequations that follow a main equation (e.g., 14, 14a, 14b ...)
+ \IEEEyessubnumber no longer automatically increments the equation number
+ on it's first invocation of a subequation group. Invoke both
+ \IEEEyesnumber\IEEEyessubnumber together to start a new
+ equation/subequation group.
+
+ 4) Hyperref links now work with IEEEeqnarray equations.
+ Thanks to Stefan M. Moser for reporting this problem.
+
+ 5) Fixed \markboth so that it does not cause an error with babel.sty.
+ Thanks to Frank Meier for suggesting this change.
+
+ 6) Change all instances of ~ to \nobreakspace to avoid
+
+ ! Argument of \language@active@arg~ has an extra }
+
+ figure caption error with bable.sty under spanish. Thanks to
+ Manuel Olivares and Javier Bezos for suggesting this change.
+
+ 7) Allow line breaks within long theorem names.
+ Thanks to Miquel Payaro for suggesting this change.
+
+ 8) Revised \IEEEeqnarraymulticol{} to allow inner alignments without
+ requiring extra containing braces to prevent an incomplete \ifx error.
+ Thanks to Stefan M. Moser and Auke van der Valk for reporting this
+ problem.
+
+ 9) Revised spacing at top of top figures and tables to better
+ align with the top main text lines as IEEE does in its journals.
+ Thanks to Dirk Beyer for reporting this issue and beta testing.
+
+10) Removed support for legacy IED list commands, legacy QED and proof
+ commands and the legacy biography and biographynophoto environments.
+ IEEEtran no longer defines or references \labelindent so as to
+ avoid namespace problems with list packages that define it.
+ Thanks to Sven Köhler for reporting the problem with enumitem.sty.
+
+
*******
3/2007 V1.7a (MDS) changes:
@@ -621,9 +677,8 @@
11) \thebibliography and \biography now put entries into
the table of contents for you.
-*******
-
+*******
diff --git a/Master/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls b/Master/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls
index 56817146a5b..5e2d1839b4c 100644
--- a/Master/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls
+++ b/Master/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls
@@ -1,8 +1,7 @@
%%
-%% IEEEtran.cls 2007/03/05 version V1.7a
+%% IEEEtran.cls 2012/12/27 version V1.8
%%
-%%
-%% This is the official IEEE LaTeX class for authors of the Institute of
+%% This is the IEEEtran LaTeX class for authors of the Institute of
%% Electrical and Electronics Engineers (IEEE) Transactions journals and
%% conferences.
%%
@@ -19,16 +18,16 @@
%% Contributors:
%% Gerry Murray (1993), Silvano Balemi (1993),
%% Jon Dixon (1996), Peter N"uchter (1996),
-%% Juergen von Hagen (2000), and Michael Shell (2001-2007)
+%% Juergen von Hagen (2000), and Michael Shell (2001-2012)
%%
%%
%% Copyright (c) 1993-2000 by Gerry Murray, Silvano Balemi,
%% Jon Dixon, Peter N"uchter,
%% Juergen von Hagen
%% and
-%% Copyright (c) 2001-2007 by Michael Shell
+%% Copyright (c) 2001-2012 by Michael Shell
%%
-%% Current maintainer (V1.3 to V1.7): Michael Shell
+%% Current maintainer (V1.3 to V1.8): Michael Shell
%% See:
%% http://www.michaelshell.org/
%% for current contact information.
@@ -141,8 +140,8 @@
% column mode is usually used only with draft papers.
% The default is twocolumn.
%
-% compsoc
-% Use the format of the IEEE Computer Society.
+% compsoc, transmag
+% Use the format of the IEEE Computer Society or IEEE Transactions on Magnetics
%
% romanappendices
% Use the "Appendix I" convention when numbering appendices. IEEEtran.cls
@@ -191,7 +190,7 @@
-\ProvidesClass{IEEEtran}[2007/03/05 V1.7a by Michael Shell]
+\ProvidesClass{IEEEtran}[2012/12/27 V1.8 by Michael Shell]
\typeout{-- See the "IEEEtran_HOWTO" manual for usage information.}
\typeout{-- http://www.michaelshell.org/tex/ieeetran/}
\NeedsTeXFormat{LaTeX2e}
@@ -204,7 +203,7 @@
% KEEP THESE AS INTEGERS! i.e., NO {4a} or anything like that-
% (no need to enumerate "a" minor changes here)
\def\IEEEtransversionmajor{1}
-\def\IEEEtransversionminor{7}
+\def\IEEEtransversionminor{8}
% These do nothing, but provide them like in article.cls
\newif\if@restonecol
@@ -235,6 +234,7 @@
\newif\ifCLASSOPTIONcaptionsoff \CLASSOPTIONcaptionsofffalse
\newif\ifCLASSOPTIONcompsoc \CLASSOPTIONcompsocfalse
+\newif\ifCLASSOPTIONtransmag \CLASSOPTIONtransmagfalse
\newif\ifCLASSOPTIONromanappendices \CLASSOPTIONromanappendicesfalse
@@ -328,7 +328,9 @@
\DeclareOption{captionsoff}{\CLASSOPTIONcaptionsofftrue}
-\DeclareOption{compsoc}{\CLASSOPTIONcompsoctrue}
+\DeclareOption{compsoc}{\CLASSOPTIONcompsoctrue\CLASSOPTIONtransmagfalse}
+
+\DeclareOption{transmag}{\CLASSOPTIONtransmagtrue\CLASSOPTIONcompsocfalse}
\DeclareOption{romanappendices}{\CLASSOPTIONromanappendicestrue}
@@ -778,6 +780,8 @@
% use the normal font baselineskip
% so that \topskip is unaffected by changes in \baselinestretch
\topskip=\@IEEEnormalsizeunitybaselineskip
+% V1.8 \maxdepth defaults to 4pt, but should be font size dependent
+\maxdepth=0.5\@IEEEnormalsizeunitybaselineskip
\textheight 58pc % 9.63in, 696pt
% Tweak textheight to a perfect integer number of lines/page.
% The normal baselineskip for each document point size is used
@@ -1303,7 +1307,7 @@
\ifnum\@listdepth>5\relax\@toodeep\else%
\advance\@itemdepth\@ne%
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
- % get the labelindentfactor for this level
+ % get the IEEElabelindentfactor for this level
\advance\@listdepth\@ne% we need to know what the level WILL be
\edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne% undo our increment
@@ -1332,9 +1336,9 @@
\IEEEiedlistdecl% let user alter parameters
#1\relax%
% If the user has requested not to use the
- % labelindent factor, don't revise \labelindent
+ % IEEElabelindent factor, don't revise \IEEElabelindent
\ifIEEEnolabelindentfactor\relax%
- \else\IEEElabelindent=\IEEElabelindentfactor\labelindent%
+ \else\IEEElabelindent=\IEEElabelindentfactor\IEEElabelindent%
\fi%
% Unless the user has requested otherwise,
% calculate our left margin based
@@ -1354,7 +1358,7 @@
\ifnum\@listdepth>5\relax\@toodeep\else%
\advance\@enumdepth\@ne%
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
- % get the labelindentfactor for this level
+ % get the IEEElabelindentfactor for this level
\advance\@listdepth\@ne% we need to know what the level WILL be
\edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne% undo our increment
@@ -1403,7 +1407,7 @@
% Note controlled spacing here, shield end of lines with %
\def\@@IEEEdescription[#1]{%
\ifnum\@listdepth>5\relax\@toodeep\else%
- % get the labelindentfactor for this level
+ % get the IEEElabelindentfactor for this level
\advance\@listdepth\@ne% we need to know what the level WILL be
\edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne% undo our increment
@@ -1498,9 +1502,9 @@
% draft mode. Here is a little LaTeX secret - \footnotesep
% determines the height of an invisible strut that is placed
% *above* the baseline of footnotes after the first. Since
-% LaTeX considers the space for characters to be 0.7/baselineskip
-% above the baseline and 0.3/baselineskip below it, we need to
-% use 0.7/baselineskip as a \footnotesep to maintain equal spacing
+% LaTeX considers the space for characters to be 0.7\baselineskip
+% above the baseline and 0.3\baselineskip below it, we need to
+% use 0.7\baselineskip as a \footnotesep to maintain equal spacing
% between all the lines of the footnotes. IEEE often uses a tad
% more, so use 0.8\baselineskip. This slightly larger value also helps
% the text to clear the footnote marks. Note that \thanks in IEEEtran
@@ -1673,11 +1677,13 @@
\let\l@table\l@figure
-%% Definitions for floats
-%%
-%% Normal Floats
-\floatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip
-\textfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip
+% Definitions for floats
+%
+% Normal Floats
+% V1.8 floatsep et al. revised down by 0.15\baselineskip
+% to account for the sideeffects of \topskip compensation
+\floatsep 0.85\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip
+\textfloatsep 1.55\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip
\@fptop 0pt plus 1fil
\@fpsep 0.75\baselineskip plus 2fil
\@fpbot 0pt plus 1fil
@@ -1687,10 +1693,10 @@
% V1.7, let top floats approach 90% of page
\def\textfraction{0.1}
-%% Double Column Floats
-\dblfloatsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip
+% Double Column Floats
+\dblfloatsep 0.85\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip
-\dbltextfloatsep 1.7\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip
+\dbltextfloatsep 1.55\baselineskip plus 0.2\baselineskip minus 0.4\baselineskip
% Note that it would be nice if the rubber here actually worked in LaTeX2e.
% There is a long standing limitation in LaTeX, first discovered (to the best
% of my knowledge) by Alan Jeffrey in 1992. LaTeX ignores the stretchable
@@ -1708,7 +1714,7 @@
\def\dblfloatpagefraction{0.8}
\setcounter{dbltopnumber}{4}
-\intextsep 1\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip
+\intextsep 0.85\baselineskip plus 0.2\baselineskip minus 0.2\baselineskip
\setcounter{topnumber}{2}
\setcounter{bottomnumber}{2}
\setcounter{totalnumber}{4}
@@ -1732,6 +1738,23 @@
% as with LaTeX2e. Otherwise, there will be problems when using hyperref.
\def\@IEEEtablestring{table}
+
+% V1.8 compensate for \topskip so top of top figures align with tops of the first lines of main text
+% here we calculate a space equal to the amount \topskip exceeds the main text height
+% we hook in at \@floatboxreset
+\def\@IEEEfiguretopskipspace{\ifdim\prevdepth=-1000pt\relax
+\setlength{\@IEEEtrantmpdimenA}{1\topskip}\relax
+\addtolength{\@IEEEtrantmpdimenA}{-0.7\@IEEEnormalsizeunitybaselineskip}\relax
+\vspace*{\@IEEEtrantmpdimenA}\fi}
+% V1.8 compensate for \topskip at the top of top tables so caption text is on main text baseline
+% use a strut set on the caption baseline within \@makecaption
+\def\@IEEEtabletopskipstrut{\ifdim\prevdepth=-1000pt\rule{0pt}{\topskip}\fi}
+% the \ifdim\prevdepth checks are always expected to be true for IEEE style float caption ordering
+% because top of figure content and top of captions in tables is the first thing on the vertical
+% list of these floats
+% thanks to Donald Arseneau for his 2000/11/11 post "Re: caption hacking" with info on this topic.
+
+
\ifCLASSOPTIONcompsoc
% V1.7 compsoc \@makecaption
\ifCLASSOPTIONconference% compsoc conference
@@ -1739,56 +1762,57 @@
% test if is a for a figure or table
\ifx\@captype\@IEEEtablestring%
% if a table, do table caption
-\normalsize\begin{center}{\normalfont\sffamily\normalsize {#1.}~ #2}\end{center}%
+\normalsize\bgroup\par\centering\@IEEEtabletopskipstrut{\normalfont\sffamily\normalsize {#1.}\nobreakspace #2}\par\addvspace{0.5\baselineskip}\egroup%
\@IEEEtablecaptionsepspace
% if not a table, format it as a figure
\else
\@IEEEfigurecaptionsepspace
-\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ #2}%
+\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}\nobreakspace #2}%
\ifdim \wd\@tempboxa >\hsize%
% if caption is longer than a line, let it wrap around
-\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ }%
+\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}\nobreakspace}%
\parbox[t]{\hsize}{\normalfont\sffamily\normalsize \noindent\unhbox\@tempboxa#2}%
% if caption is shorter than a line, center
\else%
\hbox to\hsize{\normalfont\sffamily\normalsize\hfil\box\@tempboxa\hfil}%
\fi\fi}
+%
\else% nonconference compsoc
\long\def\@makecaption#1#2{%
% test if is a for a figure or table
\ifx\@captype\@IEEEtablestring%
% if a table, do table caption
-\normalsize\begin{center}{\normalfont\sffamily\normalsize #1}\\{\normalfont\sffamily\normalsize #2}\end{center}%
+\normalsize\bgroup\par\centering\@IEEEtabletopskipstrut{\normalfont\sffamily\normalsize #1}\\{\normalfont\sffamily\normalsize #2}\par\addvspace{0.5\baselineskip}\egroup%
\@IEEEtablecaptionsepspace
% if not a table, format it as a figure
\else
\@IEEEfigurecaptionsepspace
-\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ #2}%
+\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}\nobreakspace #2}%
\ifdim \wd\@tempboxa >\hsize%
% if caption is longer than a line, let it wrap around
-\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}~ }%
+\setbox\@tempboxa\hbox{\normalfont\sffamily\normalsize {#1.}\nobreakspace}%
\parbox[t]{\hsize}{\normalfont\sffamily\normalsize \noindent\unhbox\@tempboxa#2}%
% if caption is shorter than a line, left justify
\else%
\hbox to\hsize{\normalfont\sffamily\normalsize\box\@tempboxa\hfil}%
\fi\fi}
\fi
-
+%
\else% traditional noncompsoc \@makecaption
\long\def\@makecaption#1#2{%
% test if is a for a figure or table
\ifx\@captype\@IEEEtablestring%
% if a table, do table caption
-\footnotesize\begin{center}{\normalfont\footnotesize #1}\\{\normalfont\footnotesize\scshape #2}\end{center}%
+\footnotesize\bgroup\par\centering\@IEEEtabletopskipstrut{\normalfont\footnotesize #1}\\{\normalfont\footnotesize\scshape #2}\par\addvspace{0.5\baselineskip}\egroup%
\@IEEEtablecaptionsepspace
% if not a table, format it as a figure
\else
\@IEEEfigurecaptionsepspace
% 3/2001 use footnotesize, not small; use two nonbreaking spaces, not one
-\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}~~ #2}%
+\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}\nobreakspace\nobreakspace #2}%
\ifdim \wd\@tempboxa >\hsize%
% if caption is longer than a line, let it wrap around
-\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}~~ }%
+\setbox\@tempboxa\hbox{\normalfont\footnotesize {#1.}\nobreakspace\nobreakspace}%
\parbox[t]{\hsize}{\normalfont\footnotesize\noindent\unhbox\@tempboxa#2}%
% if caption is shorter than a line, center if conference, left justify otherwise
\else%
@@ -1802,7 +1826,7 @@
% V1.7 disable captions class option, do so in a way that retains operation of \label
% within \caption
\ifCLASSOPTIONcaptionsoff
-\long\def\@makecaption#1#2{\vspace*{2em}\footnotesize\begin{center}{\footnotesize #1}\end{center}%
+\long\def\@makecaption#1#2{\vspace*{2em}\footnotesize\bgroup\par\addvspace{0.5\baselineskip}\centering{\footnotesize #1}\par\addvspace{0.5\baselineskip}\egroup%
\let\@IEEEtemporiglabeldefsave\label
\let\@IEEEtemplabelargsave\relax
\def\label##1{\gdef\@IEEEtemplabelargsave{##1}}%
@@ -1819,11 +1843,14 @@
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
-\def\fnum@figure{\figurename~\thefigure}
-\def\figure{\@float{figure}}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
+% V1.8 within figures add \@IEEEfiguretopskipspace compensation to LaTeX2e's \@floatboxreset
+\def\figure{\def\@floatboxreset{\reset@font\normalsize\@setminipage\@IEEEfiguretopskipspace}\@float{figure}}
\def\endfigure{\end@float}
-\@namedef{figure*}{\@dblfloat{figure}}
+% V1.8 also add \@IEEEfiguretopskipspace compensation to \figure*
+\@namedef{figure*}{\def\@floatboxreset{\reset@font\normalsize\@setminipage\@IEEEfiguretopskipspace}\@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
+
\newcounter{table}
\ifCLASSOPTIONcompsoc
\def\thetable{\arabic{table}}
@@ -1833,9 +1860,9 @@
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
-\def\fnum@table{\tablename~\thetable}
+\def\fnum@table{\tablename\nobreakspace\thetable}
% V1.6 IEEE uses 8pt text for tables
-% to default to footnotesize, we hack into LaTeX2e's \@floatboxreset and pray
+% within tables alter LaTeX2e's \@floatboxreset to use \footnotesize
\def\table{\def\@floatboxreset{\reset@font\footnotesize\@setminipage}\@float{table}}
\def\endtable{\end@float}
% v1.6b double column tables need to default to footnotesize as well.
@@ -1846,7 +1873,7 @@
%%
-%% START OF IEEEeqnarry DEFINITIONS
+%% START OF IEEEeqnarray DEFINITIONS
%%
%% Inspired by the concepts, examples, and previous works of LaTeX
%% coders and developers such as Donald Arseneau, Fred Bartlett,
@@ -1858,8 +1885,8 @@
% hook to allow easy changeover to IEEEtran.cls/tools.sty error reporting
\def\@IEEEclspkgerror{\ClassError{IEEEtran}}
-\newif\if@IEEEeqnarraystarform% flag to indicate if the environment was called as the star form
-\@IEEEeqnarraystarformfalse
+\newif\if@IEEEeqnarrayboxnojot% flag to indicate if the environment was called as the star form
+\@IEEEeqnarrayboxnojotfalse
\newif\if@advanceIEEEeqncolcnt% tracks if the environment should advance the col counter
% allows a way to make an \IEEEeqnarraybox that can be used within an \IEEEeqnarray
@@ -1880,43 +1907,116 @@
\def\IEEEeqnarraydecl{\relax}
\def\IEEEeqnarrayboxdecl{\relax}
+
+
+% V1.8 flags to indicate that equation numbering is to persist
+\newif\if@IEEEeqnumpersist%
+\@IEEEeqnumpersistfalse
+\newif\if@IEEEsubeqnumpersist%
+\@IEEEsubeqnumpersistfalse
+%
+% V1.8 flags to indicate if (sub)equation number of last line was preadvanced
+\newif\if@IEEEeqnumpreadv%
+\@IEEEeqnumpreadvfalse
+\newif\if@IEEEsubeqnumpreadv%
+\@IEEEsubeqnumpreadvfalse
+
+\newcount\@IEEEsubeqnnumrollback% saves previous value of IEEEsubequation number in case we need to restore it
+
% \yesnumber is the opposite of \nonumber
% a novel concept with the same def as the equationarray package
% However, we give IEEE versions too since some LaTeX packages such as
% the MDWtools mathenv.sty redefine \nonumber to something else.
+% This command is intended for use in non-IEEEeqnarray math environments
\providecommand{\yesnumber}{\global\@eqnswtrue}
-\def\IEEEyesnumber{\global\@eqnswtrue}
-\def\IEEEnonumber{\global\@eqnswfalse}
-\def\IEEEyessubnumber{\global\@IEEEissubequationtrue\global\@eqnswtrue%
-\if@IEEEeqnarrayISinner% only do something inside an IEEEeqnarray
-\if@IEEElastlinewassubequation\addtocounter{equation}{-1}\else\setcounter{IEEEsubequation}{1}\fi%
-\def\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\fi}
+% IEEEyes/nonumber
+% V1.8 add persistant * forms
+% These commands can alter the type of equation an IEEEeqnarray line is.
+\def\IEEEyesnumber{\@ifstar{\global\@IEEEeqnumpersisttrue\global\@IEEEsubeqnumpersistfalse\@IEEEyesnumber}{\@IEEEyesnumber}}
+
+\def\@IEEEyesnumber{\global\@eqnswtrue
+\if@IEEEeqnarrayISinner% alter counters and label only inside an IEEEeqnarray
+\ifnum\c@IEEEsubequation>0\relax
+ \stepcounter{equation}\setcounter{IEEEsubequation}{0}\gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+\fi
+% even if we reached this eqn num via a preadv, it is legit now
+\global\@IEEEeqnumpreadvfalse\global\@IEEEsubeqnumpreadvfalse
+\fi}
+
+\def\IEEEnonumber{\@ifstar{\global\@IEEEeqnumpersistfalse\global\@IEEEsubeqnumpersistfalse\global\@eqnswfalse}{\global\@eqnswfalse}}
+
+
+\def\IEEEyessubnumber{\@ifstar{\global\@IEEEsubeqnumpersisttrue\@IEEEyessubnumber}{\@IEEEyessubnumber}}
+%
+\def\@IEEEyessubnumber{\if@IEEEeqnarrayISinner% alter counters and label only inside an IEEEeqnarray
+ \ifnum\c@IEEEsubequation>0\relax% if it already is a subequation, we are good to go as-is
+ \else% if we are a regular equation we have to watch out for two cases
+ \if@IEEEeqnumpreadv% if this equation is the result of a preadvance, backout and bump the sub eqnnum
+ \global\advance\c@equation\m@ne\global\c@IEEEsubequation=\@IEEEsubeqnnumrollback\addtocounter{IEEEsubequation}{1}\relax
+ \else% non-preadvanced equations just need initialization of their sub eqnnum
+ \setcounter{IEEEsubequation}{1}\relax
+ \fi
+ \fi% fi already is subequation
+ \gdef\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefsubequation}% setup hyperref label
+ \global\@IEEEeqnumpreadvfalse\global\@IEEEsubeqnumpreadvfalse% no longer a preadv anymore
+ \global\@eqnswtrue
+\fi}
+
+
+\def\IEEEnosubnumber{\@ifstar{\global\@IEEEsubeqnumpersistfalse\@IEEEnosubnumber}{\@IEEEnosubnumber}}
+%
+\def\@IEEEnosubnumber{\if@IEEEeqnarrayISinner% alter counters and label only inside an IEEEeqnarray
+ \if@eqnsw % we do nothing unless we know we will display because we play with the counters here
+ % if it currently is a subequation, bump up to the next equation number and turn off the subequation
+ \ifnum\c@IEEEsubequation>0\relax\addtocounter{equation}{1}\setcounter{IEEEsubequation}{0}\relax
+ \fi
+ \global\@IEEEeqnumpreadvfalse\global\@IEEEsubeqnumpreadvfalse% no longer a preadv anymore
+ \gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+ \fi
+\fi}
+
-% flag to indicate that an equation is a sub equation
-\newif\if@IEEEissubequation%
-\@IEEEissubequationfalse
% allows users to "push away" equations that get too close to the equation numbers
-\def\IEEEeqnarraynumspace{\hphantom{\if@IEEEissubequation\theIEEEsubequationdis\else\theequationdis\fi}}
+\def\IEEEeqnarraynumspace{\hphantom{\ifnum\c@IEEEsubequation>0\relax\theIEEEsubequationdis\else\theequationdis\fi}}
% provides a way to span multiple columns within IEEEeqnarray environments
% will consider \if@advanceIEEEeqncolcnt before globally advancing the
% column counter - so as to work within \IEEEeqnarraybox
% usage: \IEEEeqnarraymulticol{number cols. to span}{col type}{cell text}
-\long\def\IEEEeqnarraymulticol#1#2#3{\multispan{#1}%
-% check if column is defined
-\relax\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined%
-\csname @IEEEeqnarraycolPRE#2\endcsname#3\relax\relax\relax\relax\relax%
-\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST#2\endcsname%
+\long\def\IEEEeqnarraymulticol#1#2#3{\multispan{#1}\relax
+% check if column is defined for the precolumn definition
+% We have to be careful here because TeX scans for & even within an \iffalse
+% where it does not expand macros. So, if we used only one \ifx and a #3
+% appeared in the false branch and the user inserted another alignment
+% structure that uses & in the \IEEEeqnarraymulticol{}, TeX will not see that
+% there is an inner alignment in the false branch yet still will see any &
+% there and will think that they apply to the outer alignment resulting in an
+% incomplete \ifx error.
+% So, here we use separate checks for the pre and post parts in order to keep
+% the #3 outside of all conditionals.
+\relax\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined\relax
+\csname @IEEEeqnarraycolPRE#2\endcsname
\else% if not, error and use default type
\@IEEEclspkgerror{Invalid column type "#2" in \string\IEEEeqnarraymulticol.\MessageBreak
Using a default centering column instead}%
{You must define IEEEeqnarray column types before use.}%
-\csname @IEEEeqnarraycolPRE@IEEEdefault\endcsname#3\relax\relax\relax\relax\relax%
-\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST@IEEEdefault\endcsname%
-\fi%
+\csname @IEEEeqnarraycolPRE@IEEEdefault\endcsname
+\fi
+% The ten \relax are to help prevent misleading error messages in case a user
+% accidently inserted a macro that tries to acquire additional arguments.
+#3\relax\relax\relax\relax\relax\relax\relax\relax\relax\relax
+% check if column is defined for the postcolumn definition
+\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined\relax
+\csname @IEEEeqnarraycolPOST#2\endcsname
+\else% if not, use the default type
+\csname @IEEEeqnarraycolPOST@IEEEdefault\endcsname
+\fi
% advance column counter only if the IEEEeqnarray environment wants it
\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by #1\relax\fi}
@@ -2376,11 +2476,15 @@ Using a default centering column instead}%
\baselineskip=0pt\lineskip=0pt\lineskiplimit=0pt\jot=0pt}
+% equation and subequation forms to use to setup hyperref's \@currentHref
+\def\@IEEEtheHrefequation{equation.\theHequation}
+\def\@IEEEtheHrefsubequation{equation.\theHequation\alph{IEEEsubequation}}
-\def\IEEEeqnarray{\@IEEEeqnarraystarformfalse\@IEEEeqnarray}
+
+\def\IEEEeqnarray{\@IEEEeqnumpersisttrue\@IEEEsubeqnumpersistfalse\@IEEEeqnarray}
\def\endIEEEeqnarray{\end@IEEEeqnarray}
-\@namedef{IEEEeqnarray*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarray}
+\@namedef{IEEEeqnarray*}{\@IEEEeqnumpersistfalse\@IEEEsubeqnumpersistfalse\@IEEEeqnarray}
\@namedef{endIEEEeqnarray*}{\end@IEEEeqnarray}
@@ -2391,12 +2495,19 @@ Using a default centering column instead}%
\def\@@IEEEeqnarray[#1]#2{%
% default to showing the equation number or not based on whether or not
% the star form was involked
- \if@IEEEeqnarraystarform\global\@eqnswfalse
+ \if@IEEEeqnumpersist\global\@eqnswtrue
\else% not the star form
- \global\@eqnswtrue
+ \global\@eqnswfalse
\fi% if star form
- \@IEEEissubequationfalse% default to no subequations
- \@IEEElastlinewassubequationfalse% assume last line is not a sub equation
+ % provide a basic hyperref \theHequation if this has not already been setup (hyperref not loaded, or no section counter)
+ \@ifundefined{theHequation}{\def\theHequation{\arabic{equation}}}{}\relax
+ % provide dummy hyperref commands in case hyperref is not loaded
+ \providecommand{\Hy@raisedlink}[1]{}\relax
+ \providecommand{\hyper@anchorstart}[1]{}\relax
+ \providecommand{\hyper@anchorend}{}\relax
+ \providecommand{\@currentHref}{}\relax
+ \@IEEEeqnumpreadvfalse% reset eqnpreadv flag
+ \@IEEEsubeqnumpreadvfalse% reset subeqnpreadv flag
\@IEEEeqnarrayISinnerfalse% not yet within the lines of the halign
\@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default
\@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise
@@ -2409,9 +2520,15 @@ Using a default centering column instead}%
\mathsurround\z@\relax% no extra spacing around math
\@advanceIEEEeqncolcnttrue% advance the col counter for each col the user uses,
% used in \IEEEeqnarraymulticol and in the preamble build
- \stepcounter{equation}% advance equation counter before first line
- \setcounter{IEEEsubequation}{0}% no subequation yet
+ %V1.8 Here we preadvance to the next equation number.
+ % If the user later wants a continued subequation, we can roll back.
+ \global\@IEEEsubeqnnumrollback=\c@IEEEsubequation%
+ \stepcounter{equation}\@IEEEeqnumpreadvtrue% advance equation counter before first line
+ \setcounter{IEEEsubequation}{0}% no subequation yet
+ \let\@IEEEcurrentlabelsave\@currentlabel% save current label as we later change it globally
+ \let\@IEEEcurrentHrefsave\@currentHref% save current href label as we later change it globally
\def\@currentlabel{\p@equation\theequation}% redefine the ref label
+ \def\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
\IEEEeqnarraydecl\relax% allow a way for the user to make global overrides
#1\relax% allow user to override defaults
\let\\\@IEEEeqnarraycr% replace newline with one that can put in eqn. numbers
@@ -2439,19 +2556,19 @@ Using a default centering column instead}%
% enter isolation/strut column (or the next column if the user did not use
% every column), record the strut status, complete the columns, do the strut if needed,
-% restore counters to correct values and exit
-\def\end@IEEEeqnarray{\@IEEEeqnarrayglobalizestrutstatus&\@@IEEEeqnarraycr\egroup%
-\if@IEEElastlinewassubequation\global\advance\c@IEEEsubequation\m@ne\fi%
-\global\advance\c@equation\m@ne%
+% restore counters (to backout any equation setup for a next line that was never used)
+% to their correct values and exit
+\def\end@IEEEeqnarray{\@IEEEeqnarrayglobalizestrutstatus&\@@IEEEeqnarraycr\egroup
+\if@IEEEsubeqnumpreadv\global\advance\c@IEEEsubequation\m@ne\fi
+\if@IEEEeqnumpreadv\global\advance\c@equation\m@ne\global\c@IEEEsubequation=\@IEEEsubeqnnumrollback\fi
+\global\let\@currentlabel\@IEEEcurrentlabelsave% restore current label
+\global\let\@currentHref\@IEEEcurrentHrefsave% restore current href label
$$\@ignoretrue}
-% need a way to remember if last line is a subequation
-\newif\if@IEEElastlinewassubequation%
-\@IEEElastlinewassubequationfalse
% IEEEeqnarray uses a modifed \\ instead of the plain \cr to
% end rows. This allows for things like \\*[vskip amount]
-% This "cr" macros are modified versions those for LaTeX2e's eqnarray
+% These "cr" macros are modified versions of those for LaTeX2e's eqnarray
% the {\ifnum0=`} braces must be kept away from the last column to avoid
% altering spacing of its math, so we use & to advance to the next column
% as there is an isolation/strut column after the user's columns
@@ -2476,7 +2593,7 @@ $$\@ignoretrue}
\ifnum\@IEEEeqncolcnt>\@IEEEeqnnumcols\relax
\@IEEEclspkgerror{Too many columns within the IEEEeqnarray\MessageBreak
environment}%
- {Use fewer \string &'s or put more columns in the IEEEeqnarry column\MessageBreak
+ {Use fewer \string &'s or put more columns in the IEEEeqnarray column\MessageBreak
specifications.}\relax%
\else
\loop% add cols if the user did not use them all
@@ -2492,18 +2609,54 @@ $$\@ignoretrue}
\@IEEEeqnarrayinsertstrut% do the strut if needed
\@IEEEeqnarraystrutreset% reset the strut system for next line or IEEEeqnarray
&% and enter the equation number column
- % is this line needs an equation number, display it and advance the
- % (sub)equation counters, record what type this line was
- \if@eqnsw%
- \if@IEEEissubequation\theIEEEsubequationdis\addtocounter{equation}{1}\stepcounter{IEEEsubequation}%
- \global\@IEEElastlinewassubequationtrue%
- \else% display a standard equation number, initialize the IEEEsubequation counter
- \theequationdis\stepcounter{equation}\setcounter{IEEEsubequation}{0}%
- \global\@IEEElastlinewassubequationfalse\fi%
- \fi%
- % reset the eqnsw flag to indicate default preference of the display of equation numbers
- \if@IEEEeqnarraystarform\global\@eqnswfalse\else\global\@eqnswtrue\fi
- \global\@IEEEissubequationfalse% reset the subequation flag
+ \if@eqnsw% only if we display something
+ \Hy@raisedlink{\hyper@anchorstart{\@currentHref}}% start a hyperref anchor
+ \global\@IEEEeqnumpreadvfalse\relax% displaying an equation number means
+ \global\@IEEEsubeqnumpreadvfalse\relax% the equation counters point to valid equations
+ % V1.8 Here we setup the counters, currentlabel and status for what would be the *next*
+ % equation line as would be the case under the current settings. However, there are two problems.
+ % One problem is that there might not ever be a next line. The second problem is that the user
+ % may later alter the meaning of a line with commands such as \IEEEyessubnumber. So, to handle
+ % these cases we have to record the current values of the (sub)equation counters and revert back
+ % to them if the next line is changed or never comes. The \if@IEEEeqnumpreadv, \if@IEEEsubeqnumpreadv
+ % and \@IEEEsubeqnnumrollback stuff tracks this.
+ % The logic to handle all this is surprisingly complex, but a nice feature of the approach here is
+ % that the equation counters and labels remain valid for what the line would be unless a
+ % \IEEEyessubnumber et al. later changes it. So, any hyperref links are always correct.
+ \ifnum\c@IEEEsubequation>0\relax% handle subequation
+ \theIEEEsubequationdis\relax
+ \if@IEEEsubeqnumpersist% setup for default type of next line
+ \stepcounter{IEEEsubequation}\global\@IEEEsubeqnumpreadvtrue\relax
+ \gdef\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefsubequation}% setup hyperref label
+ \else
+ % if no subeqnum persist, go ahead and setup for a new equation number
+ \global\@IEEEsubeqnnumrollback=\c@IEEEsubequation
+ \stepcounter{equation}\global\@IEEEeqnumpreadvtrue\relax
+ \setcounter{IEEEsubequation}{0}\gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+ \fi
+ \else% display a standard equation number
+ \theequationdis\relax
+ \setcounter{IEEEsubequation}{0}\relax% not really needed
+ \if@IEEEsubeqnumpersist% setup for default type of next line
+ % subequations that follow plain equations carry the same equation number e.g, 5, 5a rather than 5, 6a
+ \stepcounter{IEEEsubequation}\global\@IEEEsubeqnumpreadvtrue\relax
+ \gdef\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefsubequation}% setup hyperref label
+ \else
+ % if no subeqnum persist, go ahead and setup for a new equation number
+ \global\@IEEEsubeqnnumrollback=\c@IEEEsubequation
+ \stepcounter{equation}\global\@IEEEeqnumpreadvtrue\relax
+ \setcounter{IEEEsubequation}{0}\gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+ \fi
+ \fi%
+ \Hy@raisedlink{\hyper@anchorend}% end hyperref anchor
+ \fi% fi only if we display something
+ % reset the flags to indicate the default preferences of the display of equation numbers
+ \if@IEEEeqnumpersist\global\@eqnswtrue\else\global\@eqnswfalse\fi
+ \if@IEEEsubeqnumpersist\global\@eqnswtrue\fi% ditto for the subequation flag
% reset the number of columns the user actually used
\global\@IEEEeqncolcnt\z@\relax
% the real end of the line
@@ -2527,21 +2680,21 @@ $$\@ignoretrue}
% natural width is the default.
% The * forms do not add \jot line spacing
% usage: \IEEEeqnarraybox[decl][pos][width]{cols}
-\def\IEEEeqnarrayboxm{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
+\def\IEEEeqnarrayboxm{\@IEEEeqnarrayboxnojotfalse\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
\def\endIEEEeqnarrayboxm{\end@IEEEeqnarraybox}
-\@namedef{IEEEeqnarrayboxm*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
+\@namedef{IEEEeqnarrayboxm*}{\@IEEEeqnarrayboxnojottrue\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
\@namedef{endIEEEeqnarrayboxm*}{\end@IEEEeqnarraybox}
-\def\IEEEeqnarrayboxt{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
+\def\IEEEeqnarrayboxt{\@IEEEeqnarrayboxnojotfalse\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
\def\endIEEEeqnarrayboxt{\end@IEEEeqnarraybox}
-\@namedef{IEEEeqnarrayboxt*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
+\@namedef{IEEEeqnarrayboxt*}{\@IEEEeqnarrayboxnojottrue\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
\@namedef{endIEEEeqnarrayboxt*}{\end@IEEEeqnarraybox}
-\def\IEEEeqnarraybox{\@IEEEeqnarraystarformfalse\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
+\def\IEEEeqnarraybox{\@IEEEeqnarrayboxnojotfalse\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
\@IEEEeqnarraybox}
\def\endIEEEeqnarraybox{\end@IEEEeqnarraybox}
-\@namedef{IEEEeqnarraybox*}{\@IEEEeqnarraystarformtrue\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
+\@namedef{IEEEeqnarraybox*}{\@IEEEeqnarrayboxnojottrue\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
\@IEEEeqnarraybox}
\@namedef{endIEEEeqnarraybox*}{\end@IEEEeqnarraybox}
@@ -2639,7 +2792,7 @@ $$\@ignoretrue}
% IEEEeqnarraybox does not automatically increase line spacing by \jot
\def\@IEEEeqnarrayboxXCR[#1]{\ifnum0=`{\fi}%
-\cr\noalign{\if@IEEEeqnarraystarform\else\vskip\jot\fi\vskip#1\relax}}
+\cr\noalign{\if@IEEEeqnarrayboxnojot\else\vskip\jot\fi\vskip#1\relax}}
@@ -2914,7 +3067,7 @@ between column types.}%
%%
-%% END OF IEEEeqnarry DEFINITIONS
+%% END OF IEEEeqnarray DEFINITIONS
%%
@@ -3053,8 +3206,9 @@ between column types.}%
%% that needs to be in lower case, for instance et. al., then either manually
%% set \leftmark and \rightmark or use \MakeLowercase{et. al.} within the
%% arguments to \markboth.
-\def\markboth#1#2{\def\leftmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{#1}}%
-\def\rightmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{#2}}}
+%% V1.7b add \protect to work with Babel
+\def\markboth#1#2{\def\leftmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{\protect#1}}%
+\def\rightmark{\@IEEEcompsoconly{\sffamily}\MakeUppercase{\protect#2}}}
\def\footernote#1{\markboth{#1}{#1}}
\def\today{\ifcase\month\or
@@ -3201,9 +3355,14 @@ between column types.}%
% the interline spacing is large enough to prevent \IEEEauthorrefmark{} from colliding
% with the text above.
% V1.7 make this a robust command
+% V1.8 transmag uses an arabic author affiliation symbol
+\ifCLASSOPTIONtransmag
+\DeclareRobustCommand*{\IEEEauthorrefmark}[1]{\raisebox{0pt}[0pt][0pt]{\textsuperscript{\footnotesize #1}}}
+\else
\DeclareRobustCommand*{\IEEEauthorrefmark}[1]{\raisebox{0pt}[0pt][0pt]{\textsuperscript{\footnotesize\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or%
\mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger%
\or \ddagger\ddagger \else\textsuperscript{\expandafter\romannumeral#1}\fi}}}}
+\fi
% FONT CONTROLS AND SPACINGS FOR CONFERENCE MODE AUTHOR NAME AND AFFILIATION BLOCKS
@@ -3214,7 +3373,7 @@ between column types.}%
% The default if the user does not use an author block
\def\@IEEEauthordefaulttextstyle{\normalfont\@IEEEcompsocnotconfonly{\sffamily}\sublargesize}
-% spacing from title (or special paper notice) to author name blocks (confmode)
+% adjustment spacing from title (or special paper notice) to author name blocks (confmode)
% can be negative
\def\@IEEEauthorblockconfadjspace{-0.25em}
% compsoc conferences need more space here
@@ -3229,6 +3388,11 @@ between column types.}%
%\def\@IEEEauthorblockAtopspace{0.75ex}
\def\@IEEEauthorblockNtopspace{0.0ex}
\def\@IEEEauthorblockAtopspace{0.0ex}
+\ifCLASSOPTIONtransmag
+% transmag uses one line of space above first affiliation block
+\def\@IEEEauthorblockAtopspace{1\@IEEEnormalsizeunitybaselineskip}
+\fi
+
% baseline spacing within name and affiliation blocks (confmode)
% must be positive, spacings below certain values will make
% the position of line of text sensitive to the contents of the
@@ -3317,7 +3481,10 @@ between column types.}%
% input the author affiliations
#1%
% end the row if the user did not already
-\crcr}
+\crcr
+% V1.8 transmag does not use any additional affiliation spacing after the first author
+\ifCLASSOPTIONtransmag\gdef\@IEEEauthorblockAtopspace{0pt}\fi}
+
% spacer row for affiliations
\def\@IEEEauthorblockAtopspaceline{\cr\noalign{\vskip\@IEEEauthorblockAtopspace}}
@@ -3327,9 +3494,11 @@ between column types.}%
\ifCLASSOPTIONconference
\else
\ifCLASSOPTIONpeerreviewca\else
- % not conference or peerreviewca mode
- \def\IEEEauthorblockN#1{#1}%
- \def\IEEEauthorblockA#1{#1}%
+ % not conference, peerreviewca or transmag mode
+ \ifCLASSOPTIONtransmag\else
+ \def\IEEEauthorblockN#1{#1}%
+ \def\IEEEauthorblockA#1{#1}%
+ \fi
\fi
\fi
@@ -3383,7 +3552,10 @@ between column types.}%
\ifCLASSOPTIONpeerreviewca
\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}%
\fi
-
+% V1.8 transmag uses conference author format
+\ifCLASSOPTIONtransmag
+\renewcommand{\and}[1][\hfill]{\end{@IEEEauthorhalign}#1\begin{@IEEEauthorhalign}}%
+\fi
% page clearing command
% based on LaTeX2e's \cleardoublepage, but allows different page styles
@@ -3432,21 +3604,25 @@ between column types.}%
-% V1.7 parbox to format \@IEEEcompsoctitleabstractindextext
-\long\def\@IEEEcompsoctitleabstractindextextbox#1{\parbox{0.915\textwidth}{#1}}
+% V1.8 parbox to format \@IEEEtitleabstractindextext
+\long\def\@IEEEtitleabstractindextextbox#1{\parbox{1\textwidth}{#1}}
+% V1.8 compsoc is partial width
+\ifCLASSOPTIONcompsoc
+\long\def\@IEEEtitleabstractindextextbox#1{\parbox{0.915\textwidth}{#1}}
+\fi
% formats the Title, authors names, affiliations and special paper notice
% THIS IS A CONTROLLED SPACING COMMAND! Do not allow blank lines or unintentional
% spaces to enter the definition - use % at the end of each line
\def\@maketitle{\newpage
-\begin{center}%
+\bgroup\par\addvspace{0.5\baselineskip}\centering%
\ifCLASSOPTIONtechnote% technotes
{\bfseries\large\@IEEEcompsoconly{\sffamily}\@title\par}\vskip 1.3em{\lineskip .5em\@IEEEcompsoconly{\sffamily}\@author
\@IEEEspecialpapernotice\par{\@IEEEcompsoconly{\vskip 1.5em\relax
- \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par
+ \@IEEEtitleabstractindextextbox{\@IEEEtitleabstractindextext}\par
\hfill\@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax
\else% not a technote
- \vskip0.2em{\Huge\@IEEEcompsoconly{\sffamily}\@IEEEcompsocconfonly{\normalfont\normalsize\vskip 2\@IEEEnormalsizeunitybaselineskip
+ \vskip0.2em{\Huge\ifCLASSOPTIONtransmag\bfseries\LARGE\fi\@IEEEcompsoconly{\sffamily}\@IEEEcompsocconfonly{\normalfont\normalsize\vskip 2\@IEEEnormalsizeunitybaselineskip
\bfseries\Large}\@title\par}\vskip1.0em\par%
% V1.6 handle \author differently if in conference mode
\ifCLASSOPTIONconference%
@@ -3458,16 +3634,25 @@ between column types.}%
{\@IEEEcompsoconly{\sffamily}\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace%
\mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par
{\@IEEEcompsoconly{\vskip 1.5em\relax
- \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par\hfill
- \@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax
- \else% journal or peerreview
- {\lineskip.5em\@IEEEcompsoconly{\sffamily}\sublargesize\@author\@IEEEspecialpapernotice\par
- {\@IEEEcompsoconly{\vskip 1.5em\relax
- \@IEEEcompsoctitleabstractindextextbox{\@IEEEcompsoctitleabstractindextext}\par\hfill
+ \@IEEEtitleabstractindextextbox{\@IEEEtitleabstractindextext}\par\hfill
\@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax
+ \else% journal, peerreview or transmag
+ \ifCLASSOPTIONtransmag
+ % transmag also handles author names just like conference mode
+ % it also uses \@IEEEtitleabstractindextex, but with one line less
+ % space above, and one more below
+ {\@IEEEspecialpapernotice\mbox{}\vskip\@IEEEauthorblockconfadjspace%
+ \mbox{}\hfill\begin{@IEEEauthorhalign}\@author\end{@IEEEauthorhalign}\hfill\mbox{}\par
+ {\vspace{0.5\baselineskip}\relax\@IEEEtitleabstractindextextbox{\@IEEEtitleabstractindextext}\vspace{-1\baselineskip}\par}}\relax
+ \else% journal or peerreview
+ {\lineskip.5em\@IEEEcompsoconly{\sffamily}\sublargesize\@author\@IEEEspecialpapernotice\par
+ {\@IEEEcompsoconly{\vskip 1.5em\relax
+ \@IEEEtitleabstractindextextbox{\@IEEEtitleabstractindextext}\par\hfill
+ \@IEEEcompsocdiamondline\hfill\hbox{}\par}}}\relax
+ \fi
\fi
\fi
-\fi\end{center}}
+\fi\par\addvspace{0.5\baselineskip}\egroup}
@@ -3537,9 +3722,9 @@ between column types.}%
\fi
% peerreview formats the repeated title like the title in journal papers.
-\def\@IEEEpeerreviewmaketitle{\begin{center}\@IEEEcompsoconly{\sffamily}%
+\def\@IEEEpeerreviewmaketitle{\bgroup\par\addvspace{0.5\baselineskip}\centering\@IEEEcompsoconly{\sffamily}%
\normalfont\normalsize\vskip0.2em{\Huge\@title\par}\vskip1.0em\par
-\end{center}}
+\par\addvspace{0.5\baselineskip}\egroup}
@@ -3666,19 +3851,27 @@ between column types.}%
\let\@IEEEaftertitletext=\relax
\long\def\IEEEaftertitletext#1{\def\@IEEEaftertitletext{#1}}
+
% V1.7 provide a way for users to enter abstract and keywords
% into the onecolumn title are. This text is compensated for
% in the dynamic sizer.
-\let\@IEEEcompsoctitleabstractindextext=\relax
-\long\def\IEEEcompsoctitleabstractindextext#1{\def\@IEEEcompsoctitleabstractindextext{#1}}
-% V1.7 provide a way for users to get the \@IEEEcompsoctitleabstractindextext if
-% not in compsoc journal mode - this way abstract and keywords can be placed
-% in their conventional position if not in compsoc mode.
-\def\IEEEdisplaynotcompsoctitleabstractindextext{%
-\ifCLASSOPTIONcompsoc% display if compsoc conf
-\ifCLASSOPTIONconference\@IEEEcompsoctitleabstractindextext\fi
-\else% or if not compsoc
-\@IEEEcompsoctitleabstractindextext\fi}
+\let\@IEEEtitleabstractindextext=\relax
+\long\def\IEEEtitleabstractindextext#1{\def\@IEEEtitleabstractindextext{#1}}
+% V1.7 provide a way for users to get the \@IEEEtitleabstractindextext if
+% not in compsoc or transmag journal mode - this way abstract and keywords
+% can still be placed in their conventional position if not in those modes.
+\def\IEEEdisplaynontitleabstractindextext{%
+% display for all conference formats
+\ifCLASSOPTIONconference\@IEEEtitleabstractindextext\relax
+\else% non-conferences
+ \ifCLASSOPTIONcompsoc% display if not compsoc and not transmag
+ \else
+ \ifCLASSOPTIONtransmag
+ \else% not compsoc journal nor transmag journal
+ \@IEEEtitleabstractindextext\relax
+ \fi
+ \fi
+\fi}
% command to allow alteration of baselinestretch, but only if the current
@@ -3710,7 +3903,7 @@ between column types.}%
\if@twocolumn
\@IEEEabskeysecsize\bfseries\textit{\abstractname}---\relax
\else
- \begin{center}\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\end{center}\quotation\@IEEEabskeysecsize
+ \bgroup\par\addvspace{0.5\baselineskip}\centering\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\par\addvspace{0.5\baselineskip}\egroup\quotation\@IEEEabskeysecsize
\fi\@IEEEgobbleleadPARNLSP}
% V1.6 IEEE wants only 1 pica from end of abstract to introduction heading when in
% conference mode (the heading already has this much above it)
@@ -3721,7 +3914,7 @@ between column types.}%
\if@twocolumn
\@IEEEabskeysecsize\bfseries\textit{\IEEEkeywordsname}---\relax
\else
- \begin{center}\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\end{center}\quotation\@IEEEabskeysecsize
+ \bgroup\par\addvspace{0.5\baselineskip}\centering\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\par\addvspace{0.5\baselineskip}\egroup\quotation\@IEEEabskeysecsize
\fi\@IEEEgobbleleadPARNLSP}
\def\endIEEEkeywords{\relax\ifCLASSOPTIONtechnote\vspace{1.34ex}\else\vspace{0.67ex}\fi
\par\if@twocolumn\else\endquotation\fi%
@@ -3731,11 +3924,11 @@ between column types.}%
\ifCLASSOPTIONcompsoc
\ifCLASSOPTIONconference% compsoc conference
\def\abstract{\normalfont
- \begin{center}\@IEEEabskeysecsize\textbf{\large\abstractname}\end{center}\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip
+ \bgroup\par\addvspace{0.5\baselineskip}\centering\@IEEEabskeysecsize\textbf{\large\abstractname}\par\addvspace{0.5\baselineskip}\egroup\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip
\if@twocolumn\else\quotation\fi\itshape\@IEEEabskeysecsize%
\par\@IEEEgobbleleadPARNLSP}
\def\IEEEkeywords{\normalfont\vskip 1.5\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip
- \begin{center}\@IEEEabskeysecsize\textbf{\large\IEEEkeywordsname}\end{center}\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip
+ \bgroup\par\addvspace{0.5\baselineskip}\centering\@IEEEabskeysecsize\textbf{\large\IEEEkeywordsname}\par\addvspace{0.5\baselineskip}\egroup\vskip 0.5\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip
\if@twocolumn\else\quotation\fi\itshape\@IEEEabskeysecsize%
\par\@IEEEgobbleleadPARNLSP}
\else% compsoc not conference
@@ -3743,18 +3936,38 @@ between column types.}%
\if@twocolumn
\@IEEEabskeysecsize\noindent\textbf{\abstractname}---\relax
\else
- \begin{center}\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\end{center}\quotation\@IEEEabskeysecsize%
+ \bgroup\par\addvspace{0.5\baselineskip}\centering\vspace{-1.78ex}\@IEEEabskeysecsize\textbf{\abstractname}\par\addvspace{0.5\baselineskip}\egroup\quotation\@IEEEabskeysecsize%
\fi\@IEEEgobbleleadPARNLSP}
\def\IEEEkeywords{\normalfont\@IEEEtweakunitybaselinestretch{1.15}\sffamily
\if@twocolumn
\@IEEEabskeysecsize\vskip 0.5\baselineskip plus 0.25\baselineskip minus 0.25\baselineskip\noindent
\textbf{\IEEEkeywordsname}---\relax
\else
- \begin{center}\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\end{center}\quotation\@IEEEabskeysecsize%
+ \bgroup\par\addvspace{0.5\baselineskip}\centering\@IEEEabskeysecsize\textbf{\IEEEkeywordsname}\par\addvspace{0.5\baselineskip}\egroup\quotation\@IEEEabskeysecsize%
\fi\@IEEEgobbleleadPARNLSP}
\fi
\fi
+% V1.8 transmag keywords index terms
+% no abstract name, use indentation
+\ifCLASSOPTIONtransmag
+\def\abstract{\normalfont\parindent 1em\relax
+ \if@twocolumn
+ \@IEEEabskeysecsize\bfseries\indent
+ \else
+ \bgroup\par\addvspace{0.5\baselineskip}\centering\vspace{-1.78ex}\@IEEEabskeysecsize
+ \textbf{\abstractname}\par\addvspace{0.5\baselineskip}\egroup\quotation\@IEEEabskeysecsize
+ \fi\@IEEEgobbleleadPARNLSP}
+
+\def\IEEEkeywords{\normalfont\parindent 1em\relax
+ \if@twocolumn
+ \@IEEEabskeysecsize\vspace{1\baselineskip}\bfseries\indent\textit{\IEEEkeywordsname}---\relax
+ \else
+ \bgroup\par\vspace{1\baselineskip}\centering\@IEEEabskeysecsize
+ \textbf{\IEEEkeywordsname}\par\addvspace{0.5\baselineskip}\egroup\quotation\@IEEEabskeysecsize
+ \fi\@IEEEgobbleleadPARNLSP}
+\fi
+
% gobbles all leading \, \\ and \par, upon finding first token that
@@ -3918,7 +4131,13 @@ between column types.}%
{0ex}{\normalfont\normalsize}}%
\fi\fi
-
+% transmag
+\ifCLASSOPTIONtransmag
+\def\subsection{\@startsection{subsection}{2}{0.75\parindent}{3.5ex plus 1.5ex minus 1.5ex}%
+{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\itshape}}%
+\def\subsubsection{\@startsection{subsubsection}{3}{1.25\parindent}{0.1ex plus 0.1ex minus 0.1ex}%
+{0.1ex}{\normalfont\normalsize\itshape}}%
+\fi
%% ENVIRONMENTS
@@ -3932,21 +4151,34 @@ between column types.}%
\def\IEEEQED{\IEEEQEDclosed} % otherwise default to closed
\fi
+%V1.8 flag to indicate if QED symbol is to be shown
+\newif\if@IEEEQEDshow \@IEEEQEDshowtrue
+\def\IEEEproofindentspace{2\parindent}% V1.8 allow user to change indentation amount if desired
% v1.7 name change to avoid namespace collision with amsthm. Also add support
% for an optional argument.
\def\IEEEproof{\@ifnextchar[{\@IEEEproof}{\@IEEEproof[\IEEEproofname]}}
-\def\@IEEEproof[#1]{\par\noindent\hspace{2em}{\itshape #1: }}
-\def\endIEEEproof{\hspace*{\fill}~\IEEEQED\par}
+\def\@IEEEproof[#1]{\@IEEEQEDshowtrue\par\noindent\hspace{\IEEEproofindentspace}{\itshape #1: }}
+\def\endIEEEproof{\if@IEEEQEDshow\hspace*{\fill}\nobreakspace\IEEEQED\fi\par}
+% qedhere for equation environments, similar to AMS \qedhere
+\def\IEEEQEDhereeqn{\global\@IEEEQEDshowfalse\eqno\let\eqno\relax\let\leqno\relax
+ \let\veqno\relax\hbox{\IEEEQED}}
+% IEEE style qedhere for IEEEeqnarray and other environments
+\def\IEEEQEDhere{\global\@IEEEQEDshowfalse\IEEEQED}
+% command to disable QED at end of IEEEproof
+\def\IEEEQEDoff{\global\@IEEEQEDshowfalse}
%\itemindent is set to \z@ by list, so define new temporary variable
\newdimen\@IEEEtmpitemindent
-\def\@begintheorem#1#2{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily\trivlist%
- \item[\hskip \labelsep{\indent\itshape #1\ #2:}]\itemindent\@IEEEtmpitemindent}
-\def\@opargbegintheorem#1#2#3{\@IEEEtmpitemindent\itemindent\topsep 0pt\rmfamily \trivlist%
+
+% V1.8 allow long theorem names to break across lines.
+% Thanks to Miquel Payaro for reporting this.
+\def\@begintheorem#1#2{\@IEEEtmpitemindent\itemindent\relax\topsep 0pt\rmfamily\trivlist%
+ \item[]\textit{\indent #1\ #2:} \itemindent\@IEEEtmpitemindent\relax}
+\def\@opargbegintheorem#1#2#3{\@IEEEtmpitemindent\itemindent\relax\topsep 0pt\rmfamily \trivlist%
% V1.6 IEEE is back to using () around theorem names which are also in italics
% Thanks to Christian Peel for reporting this.
- \item[\hskip\labelsep{\indent\itshape #1\ #2\ (#3):}]\itemindent\@IEEEtmpitemindent}
+ \item[]\textit{\indent #1\ #2\ (#3):} \itemindent\@IEEEtmpitemindent\relax}
% V1.7 remove bogus \unskip that caused equations in theorems to collide with
% lines below.
\def\@endtheorem{\endtrivlist}
@@ -4057,10 +4289,10 @@ between column types.}%
% note we reroute the call to the old \section*
\def\@IEEEprocessthesectionargument#1{%
\@ifmtarg{#1}{%
-\@IEEEappendixsavesection*{\appendixname~\thesectiondis}%
-\addcontentsline{toc}{section}{\appendixname~\thesection}}{%
-\@IEEEappendixsavesection*{\appendixname~\thesectiondis \\* #1}%
-\addcontentsline{toc}{section}{\appendixname~\thesection: #1}}}
+\@IEEEappendixsavesection*{\appendixname\nobreakspace\thesectiondis}%
+\addcontentsline{toc}{section}{\appendixname\nobreakspace\thesection}}{%
+\@IEEEappendixsavesection*{\appendixname\nobreakspace\thesectiondis\\* #1}%
+\addcontentsline{toc}{section}{\appendixname\nobreakspace\thesection: #1}}}
% we use this if the user calls \section{} after
% \appendix-- which has no meaning. So, we ignore the
@@ -4094,7 +4326,7 @@ between column types.}%
\refstepcounter{section}% update the \ref counter
\@ifmtarg{#1}{\@IEEEappendixsavesection*{\appendixname}%
\addcontentsline{toc}{section}{\appendixname}}{%
- \@IEEEappendixsavesection*{\appendixname~\\* #1}%
+ \@IEEEappendixsavesection*{\appendixname\nobreakspace\\* #1}%
\addcontentsline{toc}{section}{\appendixname: #1}}%
% redefine \section command for appendix
% leave \section* as is
@@ -4651,49 +4883,44 @@ between column types.}%
Use \@IEEEbackslash #2 instead.}}
-% provide for legacy commands
+% provide some legacy IEEEtran commands
\def\authorblockA{\@IEEElegacywarn{authorblockA}{IEEEauthorblockA}\IEEEauthorblockA}
\def\authorblockN{\@IEEElegacywarn{authorblockN}{IEEEauthorblockN}\IEEEauthorblockN}
\def\authorrefmark{\@IEEElegacywarn{authorrefmark}{IEEEauthorrefmark}\IEEEauthorrefmark}
\def\PARstart{\@IEEElegacywarn{PARstart}{IEEEPARstart}\IEEEPARstart}
\def\pubid{\@IEEElegacywarn{pubid}{IEEEpubid}\IEEEpubid}
\def\pubidadjcol{\@IEEElegacywarn{pubidadjcol}{IEEEpubidadjcol}\IEEEpubidadjcol}
-\def\QED{\@IEEElegacywarn{QED}{IEEEQED}\IEEEQED}
-\def\QEDclosed{\@IEEElegacywarn{QEDclosed}{IEEEQEDclosed}\IEEEQEDclosed}
-\def\QEDopen{\@IEEElegacywarn{QEDopen}{IEEEQEDopen}\IEEEQEDopen}
\def\specialpapernotice{\@IEEElegacywarn{specialpapernotice}{IEEEspecialpapernotice}\IEEEspecialpapernotice}
-
-
-
-% provide for legacy environments
-\def\biography{\@IEEElegacywarn{biography}{IEEEbiography}\IEEEbiography}
-\def\biographynophoto{\@IEEElegacywarn{biographynophoto}{IEEEbiographynophoto}\IEEEbiographynophoto}
+\def\IEEEcompsoctitleabstractindextext{\@IEEElegacywarn{IEEEcompsoctitleabstractindextext}{IEEEtitleabstractindextext}\IEEEtitleabstractindextext}
+\def\IEEEdisplaynotcompsoctitleabstractindextext{\@IEEElegacywarn{IEEEdisplaynotcompsoctitleabstractindextext}{IEEEdisplaynontitleabstractindextext}\IEEEdisplaynontitleabstractindextext}
+% provide some legacy IEEEtran environments
\def\keywords{\@IEEElegacywarn{keywords}{IEEEkeywords}\IEEEkeywords}
-\def\endbiography{\endIEEEbiography}
-\def\endbiographynophoto{\endIEEEbiographynophoto}
\def\endkeywords{\endIEEEkeywords}
-% provide for legacy IED commands/lengths when possible
-\let\labelindent\IEEElabelindent
-\def\calcleftmargin{\@IEEElegacywarn{calcleftmargin}{IEEEcalcleftmargin}\IEEEcalcleftmargin}
-\def\setlabelwidth{\@IEEElegacywarn{setlabelwidth}{IEEEsetlabelwidth}\IEEEsetlabelwidth}
-\def\usemathlabelsep{\@IEEElegacywarn{usemathlabelsep}{IEEEusemathlabelsep}\IEEEusemathlabelsep}
-\def\iedlabeljustifyc{\@IEEElegacywarn{iedlabeljustifyc}{IEEEiedlabeljustifyc}\IEEEiedlabeljustifyc}
-\def\iedlabeljustifyl{\@IEEElegacywarn{iedlabeljustifyl}{IEEEiedlabeljustifyl}\IEEEiedlabeljustifyl}
-\def\iedlabeljustifyr{\@IEEElegacywarn{iedlabeljustifyr}{IEEEiedlabeljustifyr}\IEEEiedlabeljustifyr}
-
-
-
-% let \proof use the IEEEtran version even after amsthm is loaded
-% \proof is now deprecated in favor of \IEEEproof
-\AtBeginDocument{\def\proof{\@IEEElegacywarn{proof}{IEEEproof}\IEEEproof}\def\endproof{\endIEEEproof}}
-
-% V1.7 \overrideIEEEmargins is no longer supported.
-\def\overrideIEEEmargins{%
-\typeout{** WARNING: \string\overrideIEEEmargins \space no longer supported (line \the\inputlineno).}%
-\typeout{** Use the \string\CLASSINPUTinnersidemargin, \string\CLASSINPUToutersidemargin \space controls instead.}}
+% V1.8 no more support for legacy IED list commands
+%\let\labelindent\IEEElabelindent
+%\def\calcleftmargin{\@IEEElegacywarn{calcleftmargin}{IEEEcalcleftmargin}\IEEEcalcleftmargin}
+%\def\setlabelwidth{\@IEEElegacywarn{setlabelwidth}{IEEEsetlabelwidth}\IEEEsetlabelwidth}
+%\def\usemathlabelsep{\@IEEElegacywarn{usemathlabelsep}{IEEEusemathlabelsep}\IEEEusemathlabelsep}
+%\def\iedlabeljustifyc{\@IEEElegacywarn{iedlabeljustifyc}{IEEEiedlabeljustifyc}\IEEEiedlabeljustifyc}
+%\def\iedlabeljustifyl{\@IEEElegacywarn{iedlabeljustifyl}{IEEEiedlabeljustifyl}\IEEEiedlabeljustifyl}
+%\def\iedlabeljustifyr{\@IEEElegacywarn{iedlabeljustifyr}{IEEEiedlabeljustifyr}\IEEEiedlabeljustifyr}
+% V1.8 no more support for QED and proof stuff
+%\def\QED{\@IEEElegacywarn{QED}{IEEEQED}\IEEEQED}
+%\def\QEDclosed{\@IEEElegacywarn{QEDclosed}{IEEEQEDclosed}\IEEEQEDclosed}
+%\def\QEDopen{\@IEEElegacywarn{QEDopen}{IEEEQEDopen}\IEEEQEDopen}
+%\AtBeginDocument{\def\proof{\@IEEElegacywarn{proof}{IEEEproof}\IEEEproof}\def\endproof{\endIEEEproof}}
+% V1.8 no longer support biography or biographynophoto
+%\def\biography{\@IEEElegacywarn{biography}{IEEEbiography}\IEEEbiography}
+%\def\biographynophoto{\@IEEElegacywarn{biographynophoto}{IEEEbiographynophoto}\IEEEbiographynophoto}
+%\def\endbiography{\endIEEEbiography}
+%\def\endbiographynophoto{\endIEEEbiographynophoto}
+% V1.7 and later no longer supports \overrideIEEEmargins
+%\def\overrideIEEEmargins{%
+%\typeout{** WARNING: \string\overrideIEEEmargins \space no longer supported (line \the\inputlineno).}%
+%\typeout{** Use the \string\CLASSINPUTinnersidemargin, \string\CLASSINPUToutersidemargin \space controls instead.}}
\endinput
diff --git a/Master/texmf-dist/tex/latex/IEEEtran/IEEEtrantools.sty b/Master/texmf-dist/tex/latex/IEEEtran/IEEEtrantools.sty
index 76ce3930c07..7f09bc81b60 100644
--- a/Master/texmf-dist/tex/latex/IEEEtran/IEEEtrantools.sty
+++ b/Master/texmf-dist/tex/latex/IEEEtran/IEEEtrantools.sty
@@ -1,13 +1,14 @@
%%
-%% IEEEtrantools.sty 2007/01/11 version V1.2
+%% IEEEtrantools.sty 2012/12/27 version V1.3
%%
%%
%% This package provides several popular and unique commands from the
-%% IEEEtran.cls class (version 1.7) file.
+%% IEEEtran.cls class (version 1.8) file.
%%
%% The provided commands include \IEEEPARstart, \IEEEitemize, \IEEEenumerate,
%% \IEEEdescription as well as the \IEEEeqnarray, \IEEEeqnarraybox family
-%% of commands including support commands such as \IEEEstrut.
+%% of commands including support commands such as \IEEEstrut, the IEEEproof
+%% environment and its support commands and the \IEEEauthorrefmark command.
%% Also provides the \bstctlcite command for the control entry types of
%% IEEEtran.bst V1.00 and later.
%%
@@ -18,7 +19,7 @@
%% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/
%%
%%
-%% Copyright (c) 2002-2007 by Michael Shell
+%% Copyright (c) 2002-2012 by Michael Shell
%% See: http://www.michaelshell.org/
%% for current contact information.
%%
@@ -50,75 +51,36 @@
%%
%%
%%
-%% Available package options (e.g., \usepackage[retainorgcmds]{IEEEtrantools}
+%% Available package options (e.g., \usepackage[redeflists]{IEEEtrantools}
%%
-%% retainorgcmds
-%% Prevents IEEEtrantools from overriding existing LaTeX commands.
-%% Currently, the only effect is to preserve the original definitions
-%% of itemize, enumerate and description. The IEEEtran versions are
-%% always available as IEEEitemize, IEEEenumerate and IEEEdescription.
+%% redeflists
+%% Causes IEEEtrantools to redefine the standard itemize, enumerate and
+%% description (IED) list environments to their IEEE versions.
+%% IEEEitemize, IEEEenumerate and IEEEdescription remain available in any
+%% case. This option may not be compatible with packages that alter the
+%% standard IED list environments.
+%%
%%
-%%*******
-% 1/2007 V1.2 (V1.7 of IEEEtran.cls) changes:
-%
-% 1) Several commands and environments have depreciated in favor of
-% replacements with IEEE prefixes to better avoid potential future name
-% clashes with other packages. Legacy code retained to allow
-% use of the obsolete forms, but with an warning message to the
-% console during compilation:
-% \IEEEPARstart
-% For IED lists:
-% \IEEEiedlabeljustifyc, \IEEEiedlabeljustifyl, \IEEEiedlabeljustifyr,
-% \IEEEnocalcleftmargin, \IEEElabelindent, \IEEEsetlabelwidth,
-% \IEEEusemathlabelsep
-%
-% 2) These commands/lengths now require the IEEE prefix and do not have
-% legacy support: \IEEEnormaljot.
-% For IED lists: \ifIEEEnocalcleftmargin, \ifIEEEnolabelindentfactor,
-% \IEEEiedlistdecl, \IEEElabelindentfactor
-%
-% 3) \normalsizebaselineskip no longer provided.
-%
-% 4) New \IEEEPARstart controls:
-% \IEEEPARstartHEIGHTTEXT, \IEEEPARstartFONTSTYLE, \IEEEPARstartCAPSTYLE,
-% \IEEEPARstartWORDFONTSTYLE, \IEEEPARstartWORDCAPSTYLE,
-% \IEEEPARstartHOFFSET, \IEEEPARstartITLCORRECT
-% and the (output) length \IEEEPARstartletwidth.
-%
-% 5) Provide for an optional argument to \bstctlcite to provide a way to
-% specify a different aux file.
-%
-%
-% 11/2002 V1.1 (V1.6b of IEEEtran.cls) changes:
-%
-% 1) In addition to the IEEE IED lists, the original LaTeX IED style list
-% environments are now preserved as LaTeXitemize, LaTeXenumerate, and
-% LaTeXdescription. Also, users can now redefine \makelabel within
-% IEEE IED list controls. There may be some use for these in specialized
-% applications. Thanks to Eli Barzilay for suggesting this feature.
-%
%%**********************************************************************
-\ProvidesPackage{IEEEtrantools}[2007/01/11 V1.2 by Michael Shell]
+\ProvidesPackage{IEEEtrantools}[2012/12/27 V1.3 by Michael Shell]
\typeout{-- See the "IEEEtrantools_doc.txt" manual for usage information.}
\typeout{-- http://www.michaelshell.org/tex/ieeetran/tools/}
\NeedsTeXFormat{LaTeX2e}
-% If IEEEtran.cls is detected, error.
-{\@ifundefined{IEEEtransversionmajor}{\relax}{%
-\PackageError{IEEEtrantools}{IEEEtrantools is not for use with the\MessageBreak
- IEEEtran class}%
+% If \@IEEEeqnarray is detected, error.
+{\@ifundefined{@IEEEeqnarray}{\relax}{%
+\PackageError{IEEEtrantools}{The IEEEtrantools package is not for use\MessageBreak
+ with classes that already provide it}%
{Do not load IEEEtrantools - you don't need it.}%
}}
-% define new needed flags to indicate document options
-% and set a few "failsafe" defaults
-\newif\if@IEEETOOLSretainorgcmds
-\global\@IEEETOOLSretainorgcmdsfalse
-
+% define needed flags to indicate document options
+\newif\if@IEEETOOLSredeflists
+\global\@IEEETOOLSredeflistsfalse
% IEEEtran class scratch pad registers
@@ -133,7 +95,9 @@
% declare the options
-\DeclareOption{retainorgcmds}{\@IEEETOOLSretainorgcmdstrue}
+\DeclareOption{redeflists}{\@IEEETOOLSredefliststrue}
+% provide legacy support for retainorgcmds which does nothing now.
+\DeclareOption{retainorgcmds}{\@IEEETOOLSredeflistsfalse}
% get and process any supplied options
\ProcessOptions
@@ -351,8 +315,8 @@
\let\endLaTeXdescription\enddescription
-% override LaTeX's default IED lists, unless the user requested they be retained
-\if@IEEETOOLSretainorgcmds\relax\else
+% override LaTeX's default IED lists, if the user requested it
+\if@IEEETOOLSredeflists
\def\itemize{\@IEEEitemize}
\def\enditemize{\@endIEEEitemize}
\def\enumerate{\@IEEEenumerate}
@@ -390,7 +354,7 @@
\ifnum\@listdepth>5\relax\@toodeep\else%
\advance\@itemdepth\@ne%
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
- % get the labelindentfactor for this level
+ % get the IEEElabelindentfactor for this level
\advance\@listdepth\@ne% we need to know what the level WILL be
\edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne% undo our increment
@@ -419,9 +383,9 @@
\IEEEiedlistdecl% let user alter parameters
#1\relax%
% If the user has requested not to use the
- % labelindent factor, don't revise \labelindent
+ % IEEElabelindent factor, don't revise \IEEElabelindent
\ifIEEEnolabelindentfactor\relax%
- \else\IEEElabelindent=\IEEElabelindentfactor\labelindent%
+ \else\IEEElabelindent=\IEEElabelindentfactor\IEEElabelindent%
\fi%
% Unless the user has requested otherwise,
% calculate our left margin based
@@ -441,7 +405,7 @@
\ifnum\@listdepth>5\relax\@toodeep\else%
\advance\@enumdepth\@ne%
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
- % get the labelindentfactor for this level
+ % get the IEEElabelindentfactor for this level
\advance\@listdepth\@ne% we need to know what the level WILL be
\edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne% undo our increment
@@ -490,7 +454,7 @@
% Note controlled spacing here, shield end of lines with %
\def\@@IEEEdescription[#1]{%
\ifnum\@listdepth>5\relax\@toodeep\else%
- % get the labelindentfactor for this level
+ % get the IEEElabelindentfactor for this level
\advance\@listdepth\@ne% we need to know what the level WILL be
\edef\IEEElabelindentfactor{\csname IEEElabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne% undo our increment
@@ -565,7 +529,7 @@
%%
-%% START OF IEEEeqnarry DEFINITIONS
+%% START OF IEEEeqnarray DEFINITIONS
%%
%% Inspired by the concepts, examples, and previous works of LaTeX
%% coders and developers such as Donald Arseneau, Fred Bartlett,
@@ -575,10 +539,10 @@
% hook to allow easy changeover to IEEEtran.cls/tools.sty error reporting
-\def\@IEEEclspkgerror{\PackageError{IEEEtran}}
+\def\@IEEEclspkgerror{\ClassError{IEEEtran}}
-\newif\if@IEEEeqnarraystarform% flag to indicate if the environment was called as the star form
-\@IEEEeqnarraystarformfalse
+\newif\if@IEEEeqnarrayboxnojot% flag to indicate if the environment was called as the star form
+\@IEEEeqnarrayboxnojotfalse
\newif\if@advanceIEEEeqncolcnt% tracks if the environment should advance the col counter
% allows a way to make an \IEEEeqnarraybox that can be used within an \IEEEeqnarray
@@ -599,43 +563,116 @@
\def\IEEEeqnarraydecl{\relax}
\def\IEEEeqnarrayboxdecl{\relax}
+
+
+% V1.8 flags to indicate that equation numbering is to persist
+\newif\if@IEEEeqnumpersist%
+\@IEEEeqnumpersistfalse
+\newif\if@IEEEsubeqnumpersist%
+\@IEEEsubeqnumpersistfalse
+%
+% V1.8 flags to indicate if (sub)equation number of last line was preadvanced
+\newif\if@IEEEeqnumpreadv%
+\@IEEEeqnumpreadvfalse
+\newif\if@IEEEsubeqnumpreadv%
+\@IEEEsubeqnumpreadvfalse
+
+\newcount\@IEEEsubeqnnumrollback% saves previous value of IEEEsubequation number in case we need to restore it
+
% \yesnumber is the opposite of \nonumber
% a novel concept with the same def as the equationarray package
% However, we give IEEE versions too since some LaTeX packages such as
% the MDWtools mathenv.sty redefine \nonumber to something else.
+% This command is intended for use in non-IEEEeqnarray math environments
\providecommand{\yesnumber}{\global\@eqnswtrue}
-\def\IEEEyesnumber{\global\@eqnswtrue}
-\def\IEEEnonumber{\global\@eqnswfalse}
-\def\IEEEyessubnumber{\global\@IEEEissubequationtrue\global\@eqnswtrue%
-\if@IEEEeqnarrayISinner% only do something inside an IEEEeqnarray
-\if@IEEElastlinewassubequation\addtocounter{equation}{-1}\else\setcounter{IEEEsubequation}{1}\fi%
-\def\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\fi}
+% IEEEyes/nonumber
+% V1.8 add persistant * forms
+% These commands can alter the type of equation an IEEEeqnarray line is.
+\def\IEEEyesnumber{\@ifstar{\global\@IEEEeqnumpersisttrue\global\@IEEEsubeqnumpersistfalse\@IEEEyesnumber}{\@IEEEyesnumber}}
+
+\def\@IEEEyesnumber{\global\@eqnswtrue
+\if@IEEEeqnarrayISinner% alter counters and label only inside an IEEEeqnarray
+\ifnum\c@IEEEsubequation>0\relax
+ \stepcounter{equation}\setcounter{IEEEsubequation}{0}\gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+\fi
+% even if we reached this eqn num via a preadv, it is legit now
+\global\@IEEEeqnumpreadvfalse\global\@IEEEsubeqnumpreadvfalse
+\fi}
+
+\def\IEEEnonumber{\@ifstar{\global\@IEEEeqnumpersistfalse\global\@IEEEsubeqnumpersistfalse\global\@eqnswfalse}{\global\@eqnswfalse}}
+
+
+\def\IEEEyessubnumber{\@ifstar{\global\@IEEEsubeqnumpersisttrue\@IEEEyessubnumber}{\@IEEEyessubnumber}}
+%
+\def\@IEEEyessubnumber{\if@IEEEeqnarrayISinner% alter counters and label only inside an IEEEeqnarray
+ \ifnum\c@IEEEsubequation>0\relax% if it already is a subequation, we are good to go as-is
+ \else% if we are a regular equation we have to watch out for two cases
+ \if@IEEEeqnumpreadv% if this equation is the result of a preadvance, backout and bump the sub eqnnum
+ \global\advance\c@equation\m@ne\global\c@IEEEsubequation=\@IEEEsubeqnnumrollback\addtocounter{IEEEsubequation}{1}\relax
+ \else% non-preadvanced equations just need initialization of their sub eqnnum
+ \setcounter{IEEEsubequation}{1}\relax
+ \fi
+ \fi% fi already is subequation
+ \gdef\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefsubequation}% setup hyperref label
+ \global\@IEEEeqnumpreadvfalse\global\@IEEEsubeqnumpreadvfalse% no longer a preadv anymore
+ \global\@eqnswtrue
+\fi}
+
+
+\def\IEEEnosubnumber{\@ifstar{\global\@IEEEsubeqnumpersistfalse\@IEEEnosubnumber}{\@IEEEnosubnumber}}
+%
+\def\@IEEEnosubnumber{\if@IEEEeqnarrayISinner% alter counters and label only inside an IEEEeqnarray
+ \if@eqnsw % we do nothing unless we know we will display because we play with the counters here
+ % if it currently is a subequation, bump up to the next equation number and turn off the subequation
+ \ifnum\c@IEEEsubequation>0\relax\addtocounter{equation}{1}\setcounter{IEEEsubequation}{0}\relax
+ \fi
+ \global\@IEEEeqnumpreadvfalse\global\@IEEEsubeqnumpreadvfalse% no longer a preadv anymore
+ \gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+ \fi
+\fi}
+
-% flag to indicate that an equation is a sub equation
-\newif\if@IEEEissubequation%
-\@IEEEissubequationfalse
% allows users to "push away" equations that get too close to the equation numbers
-\def\IEEEeqnarraynumspace{\hphantom{\if@IEEEissubequation\theIEEEsubequationdis\else\theequationdis\fi}}
+\def\IEEEeqnarraynumspace{\hphantom{\ifnum\c@IEEEsubequation>0\relax\theIEEEsubequationdis\else\theequationdis\fi}}
% provides a way to span multiple columns within IEEEeqnarray environments
% will consider \if@advanceIEEEeqncolcnt before globally advancing the
% column counter - so as to work within \IEEEeqnarraybox
% usage: \IEEEeqnarraymulticol{number cols. to span}{col type}{cell text}
-\long\def\IEEEeqnarraymulticol#1#2#3{\multispan{#1}%
-% check if column is defined
-\relax\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined%
-\csname @IEEEeqnarraycolPRE#2\endcsname#3\relax\relax\relax\relax\relax%
-\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST#2\endcsname%
+\long\def\IEEEeqnarraymulticol#1#2#3{\multispan{#1}\relax
+% check if column is defined for the precolumn definition
+% We have to be careful here because TeX scans for & even within an \iffalse
+% where it does not expand macros. So, if we used only one \ifx and a #3
+% appeared in the false branch and the user inserted another alignment
+% structure that uses & in the \IEEEeqnarraymulticol{}, TeX will not see that
+% there is an inner alignment in the false branch yet still will see any &
+% there and will think that they apply to the outer alignment resulting in an
+% incomplete \ifx error.
+% So, here we use separate checks for the pre and post parts in order to keep
+% the #3 outside of all conditionals.
+\relax\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined\relax
+\csname @IEEEeqnarraycolPRE#2\endcsname
\else% if not, error and use default type
\@IEEEclspkgerror{Invalid column type "#2" in \string\IEEEeqnarraymulticol.\MessageBreak
Using a default centering column instead}%
{You must define IEEEeqnarray column types before use.}%
-\csname @IEEEeqnarraycolPRE@IEEEdefault\endcsname#3\relax\relax\relax\relax\relax%
-\relax\relax\relax\relax\relax\csname @IEEEeqnarraycolPOST@IEEEdefault\endcsname%
-\fi%
+\csname @IEEEeqnarraycolPRE@IEEEdefault\endcsname
+\fi
+% The ten \relax are to help prevent misleading error messages in case a user
+% accidently inserted a macro that tries to acquire additional arguments.
+#3\relax\relax\relax\relax\relax\relax\relax\relax\relax\relax
+% check if column is defined for the postcolumn definition
+\expandafter\ifx\csname @IEEEeqnarraycolDEF#2\endcsname\@IEEEeqnarraycolisdefined\relax
+\csname @IEEEeqnarraycolPOST#2\endcsname
+\else% if not, use the default type
+\csname @IEEEeqnarraycolPOST@IEEEdefault\endcsname
+\fi
% advance column counter only if the IEEEeqnarray environment wants it
\if@advanceIEEEeqncolcnt\global\advance\@IEEEeqncolcnt by #1\relax\fi}
@@ -926,6 +963,9 @@ Using a default centering column instead}%
\xdef\@IEEEeqnarrayTHEstrutdepth{\@IEEEeqnarrayTHEstrutdepth}%
\global\@IEEEeqnarrayusemasterstrutfalse%
\fi}
+
+
+
% usage: \IEEEeqnarraystrutsize{height}{depth}[font size commands]
% If called outside the lines of an IEEEeqnarray, sets the height
% and depth of both the master and local struts. If called inside
@@ -1092,11 +1132,15 @@ Using a default centering column instead}%
\baselineskip=0pt\lineskip=0pt\lineskiplimit=0pt\jot=0pt}
+% equation and subequation forms to use to setup hyperref's \@currentHref
+\def\@IEEEtheHrefequation{equation.\theHequation}
+\def\@IEEEtheHrefsubequation{equation.\theHequation\alph{IEEEsubequation}}
+
-\def\IEEEeqnarray{\@IEEEeqnarraystarformfalse\@IEEEeqnarray}
+\def\IEEEeqnarray{\@IEEEeqnumpersisttrue\@IEEEsubeqnumpersistfalse\@IEEEeqnarray}
\def\endIEEEeqnarray{\end@IEEEeqnarray}
-\@namedef{IEEEeqnarray*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarray}
+\@namedef{IEEEeqnarray*}{\@IEEEeqnumpersistfalse\@IEEEsubeqnumpersistfalse\@IEEEeqnarray}
\@namedef{endIEEEeqnarray*}{\end@IEEEeqnarray}
@@ -1107,12 +1151,19 @@ Using a default centering column instead}%
\def\@@IEEEeqnarray[#1]#2{%
% default to showing the equation number or not based on whether or not
% the star form was involked
- \if@IEEEeqnarraystarform\global\@eqnswfalse
+ \if@IEEEeqnumpersist\global\@eqnswtrue
\else% not the star form
- \global\@eqnswtrue
+ \global\@eqnswfalse
\fi% if star form
- \@IEEEissubequationfalse% default to no subequations
- \@IEEElastlinewassubequationfalse% assume last line is not a sub equation
+ % provide a basic hyperref \theHequation if this has not already been setup (hyperref not loaded, or no section counter)
+ \@ifundefined{theHequation}{\def\theHequation{\arabic{equation}}}{}\relax
+ % provide dummy hyperref commands in case hyperref is not loaded
+ \providecommand{\Hy@raisedlink}[1]{}\relax
+ \providecommand{\hyper@anchorstart}[1]{}\relax
+ \providecommand{\hyper@anchorend}{}\relax
+ \providecommand{\@currentHref}{}\relax
+ \@IEEEeqnumpreadvfalse% reset eqnpreadv flag
+ \@IEEEsubeqnumpreadvfalse% reset subeqnpreadv flag
\@IEEEeqnarrayISinnerfalse% not yet within the lines of the halign
\@IEEEeqnarraystrutsize{0pt}{0pt}[\relax]% turn off struts by default
\@IEEEeqnarrayusemasterstruttrue% use master strut till user asks otherwise
@@ -1125,9 +1176,15 @@ Using a default centering column instead}%
\mathsurround\z@\relax% no extra spacing around math
\@advanceIEEEeqncolcnttrue% advance the col counter for each col the user uses,
% used in \IEEEeqnarraymulticol and in the preamble build
- \stepcounter{equation}% advance equation counter before first line
- \setcounter{IEEEsubequation}{0}% no subequation yet
+ %V1.8 Here we preadvance to the next equation number.
+ % If the user later wants a continued subequation, we can roll back.
+ \global\@IEEEsubeqnnumrollback=\c@IEEEsubequation%
+ \stepcounter{equation}\@IEEEeqnumpreadvtrue% advance equation counter before first line
+ \setcounter{IEEEsubequation}{0}% no subequation yet
+ \let\@IEEEcurrentlabelsave\@currentlabel% save current label as we later change it globally
+ \let\@IEEEcurrentHrefsave\@currentHref% save current href label as we later change it globally
\def\@currentlabel{\p@equation\theequation}% redefine the ref label
+ \def\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
\IEEEeqnarraydecl\relax% allow a way for the user to make global overrides
#1\relax% allow user to override defaults
\let\\\@IEEEeqnarraycr% replace newline with one that can put in eqn. numbers
@@ -1155,19 +1212,19 @@ Using a default centering column instead}%
% enter isolation/strut column (or the next column if the user did not use
% every column), record the strut status, complete the columns, do the strut if needed,
-% restore counters to correct values and exit
-\def\end@IEEEeqnarray{\@IEEEeqnarrayglobalizestrutstatus&\@@IEEEeqnarraycr\egroup%
-\if@IEEElastlinewassubequation\global\advance\c@IEEEsubequation\m@ne\fi%
-\global\advance\c@equation\m@ne%
+% restore counters (to backout any equation setup for a next line that was never used)
+% to their correct values and exit
+\def\end@IEEEeqnarray{\@IEEEeqnarrayglobalizestrutstatus&\@@IEEEeqnarraycr\egroup
+\if@IEEEsubeqnumpreadv\global\advance\c@IEEEsubequation\m@ne\fi
+\if@IEEEeqnumpreadv\global\advance\c@equation\m@ne\global\c@IEEEsubequation=\@IEEEsubeqnnumrollback\fi
+\global\let\@currentlabel\@IEEEcurrentlabelsave% restore current label
+\global\let\@currentHref\@IEEEcurrentHrefsave% restore current href label
$$\@ignoretrue}
-% need a way to remember if last line is a subequation
-\newif\if@IEEElastlinewassubequation%
-\@IEEElastlinewassubequationfalse
% IEEEeqnarray uses a modifed \\ instead of the plain \cr to
% end rows. This allows for things like \\*[vskip amount]
-% This "cr" macros are modified versions those for LaTeX2e's eqnarray
+% These "cr" macros are modified versions of those for LaTeX2e's eqnarray
% the {\ifnum0=`} braces must be kept away from the last column to avoid
% altering spacing of its math, so we use & to advance to the next column
% as there is an isolation/strut column after the user's columns
@@ -1192,7 +1249,7 @@ $$\@ignoretrue}
\ifnum\@IEEEeqncolcnt>\@IEEEeqnnumcols\relax
\@IEEEclspkgerror{Too many columns within the IEEEeqnarray\MessageBreak
environment}%
- {Use fewer \string &'s or put more columns in the IEEEeqnarry column\MessageBreak
+ {Use fewer \string &'s or put more columns in the IEEEeqnarray column\MessageBreak
specifications.}\relax%
\else
\loop% add cols if the user did not use them all
@@ -1208,18 +1265,54 @@ $$\@ignoretrue}
\@IEEEeqnarrayinsertstrut% do the strut if needed
\@IEEEeqnarraystrutreset% reset the strut system for next line or IEEEeqnarray
&% and enter the equation number column
- % is this line needs an equation number, display it and advance the
- % (sub)equation counters, record what type this line was
- \if@eqnsw%
- \if@IEEEissubequation\theIEEEsubequationdis\addtocounter{equation}{1}\stepcounter{IEEEsubequation}%
- \global\@IEEElastlinewassubequationtrue%
- \else% display a standard equation number, initialize the IEEEsubequation counter
- \theequationdis\stepcounter{equation}\setcounter{IEEEsubequation}{0}%
- \global\@IEEElastlinewassubequationfalse\fi%
- \fi%
- % reset the eqnsw flag to indicate default preference of the display of equation numbers
- \if@IEEEeqnarraystarform\global\@eqnswfalse\else\global\@eqnswtrue\fi
- \global\@IEEEissubequationfalse% reset the subequation flag
+ \if@eqnsw% only if we display something
+ \Hy@raisedlink{\hyper@anchorstart{\@currentHref}}% start a hyperref anchor
+ \global\@IEEEeqnumpreadvfalse\relax% displaying an equation number means
+ \global\@IEEEsubeqnumpreadvfalse\relax% the equation counters point to valid equations
+ % V1.8 Here we setup the counters, currentlabel and status for what would be the *next*
+ % equation line as would be the case under the current settings. However, there are two problems.
+ % One problem is that there might not ever be a next line. The second problem is that the user
+ % may later alter the meaning of a line with commands such as \IEEEyessubnumber. So, to handle
+ % these cases we have to record the current values of the (sub)equation counters and revert back
+ % to them if the next line is changed or never comes. The \if@IEEEeqnumpreadv, \if@IEEEsubeqnumpreadv
+ % and \@IEEEsubeqnnumrollback stuff tracks this.
+ % The logic to handle all this is surprisingly complex, but a nice feature of the approach here is
+ % that the equation counters and labels remain valid for what the line would be unless a
+ % \IEEEyessubnumber et al. later changes it. So, any hyperref links are always correct.
+ \ifnum\c@IEEEsubequation>0\relax% handle subequation
+ \theIEEEsubequationdis\relax
+ \if@IEEEsubeqnumpersist% setup for default type of next line
+ \stepcounter{IEEEsubequation}\global\@IEEEsubeqnumpreadvtrue\relax
+ \gdef\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefsubequation}% setup hyperref label
+ \else
+ % if no subeqnum persist, go ahead and setup for a new equation number
+ \global\@IEEEsubeqnnumrollback=\c@IEEEsubequation
+ \stepcounter{equation}\global\@IEEEeqnumpreadvtrue\relax
+ \setcounter{IEEEsubequation}{0}\gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+ \fi
+ \else% display a standard equation number
+ \theequationdis\relax
+ \setcounter{IEEEsubequation}{0}\relax% not really needed
+ \if@IEEEsubeqnumpersist% setup for default type of next line
+ % subequations that follow plain equations carry the same equation number e.g, 5, 5a rather than 5, 6a
+ \stepcounter{IEEEsubequation}\global\@IEEEsubeqnumpreadvtrue\relax
+ \gdef\@currentlabel{\p@IEEEsubequation\theIEEEsubequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefsubequation}% setup hyperref label
+ \else
+ % if no subeqnum persist, go ahead and setup for a new equation number
+ \global\@IEEEsubeqnnumrollback=\c@IEEEsubequation
+ \stepcounter{equation}\global\@IEEEeqnumpreadvtrue\relax
+ \setcounter{IEEEsubequation}{0}\gdef\@currentlabel{\p@equation\theequation}\relax
+ \gdef\@currentHref{\@IEEEtheHrefequation}% setup hyperref label
+ \fi
+ \fi%
+ \Hy@raisedlink{\hyper@anchorend}% end hyperref anchor
+ \fi% fi only if we display something
+ % reset the flags to indicate the default preferences of the display of equation numbers
+ \if@IEEEeqnumpersist\global\@eqnswtrue\else\global\@eqnswfalse\fi
+ \if@IEEEsubeqnumpersist\global\@eqnswtrue\fi% ditto for the subequation flag
% reset the number of columns the user actually used
\global\@IEEEeqncolcnt\z@\relax
% the real end of the line
@@ -1243,21 +1336,21 @@ $$\@ignoretrue}
% natural width is the default.
% The * forms do not add \jot line spacing
% usage: \IEEEeqnarraybox[decl][pos][width]{cols}
-\def\IEEEeqnarrayboxm{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
+\def\IEEEeqnarrayboxm{\@IEEEeqnarrayboxnojotfalse\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
\def\endIEEEeqnarrayboxm{\end@IEEEeqnarraybox}
-\@namedef{IEEEeqnarrayboxm*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
+\@namedef{IEEEeqnarrayboxm*}{\@IEEEeqnarrayboxnojottrue\@IEEEeqnarrayboxHBOXSWfalse\@IEEEeqnarraybox}
\@namedef{endIEEEeqnarrayboxm*}{\end@IEEEeqnarraybox}
-\def\IEEEeqnarrayboxt{\@IEEEeqnarraystarformfalse\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
+\def\IEEEeqnarrayboxt{\@IEEEeqnarrayboxnojotfalse\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
\def\endIEEEeqnarrayboxt{\end@IEEEeqnarraybox}
-\@namedef{IEEEeqnarrayboxt*}{\@IEEEeqnarraystarformtrue\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
+\@namedef{IEEEeqnarrayboxt*}{\@IEEEeqnarrayboxnojottrue\@IEEEeqnarrayboxHBOXSWtrue\@IEEEeqnarraybox}
\@namedef{endIEEEeqnarrayboxt*}{\end@IEEEeqnarraybox}
-\def\IEEEeqnarraybox{\@IEEEeqnarraystarformfalse\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
+\def\IEEEeqnarraybox{\@IEEEeqnarrayboxnojotfalse\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
\@IEEEeqnarraybox}
\def\endIEEEeqnarraybox{\end@IEEEeqnarraybox}
-\@namedef{IEEEeqnarraybox*}{\@IEEEeqnarraystarformtrue\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
+\@namedef{IEEEeqnarraybox*}{\@IEEEeqnarrayboxnojottrue\ifmmode\@IEEEeqnarrayboxHBOXSWfalse\else\@IEEEeqnarrayboxHBOXSWtrue\fi%
\@IEEEeqnarraybox}
\@namedef{endIEEEeqnarraybox*}{\end@IEEEeqnarraybox}
@@ -1355,7 +1448,7 @@ $$\@ignoretrue}
% IEEEeqnarraybox does not automatically increase line spacing by \jot
\def\@IEEEeqnarrayboxXCR[#1]{\ifnum0=`{\fi}%
-\cr\noalign{\if@IEEEeqnarraystarform\else\vskip\jot\fi\vskip#1\relax}}
+\cr\noalign{\if@IEEEeqnarrayboxnojot\else\vskip\jot\fi\vskip#1\relax}}
@@ -1630,7 +1723,7 @@ between column types.}%
%%
-%% END OF IEEEeqnarry DEFINITIONS
+%% END OF IEEEeqnarray DEFINITIONS
%%
@@ -1811,8 +1904,34 @@ between column types.}%
\fi\endgroup}
+% \IEEEauthorrefmark
+\DeclareRobustCommand*{\IEEEauthorrefmark}[1]{\raisebox{0pt}[0pt][0pt]{\textsuperscript{\footnotesize\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or%
+ \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger%
+ \or \ddagger\ddagger \else\textsuperscript{\expandafter\romannumeral#1}\fi}}}}
+
+
+% V1.3 IEEEQED and IEEEproof
+\def\IEEEproofname{Proof}
+\def\IEEEQEDclosed{\mbox{\rule[0pt]{1.3ex}{1.3ex}}} % for a filled box
+\def\IEEEQEDopen{{\setlength{\fboxsep}{0pt}\setlength{\fboxrule}{0.2pt}\fbox{\rule[0pt]{0pt}{1.3ex}\rule[0pt]{1.3ex}{0pt}}}}
+\def\IEEEQED{\IEEEQEDclosed} % default to closed
+%V1.8 flag to indicate if QED symbol is to be shown
+\newif\if@IEEEQEDshow \@IEEEQEDshowtrue
+\def\IEEEproofindentspace{2\parindent}% V1.8 allow user to change indentation amount if desired
+% v1.7 name change to avoid namespace collision with amsthm. Also add support
+% for an optional argument.
+\def\IEEEproof{\@ifnextchar[{\@IEEEproof}{\@IEEEproof[\IEEEproofname]}}
+\def\@IEEEproof[#1]{\@IEEEQEDshowtrue\par\noindent\hspace{\IEEEproofindentspace}{\itshape #1: }}
+\def\endIEEEproof{\if@IEEEQEDshow\hspace*{\fill}\nobreakspace\IEEEQED\fi\par}
+% qedhere for equation environments, similar to AMS \qedhere
+\def\IEEEQEDhereeqn{\global\@IEEEQEDshowfalse\eqno\let\eqno\relax\let\leqno\relax
+ \let\veqno\relax\hbox{\IEEEQED}}
+% IEEE style qedhere for IEEEeqnarray and other environments
+\def\IEEEQEDhere{\global\@IEEEQEDshowfalse\IEEEQED}
+% command to disable QED at end of IEEEproof
+\def\IEEEQEDoff{\global\@IEEEQEDshowfalse}
% Provide support for the control entries of IEEEtran.bst V1.00 and later.
@@ -1836,20 +1955,20 @@ between column types.}%
% hook to allow easy disabling of all legacy warnings
-\def\@IEEElegacywarn#1#2{\typeout{** ATTENTION: \@IEEEbackslash #1 is depreciated (line \the\inputlineno).
+\def\@IEEElegacywarn#1#2{\typeout{** ATTENTION: \@IEEEbackslash #1 is deprecated (line \the\inputlineno).
Use \@IEEEbackslash #2 instead.}}
% provide for legacy commands
\def\PARstart{\@IEEElegacywarn{PARstart}{IEEEPARstart}\IEEEPARstart}
-% provide for legacy IED commands/lengths when possible
-\let\labelindent\IEEElabelindent
-\def\calcleftmargin{\@IEEElegacywarn{calcleftmargin}{IEEEcalcleftmargin}\IEEEcalcleftmargin}
-\def\setlabelwidth{\@IEEElegacywarn{setlabelwidth}{IEEEsetlabelwidth}\IEEEsetlabelwidth}
-\def\usemathlabelsep{\@IEEElegacywarn{usemathlabelsep}{IEEEusemathlabelsep}\IEEEusemathlabelsep}
-\def\iedlabeljustifyc{\@IEEElegacywarn{iedlabeljustifyc}{IEEEiedlabeljustifyc}\IEEEiedlabeljustifyc}
-\def\iedlabeljustifyl{\@IEEElegacywarn{iedlabeljustifyl}{IEEEiedlabeljustifyl}\IEEEiedlabeljustifyl}
-\def\iedlabeljustifyr{\@IEEElegacywarn{iedlabeljustifyr}{IEEEiedlabeljustifyr}\IEEEiedlabeljustifyr}
+% V1.3 no longer support legacy IED list commands
+% \let\labelindent\IEEElabelindent
+% \def\calcleftmargin{\@IEEElegacywarn{calcleftmargin}{IEEEcalcleftmargin}\IEEEcalcleftmargin}
+% \def\setlabelwidth{\@IEEElegacywarn{setlabelwidth}{IEEEsetlabelwidth}\IEEEsetlabelwidth}
+% \def\usemathlabelsep{\@IEEElegacywarn{usemathlabelsep}{IEEEusemathlabelsep}\IEEEusemathlabelsep}
+% \def\iedlabeljustifyc{\@IEEElegacywarn{iedlabeljustifyc}{IEEEiedlabeljustifyc}\IEEEiedlabeljustifyc}
+% \def\iedlabeljustifyl{\@IEEElegacywarn{iedlabeljustifyl}{IEEEiedlabeljustifyl}\IEEEiedlabeljustifyl}
+% \def\iedlabeljustifyr{\@IEEElegacywarn{iedlabeljustifyr}{IEEEiedlabeljustifyr}\IEEEiedlabeljustifyr}
\endinput