Sie sind hier

MEMSproceedings.tex: Präambel für IEEE MEMS_SamplePaper.doc

Bild von mada

Im Anhang mal ein Nachbau der Vorgaben der IEEE für MEMS Proceedings:
http://www.mems2009.org/authors/MEMS2009_SamplePaper.doc

In der Verwendung mit

\documentclass[twocolumn,a4paper,10pt,english]{scrartcl}
\input{MEMSproceedings}

werden so alle Kriterien erfüllt.

Kommentare

Bild von Markus Kohm

Einfach die \usepackage durch \RequirePackage ersetzen, ganz am Anfang noch ein \ProvidesPackage und irgendwo ein \ProcessOptions\relax dazu, außerdem \makeatletter und \makeatother entfernen, Endung von tex nach sty ändern und schon kannst Du das per \usepackage statt \input laden. Wäre doch sicher ganz nett.

Bild von mada

Auf Anregung von Markus Kohm hier die Formatierungsvorgaben als Paket mit ein paar Erweiterungen:

{scrartcl}
%% \usepackage{MEMSproceedings}
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.2 of this license or (at your option) any later
%% version. The latest version of this license is in:
%% 
%% http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of
%% LaTeX version 1999/12/01 or later.
%% 
%%-------------------------------------------------------------------
 
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{MEMSproceedings}
   [2008/10/18 v1.0 options to satisfy IEEE MEMS proceedings requirements -- created and supported by D.Mader mader@imtek.de]
\ProcessOptions\relax
 
%% balanced last page for twocolumn class option ==============================
% \RequirePackage{flushend} %has minor bugs
\RequirePackage{balance} %requires to be turned on with \balance!
%%-----------------------------------------------------------------------------
 
%% margins and columnspacing ==================================================
\RequirePackage[margin=0.75in,%
%           left=0.75in,right=0.75in,top=0.75in,bottom=0.75in%
	    columnsep=0.25in%
            ]{geometry}
%%-----------------------------------------------------------------------------
 
%% Times&Co ===================================================================
\RequirePackage{mathptmx}
\RequirePackage[scaled=.92]{helvet}
\RequirePackage{courier}
%%-----------------------------------------------------------------------------
 
%% no bookmarks or links allowed ==============================================
\RequirePackage[draft]{hyperref}
%%-----------------------------------------------------------------------------
 
%% no header or footer of any kind ============================================
\renewcommand*{\titlepagestyle}{empty}
\pagestyle{empty}
%%-----------------------------------------------------------------------------
 
%% no vertical justification ==================================================
\raggedbottom
%%-----------------------------------------------------------------------------
 
%% easier float positioning ===================================================
\renewcommand{\textfraction}{0.05}
\renewcommand{\topfraction}{0.95}
\renewcommand{\bottomfraction}{0.95}
\renewcommand{\floatpagefraction}{0.35}
%%-----------------------------------------------------------------------------
 
%% no club or widow lines =====================================================
\clubpenalty10000
\widowpenalty10000
%%-----------------------------------------------------------------------------
 
%% title, caption & section layout according to IEEE ==========================
%% (let's make it really ugly now ...)
%%-----------------------------------------------------------------------------
%% title layout:
\renewcommand*{\@maketitle}{%
\centering
    \Large\normalfont\normalcolor\bfseries\MakeUppercase{\@title}\par
    \large\normalfont\normalcolor \@author
    \vspace*{\baselineskip}
    \thispagestyle{empty}
}
%%-----------------------------------------------------------------------------
%% caption layout:
\addtokomafont{caption}{\itshape}
\addtokomafont{captionlabel}{\itshape}
%%-----------------------------------------------------------------------------
%% paragraph indent:
\setlength{\parindent}{0.25in}
%%-----------------------------------------------------------------------------
%% section & subsection paragraph style:
%% vertical spacing & fonts (from scrartcl.sty from KOMA-script)
\renewcommand*\section{\@startsection{section}{1}{\z@}%
{-1ex \@plus -1ex \@minus -.2ex}%
{0.25ex \@plus.2ex}%
{\raggedsection\large\bfseries\scshape\nobreak}%
}
\renewcommand*\subsection{\@startsection{subsection}{2}{\z@}%
{-1ex\@plus -1ex \@minus -.2ex}%
{0.25ex \@plus .2ex}%
{\raggedsection\normalsize\bfseries\nobreak}%
}
%% additional requirement (and even worse):
%% section font all capitals. Solution (c) M.Kohm (http://www.komascript.de/node/946)
\newcommand*{\Section}{}
\let\Section\section
\renewcommand*{\section}{%
  \@ifstar {\star@section}{\@dblarg\nonstar@section}%
}
\newcommand*{\star@section}[1]{%
%   \Section*{\normalfont\large\bfseries\MakeUppercase{#1}}%
  \Section*{\MakeUppercase{#1}}%
}
\newcommand*{\nonstar@section}[2][]{%
%   \Section[{#1}]{\normalfont\large\bfseries\MakeUppercase{#2}}%
  \Section[{#1}]{\MakeUppercase{#2}}%
}
%% same for subsection:
% \let\Subsection\subsection
% \renewcommand*{\subsection}{%
%   \@ifstar {\star@subsection}{\@dblarg\nonstar@subsection}%
% }
% \newcommand*{\star@subsection}[1]{%
% %   \Subsection*{\normalfont\normalsize\bfseries\MakeUppercase{#1}}%
%   \Subsection*{\MakeUppercase{#1}}%
% }
% \newcommand*{\nonstar@subsection}[2][]{%
% %   \Subsection[{#1}]{\normalfont\normalsize\bfseries\MakeUppercase{#2}}%
%   \Subsection[{#1}]{\MakeUppercase{#2}}%
% }
%%-----------------------------------------------------------------------------
]
Comments for "MEMSproceedings.tex: Präambel für IEEE MEMS_SamplePaper.doc" abonnieren