diff options
author | Karl Berry <karl@freefriends.org> | 2014-09-18 22:56:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-09-18 22:56:32 +0000 |
commit | 882c8b0c4af74429ab57ea5aa2c620c76db1bce4 (patch) | |
tree | 3579877dd4998b9901fd24a742d2ee434c99bcfc /Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex | |
parent | ef7bdbe006ddc82d3fdaadc3b96f366063a88901 (diff) |
IEEEtran (18sep14)
git-svn-id: svn://tug.org/texlive/trunk@35194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex | 142 |
1 files changed, 67 insertions, 75 deletions
diff --git a/Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex b/Master/texmf-dist/doc/latex/IEEEtran/bare_adv.tex index 7609665fcc6..9ac16473f99 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.4 -%% 2012/12/27 +%% V1.4a +%% 2014/09/17 %% 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.8 or later) with an IEEE Computer +%% (requires IEEEtran.cls version 1.8a or later) with an IEEE Computer %% Society journal paper. %% %% Support sites: @@ -41,19 +41,19 @@ %% ** 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 +%% bare_conf.tex, bare_jrnl.tex, bare_conf_compsoc.tex, +%% bare_jrnl_compsoc.tex, bare_jrnl_transmag.tex %%************************************************************************* + % *** 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. *** +% *** with production work. IEEE's font choices and paper sizes can *** +% *** trigger bugs that do not appear when using other class files. *** *** % The testflow support page is at: % http://www.michaelshell.org/tex/testflow/ - % IEEEtran V1.7 and later provides for these CLASSINPUT macros to allow the % user to reprogram some IEEEtran.cls defaults if needed. These settings % override the internal defaults of IEEEtran.cls regardless of which class @@ -68,19 +68,9 @@ -% 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[12pt,journal,compsoc]{IEEEtran} -% The Computer Society requires 12pt. +\documentclass[10pt,journal,compsoc]{IEEEtran} % If IEEEtran.cls has not been installed into the LaTeX system files, % manually specify the path to it like: % \documentclass[10pt,journal,compsoc]{../sty/IEEEtran} @@ -128,10 +118,10 @@ \ifCLASSOPTIONcompsoc % IEEE Computer Society needs nocompress option % requires cite.sty v4.0 or later (November 2003) - % \usepackage[nocompress]{cite} + \usepackage[nocompress]{cite} \else % normal IEEE - % \usepackage{cite} + \usepackage{cite} \fi % cite.sty was written by Donald Arseneau % V1.6 and later of IEEEtran pre-defines the format of the cite.sty package @@ -143,8 +133,7 @@ % 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. +% version 5.0 (2009-03-20) and later if using hyperref.sty. % 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. @@ -156,9 +145,6 @@ % (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 -% IEEEtran.cls V1.7 and later. @@ -313,7 +299,7 @@ % *** SUBFIGURE PACKAGES *** %\ifCLASSOPTIONcompsoc -% \usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig} +% \usepackage[caption=false,font=footnotesize,labelfont=sf,textfont=sf]{subfig} %\else % \usepackage[caption=false,font=footnotesize]{subfig} %\fi @@ -326,10 +312,10 @@ % 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. +% Note that the Computer Society format requires a sans serif font rather +% than the serif 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/ @@ -543,7 +529,10 @@ pdfkeywords={Computer Society, IEEEtran, journal, LaTeX, paper, \begin{document} % % paper title -% can use linebreaks \\ within to get better formatting as desired +% Titles are generally capitalized except for words such as a, an, and, as, +% at, but, by, for, in, nor, of, on, or, the, to and up, which are usually +% not capitalized unless they are the first or last word of the title. +% Linebreaks \\ can be used 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} % @@ -579,7 +568,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 December 27, 2012.}} +\thanks{Manuscript received April 19, 2005; revised September 17, 2014.}} % note the % following the last \IEEEmembership and also \thanks - % these prevent an unwanted space from occurring between the last author name @@ -602,7 +591,7 @@ E-mail: see http://www.michaelshell.org/contact.html % The paper headers -\markboth{Journal of \LaTeX\ Class Files,~Vol.~11, No.~4, December~2012}% +\markboth{Journal of \LaTeX\ Class Files,~Vol.~13, No.~9, September~2014}% {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. @@ -620,9 +609,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~2012 IEEE} +%\IEEEpubid{0000--0000/00\$00.00~\copyright~2014 IEEE} % or like this to get the Computer Society new two part style. -%\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2012 IEEE}% +%\IEEEpubid{\makebox[\columnwidth]{\hfill 0000--0000/00/\$00.00~\copyright~2014 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 journal @@ -678,26 +667,20 @@ Computer Society, IEEEtran, journal, \LaTeX, paper, template. \IEEEpeerreviewmaketitle - +\ifCLASSOPTIONcompsoc +\IEEEraisesectionheading{\section{Introduction}\label{sec:introduction}} +\else \section{Introduction} -% Computer Society journal papers do something a tad strange with the very -% first section heading (almost always called "Introduction"). They place it -% ABOVE the main text! IEEEtran.cls currently does not do this for you. -% However, You can achieve this effect by making LaTeX jump through some -% hoops via something like: -% -%\ifCLASSOPTIONcompsoc -% \noindent\raisebox{2\baselineskip}[0pt][0pt]% -% {\parbox{\columnwidth}{\section{Introduction}\label{sec:introduction}% -% \global\everypar=\everypar}}% -% \vspace{-1\baselineskip}\vspace{-\parskip}\par -%\else -% \section{Introduction}\label{sec:introduction}\par -%\fi -% -% Admittedly, this is a hack and may well be fragile, but seems to do the -% trick for me. Note the need to keep any \label that may be used right -% after \section in the above as the hack puts \section within a raised box. +\label{sec:introduction} +\fi +% Computer Society journal (but not conference!) papers do something unusual +% with the very first section heading (almost always called "Introduction"). +% They place it ABOVE the main text! IEEEtran.cls does not automatically do +% this for you, but you can achieve this effect with the provided +% \IEEEraisesectionheading{} command. Note the need to keep any \label that +% is to refer to the section immediately after \section in the above as +% \IEEEraisesectionheading puts \section within a raised box. + @@ -718,14 +701,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.8 and later. +IEEEtran.cls version 1.8a 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 +\hfill September 17, 2014 \subsection{Subsection Heading Here} Subsection text here. @@ -756,7 +739,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 for the network.} %\label{fig_sim} %\end{figure} @@ -780,18 +763,26 @@ Subsubsection text here. %\hfil %\subfloat[Case II]{\includegraphics[width=2.5in]{box}% %\label{fig_second_case}} -%\caption{Simulation results.} +%\caption{Simulation results for the network.} %\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. +% Be aware that for subfig.sty to generate the (a), (b), etc., subfigure +% labels, the optional argument to \subfloat must be present. If a +% subcaption is not desired, just leave its contents blank, +% e.g., \subfloat[]. + + +% An example of a floating table. Note that, for IEEE style tables, the +% \caption command should come BEFORE the table and, given that table +% captions serve much like titles, are usually capitalized except for words +% such as a, an, and, as, at, but, by, for, in, nor, of, on, or, the, to +% and up, which are usually not capitalized unless they are the first or +% last word of the caption. 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] @@ -814,15 +805,16 @@ Subsubsection text here. %\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. -% However, Computer Society journals sometimes do use bottom floats - bear -% this in mind when choosing appropriate optional arguments for the -% figure/table environments. -% Note that, LaTeX2e, unlike IEEE journals, places footnotes above bottom -% floats. This can be corrected via the \fnbelowfloat command of the -% stfloats package. +% Note that the 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 typically not used, but it +% is allowed and encouraged for Computer Society conferences (but +% not Computer Society journals). Most IEEE journals/conferences use +% top floats exclusively. +% Note that, LaTeX2e, unlike IEEE journals/conferences, places +% footnotes above bottom floats. This can be corrected via the +% \fnbelowfloat command of the stfloats package. + @@ -858,7 +850,7 @@ Appendix one text goes here. Appendix two text goes here. -% use section* for acknowledgement +% use section* for acknowledgment \ifCLASSOPTIONcompsoc % The Computer Society usually uses the plural form \section*{Acknowledgments} |