⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ieeetran.cls

📁 ieee投稿latex模板
💻 CLS
📖 第 1 页 / 共 5 页
字号:
\DeclareOption{romanappendices}{\CLASSOPTIONromanappendicestrue}% default to US letter paper, 10pt, twocolumn, one sided, final, journal\ExecuteOptions{letterpaper,10pt,twocolumn,oneside,final,journal}% overrride these defaults per user requests\ProcessOptions% Computer Society conditional execution command\long\def\@IEEEcompsoconly#1{\relax\ifCLASSOPTIONcompsoc\relax#1\relax\fi\relax}% inverse\long\def\@IEEEnotcompsoconly#1{\relax\ifCLASSOPTIONcompsoc\else\relax#1\relax\fi\relax}% compsoc conference\long\def\@IEEEcompsocconfonly#1{\relax\ifCLASSOPTIONcompsoc\ifCLASSOPTIONconference\relax#1\relax\fi\fi\relax}% compsoc not conference\long\def\@IEEEcompsocnotconfonly#1{\relax\ifCLASSOPTIONcompsoc\ifCLASSOPTIONconference\else\relax#1\relax\fi\fi\relax}% IEEE uses Times Roman font, so we'll default to Times.% These three commands make up the entire times.sty package.\renewcommand{\sfdefault}{phv}\renewcommand{\rmdefault}{ptm}\renewcommand{\ttdefault}{pcr}\@IEEEcompsoconly{\typeout{-- Using IEEE Computer Society mode.}}% V1.7 compsoc nonconference papers, use Palatino/Palladio as the main text font,% not Times Roman.\@IEEEcompsocnotconfonly{\renewcommand{\rmdefault}{ppl}}% enable Times/Palatino main text font\normalfont\selectfont% V1.7 conference notice message hook\def\@IEEEconsolenoticeconference{\typeout{}%\typeout{** Conference Paper **}%\typeout{Before submitting the final camera ready copy, remember to:}%\typeout{}%\typeout{ 1. Manually equalize the lengths of two columns on the last page}%\typeout{ of your paper;}%\typeout{}%\typeout{ 2. Ensure that any PostScript and/or PDF output post-processing}%\typeout{ uses only Type 1 fonts and that every step in the generation}%\typeout{ process uses the appropriate paper size.}%\typeout{}}% we can send console reminder messages to the user here\AtEndDocument{\ifCLASSOPTIONconference\@IEEEconsolenoticeconference\fi}% warn about the use of single column other than for draft mode\ifCLASSOPTIONtwocolumn\else%  \ifCLASSOPTIONdraftcls\else%   \typeout{** ATTENTION: Single column mode is not typically used with IEEE publications.}%  \fi%\fi% V1.7 improved paper size setting code.% Set pdfpage and dvips paper sizes. Conditional tests are similar to that% of ifpdf.sty. Retain within {} to ensure tested macros are never altered,% even if only effect is to set them to \relax.% if \pdfoutput is undefined or equal to relax, output a dvips special{\@ifundefined{pdfoutput}{\AtBeginDvi{\special{papersize=\CLASSINFOpaperwidth,\CLASSINFOpaperheight}}}{%% pdfoutput is defined and not equal to \relax% check for pdfpageheight existence just in case someone sets pdfoutput% under non-pdflatex. If exists, set them regardless of value of \pdfoutput.\@ifundefined{pdfpageheight}{\relax}{\global\pdfpagewidth\paperwidth\global\pdfpageheight\paperheight}%% if using \pdfoutput=0 under pdflatex, send dvips papersize special\ifcase\pdfoutput\AtBeginDvi{\special{papersize=\CLASSINFOpaperwidth,\CLASSINFOpaperheight}}%\else% we are using pdf output, set CLASSINFOpdf flag\global\CLASSINFOpdftrue\fi}}% let the user know the selected papersize\typeout{-- Using \CLASSINFOpaperwidth\space x \CLASSINFOpaperheight\space(\CLASSOPTIONpaper)\space paper.}\ifCLASSINFOpdf\typeout{-- Using PDF output.}\else\typeout{-- Using DVI output.}\fi% The idea hinted here is for LaTeX to generate markleft{} and markright{}% automatically for you after you enter \author{}, \journal{},% \journaldate{}, journalvol{}, \journalnum{}, etc.% However, there may be some backward compatibility issues here as% well as some special applications for IEEEtran.cls and special issues% that may require the flexible \markleft{}, \markright{} and/or \markboth{}.% We'll leave this as an open future suggestion.%\newcommand{\journal}[1]{\def\@journal{#1}}%\def\@journal{}% pointsize values% used with ifx to determine the document's normal size\def\@IEEEptsizenine{9}\def\@IEEEptsizeten{10}\def\@IEEEptsizeeleven{11}\def\@IEEEptsizetwelve{12}% FONT DEFINITIONS (No sizexx.clo file needed) % V1.6 revised font sizes, displayskip values and%      revised normalsize baselineskip to reduce underfull vbox problems%      on the 58pc = 696pt = 9.5in text height we want%      normalsize     #lines/column  baselineskip (aka leading)%             9pt     63             11.0476pt (truncated down)%            10pt     58             12pt      (exact)%            11pt     52             13.3846pt (truncated down)%            12pt     50             13.92pt   (exact)%% we need to store the nominal baselineskip for the given font size% in case baselinestretch ever changes.% this is a dimen, so it will not hold stretch or shrink\newdimen\@IEEEnormalsizeunitybaselineskip\@IEEEnormalsizeunitybaselineskip\baselineskip\ifx\CLASSOPTIONpt\@IEEEptsizenine\typeout{-- This is a 9 point document.}\def\normalsize{\@setfontsize{\normalsize}{9}{11.0476pt}}%\setlength{\@IEEEnormalsizeunitybaselineskip}{11.0476pt}%\normalsize\abovedisplayskip 1.5ex plus3pt minus1pt%\belowdisplayskip \abovedisplayskip%\abovedisplayshortskip 0pt plus3pt%\belowdisplayshortskip 1.5ex plus3pt minus1pt\def\small{\@setfontsize{\small}{8.5}{10pt}}\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}}\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}}\def\tiny{\@setfontsize{\tiny}{5}{6pt}}% sublargesize is the same as large - 10pt\def\sublargesize{\@setfontsize{\sublargesize}{10}{12pt}}\def\large{\@setfontsize{\large}{10}{12pt}}\def\Large{\@setfontsize{\Large}{12}{14pt}}\def\LARGE{\@setfontsize{\LARGE}{14}{17pt}}\def\huge{\@setfontsize{\huge}{17}{20pt}}\def\Huge{\@setfontsize{\Huge}{20}{24pt}}\fi% Check if we have selected 10 points\ifx\CLASSOPTIONpt\@IEEEptsizeten\typeout{-- This is a 10 point document.}\def\normalsize{\@setfontsize{\normalsize}{10}{12.00pt}}%\setlength{\@IEEEnormalsizeunitybaselineskip}{12pt}%\normalsize\abovedisplayskip 1.5ex plus4pt minus2pt%\belowdisplayskip \abovedisplayskip%\abovedisplayshortskip 0pt plus4pt%\belowdisplayshortskip 1.5ex plus4pt minus2pt\def\small{\@setfontsize{\small}{9}{10pt}}\def\footnotesize{\@setfontsize{\footnotesize}{8}{9pt}}\def\scriptsize{\@setfontsize{\scriptsize}{7}{8pt}}\def\tiny{\@setfontsize{\tiny}{5}{6pt}}% sublargesize is a tad smaller than large - 11pt\def\sublargesize{\@setfontsize{\sublargesize}{11}{13.4pt}}\def\large{\@setfontsize{\large}{12}{14pt}}\def\Large{\@setfontsize{\Large}{14}{17pt}}\def\LARGE{\@setfontsize{\LARGE}{17}{20pt}}\def\huge{\@setfontsize{\huge}{20}{24pt}}\def\Huge{\@setfontsize{\Huge}{24}{28pt}}\fi% Check if we have selected 11 points\ifx\CLASSOPTIONpt\@IEEEptsizeeleven\typeout{-- This is an 11 point document.}\def\normalsize{\@setfontsize{\normalsize}{11}{13.3846pt}}%\setlength{\@IEEEnormalsizeunitybaselineskip}{13.3846pt}%\normalsize\abovedisplayskip 1.5ex plus5pt minus3pt%\belowdisplayskip \abovedisplayskip%\abovedisplayshortskip 0pt plus5pt%\belowdisplayshortskip 1.5ex plus5pt minus3pt\def\small{\@setfontsize{\small}{10}{12pt}}\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}}\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}}\def\tiny{\@setfontsize{\tiny}{6}{7pt}}% sublargesize is the same as large - 12pt\def\sublargesize{\@setfontsize{\sublargesize}{12}{14pt}}\def\large{\@setfontsize{\large}{12}{14pt}}\def\Large{\@setfontsize{\Large}{14}{17pt}}\def\LARGE{\@setfontsize{\LARGE}{17}{20pt}}\def\huge{\@setfontsize{\huge}{20}{24pt}}\def\Huge{\@setfontsize{\Huge}{24}{28pt}}\fi% Check if we have selected 12 points\ifx\CLASSOPTIONpt\@IEEEptsizetwelve\typeout{-- This is a 12 point document.}\def\normalsize{\@setfontsize{\normalsize}{12}{13.92pt}}%\setlength{\@IEEEnormalsizeunitybaselineskip}{13.92pt}%\normalsize\abovedisplayskip 1.5ex plus6pt minus4pt%\belowdisplayskip \abovedisplayskip%\abovedisplayshortskip 0pt plus6pt%\belowdisplayshortskip 1.5ex plus6pt minus4pt\def\small{\@setfontsize{\small}{10}{12pt}}\def\footnotesize{\@setfontsize{\footnotesize}{9}{10.5pt}}\def\scriptsize{\@setfontsize{\scriptsize}{8}{9pt}}\def\tiny{\@setfontsize{\tiny}{6}{7pt}}% sublargesize is the same as large - 14pt\def\sublargesize{\@setfontsize{\sublargesize}{14}{17pt}}\def\large{\@setfontsize{\large}{14}{17pt}}\def\Large{\@setfontsize{\Large}{17}{20pt}}\def\LARGE{\@setfontsize{\LARGE}{20}{24pt}}\def\huge{\@setfontsize{\huge}{22}{26pt}}\def\Huge{\@setfontsize{\Huge}{24}{28pt}}\fi% V1.6 The Computer Modern Fonts will issue a substitution warning for% 24pt titles (24.88pt is used instead) increase the substitution% tolerance to turn off this warning\def\fontsubfuzz{.9pt}% However, the default (and correct) Times font will scale exactly as needed.% warn the user in case they forget to use the 9pt option with% technote\ifCLASSOPTIONtechnote% \ifx\CLASSOPTIONpt\@IEEEptsizenine\else%  \typeout{** ATTENTION: Technotes are normally 9pt documents.}% \fi%\fi% V1.7% Improved \textunderscore to provide a much better fake _ when used with% OT1 encoding. Under OT1, detect use of pcr or cmtt \ttfamily and use% available true _ glyph for those two typewriter fonts.\def\@IEEEstringptm{ptm} % Times Roman family\def\@IEEEstringppl{ppl} % Palatino Roman family\def\@IEEEstringphv{phv} % Helvetica Sans Serif family\def\@IEEEstringpcr{pcr} % Courier typewriter family\def\@IEEEstringcmtt{cmtt} % Computer Modern typewriter family\DeclareTextCommandDefault{\textunderscore}{\leavevmode\ifx\f@family\@IEEEstringpcr\string_\else\ifx\f@family\@IEEEstringcmtt\string_\else\ifx\f@family\@IEEEstringptm\kern 0em\vbox{\hrule\@width 0.5em\@height 0.5pt\kern -0.3ex}\else\ifx\f@family\@IEEEstringppl\kern 0em\vbox{\hrule\@width 0.5em\@height 0.5pt\kern -0.3ex}\else\ifx\f@family\@IEEEstringphv\kern -0.03em\vbox{\hrule\@width 0.62em\@height 0.52pt\kern -0.33ex}\kern -0.03em\else\kern 0.09em\vbox{\hrule\@width 0.6em\@height 0.44pt\kern -0.63pt\kern -0.42ex}\kern 0.09em\fi\fi\fi\fi\fi\relax}% set the default \baselinestretch\def\baselinestretch{1}\ifCLASSOPTIONdraftcls  \def\baselinestretch{1.5}% default baselinestretch for draft modes\fi % process CLASSINPUT baselinestretch\ifx\CLASSINPUTbaselinestretch\@IEEEundefined\else  \edef\baselinestretch{\CLASSINPUTbaselinestretch} % user CLASSINPUT override  \typeout{** ATTENTION: Overriding \string\baselinestretch\space to           \baselinestretch\space via \string\CLASSINPUT.}\fi\normalsize % make \baselinestretch take affect% store the normalsize baselineskip\newdimen\CLASSINFOnormalsizebaselineskip\CLASSINFOnormalsizebaselineskip=\baselineskip\relax% and the normalsize unity (baselinestretch=1) baselineskip% we could save a register by giving the user access to% \@IEEEnormalsizeunitybaselineskip. However, let's protect% its read only internal status\newdimen\CLASSINFOnormalsizeunitybaselineskip\CLASSINFOnormalsizeunitybaselineskip=\@IEEEnormalsizeunitybaselineskip\relax% store the nominal value of jot\newdimen\IEEEnormaljot\IEEEnormaljot=0.25\baselineskip\relax% set \jot\jot=\IEEEnormaljot\relax% V1.6, we are now going to fine tune the interword spacing% The default interword glue for Times under TeX appears to use a% nominal interword spacing of 25% (relative to the font size, i.e., 1em)% a maximum of 40% and a minimum of 19%.% For example, 10pt text uses an interword glue of:% % 2.5pt plus 1.49998pt minus 0.59998pt% % However, IEEE allows for a more generous range which reduces the need% for hyphenation, especially for two column text. Furthermore, IEEE% tends to use a little bit more nominal space between the words.% IEEE's interword spacing percentages appear to be:% 35% nominal% 23% minimum% 50% maximum% (They may even be using a tad more for the largest fonts such as 24pt.)% % for bold text, IEEE increases the spacing a little more:% 37.5% nominal% 23% minimum% 55% maximum% here are the interword spacing ratios we'll use% for medium (normal weight)\def\@IEEEinterspaceratioM{0.35}\def\@IEEEinterspaceMINratioM{0.23}\def\@IEEEinterspaceMAXratioM{0.50}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -