ewic 스타일 클래스에서 페이지 번호를 제거하는 데 문제가 있습니다.

ewic 스타일 클래스에서 페이지 번호를 제거하는 데 문제가 있습니다.

tex studio에 eWIC 클래스를 사용하고 있습니다. 컴퓨팅(eWiC) 형식의 전자 워크숍. 제공된 ewic 클래스에서 페이지 번호를 어떻게 제거합니까?

답변1

그만큼ewic.tex 은 다음에서 샘플 파일로 가져옵니다.http://ewic.bcs.org/content/conMediaFile/3029, 수업은 같은 페이지에서 확인하실 수 있습니다.

페이지 번호는 일반적으로 페이지 스타일을 통해 문서에 입력됩니다. 그 중 두 가지가 있습니다.

  • mytitle제목 페이지의 경우
  • myewic문서의 나머지 부분에 대해서는.

ewic.tex페이지 스타일의 정의를 관련 매크로 에 복사 하고 수정하여 거기에서 서식 지정 지침을 \@oddfoot제거했습니다 \thepage. 는 from \@evenfoot이므로 이것도 변경됩니다 .\let\@oddfoot\@evenfoot

저작권 문제는 여기서 주의해주세요!

\it파일 에서 와 같이 더 이상 사용되지 않는 명령이 많이 있습니다 .cls. 저자(들)는 수업을 수정해야 합니다!

% ewic.tex for classfile V2.04, 6 July 2011

\documentclass{ewic}
%\documentclass[cm]{ewic}

% http://ewic.bcs.org/category/15364


\makeatletter
\def\ps@mytitle{\let\@mkboth\@gobbletwo%
\def\@oddfoot{\parbox[c]{\textwidth}{\small{\itshape%
\copyright\ The Authors.\ Published by BISL.}\phantom{\small\itshape \copyright\ The Authors.\ Published by BISL.}\\
\myfooter\mbox\hfill}}
% Original line
%\copyright\ The Authors.\ Published by BISL.}\hfill\thepage\hfill\phantom{\small\itshape \copyright\ The Authors.\ Published by BISL.}\\
%\myfooter\mbox\hfill}}
\let\@evenfoot\@oddfoot
\def\@oddhead{}
\let\@evenhead\@oddhead%
}

\def\ps@myewic{%
\let\@mkboth\@gobbletwo%
\def\@oddfoot{}
% Original code
%\def\@oddfoot{\small\mbox{}\hfill\thepage\hfill\mbox{}}
\let\@evenfoot\@oddfoot
\def\@evenhead{\parbox[c]{\textwidth}{\centering\small\itshape \rightmark \\\leftmark}}%
\def\@oddhead{\parbox[c]{\textwidth}{\centering\small\itshape \rightmark \\\leftmark}}%
}
\makeatother


\begin{document}



\runningheads{Smith $\bullet$ Doe}{A Demonstration of the \LaTeXe\
Class File for {eWiC}}
\pagestyle{myewic}

\conference{Proceedings of \dots}

\title{A Demonstration of the \LaTeXe\\
Class File for \emph{Electronic Workshops in~Computing}}

\authorone{Alistair Smith\\
Sunrise Setting Ltd\\
Torbay Innovation Center\\
Vantage Point, Long Road\\
Paignton, Devon, TQ4 7EJ\\
UK\\
www.sunrise-setting.co.uk\\
\email{[email protected]}}

\authortwo{John Doe\\
Sunrise Setting Ltd\\
Torbay Innovation Center\\
Vantage Point, Long Road\\
Paignton, Devon, TQ4 7EJ\\
UK\\
www.sunrise-setting.co.uk\\
\email{[email protected]}}

\begin{abstract}
This paper describes the use of the \LaTeXe\ ewic.cls class file
for setting papers for \emph{Electronic Workshops in Computing}.
\end{abstract}

\keywords{eWiC, \LaTeXe, Class file}

\maketitle

\section{Introduction}
This paper describes the ewic.cls class file which can be used to
convert articles produced with other \LaTeXe\ class files into the
correct form for publication by \emph{Electronic Workshops in
Computing}.

The ewic.cls class file preserves much of the standard \LaTeXe\
interface so that any document which has been produced using the
standard \LaTeXe\ article style can easily be converted to work
with the ewic style. However, the width of text and typesize may
vary from that of \emph{article}; therefore \emph{line breaks will
change} and it is possible that computer listings and displayed
mathematics may need resetting.

In the following sections we describe how to lay out your code to
use ewic.cls to reproduce the typographical look required for
online publication. However, this short paper is not a guide to
using \LaTeXe\ and we would refer you to any of the many books
available (see, for example, \cite{Companion,KopkaDaly,Lamport}).

\subsection{eWiC: Information for Authors}
You should also consult \emph{eWiC: Information for Authors} (available
from the BCS website) for important instructions about submission,
style and preparation of your paper.

\section{Getting started}
Simply place ewic.cls and ewic.tex in your systems usual
directories and typeset using your \LaTeXe\ or pdf\LaTeX\ command.
The ewic class file should run on any standard \LaTeXe\
installation. If any of the fonts, style files or packages it
requires are missing from your installation, they can be found on
CTAN or the \emph{\TeX\ Live} CD-ROMs.

eWiC is published using sans serif fonts for the text, hence the
default setting of the class file is to use Helvetica which should
be easily accessible with most standard \LaTeXe\ installations.
However, should this cause problems with your system there is an
option to use Computer Modern sans serif fonts instead: see the
example header in the next section.

\section{The article header information}
The heading for any file using ewic.cls is like this:

\begin{verbatim}
\documentclass{ewic}
%\documentclass[cm]{ewic}

\begin{document}

\runningheads{<1st Author's surname
$\bullet$ 2nd Author's surname
$\bullet$ etc>}{<Your paper title>}

\conference{<Proceedings of \dots>}

\title{<Your Paper title>}

\authorone{<A. N. Author>\\
<A full postal address>\\
\email{<Your email address>}}

\authortwo{<A. N. Authortwo>\\
<A full postal address>\\
\email{<Your email address>}}
.
.
.
\begin{abstract}
<Abstract text>
\end{abstract}

\keywords{<list keywords>}

\maketitle

\section{Introduction}
\end{verbatim}

\subsection{Notes}
\begin{enumerate}
\item Please separate multiple author surnames by a `\verb+$\bullet$+' within the
\verb+\runningheads{}{}+ command.

\pagebreak

\item The class file is set up to handle up to six authors, i.e., \verb+\authorone{}...\authorsix{}+.

\item Note that the required reference style is Harvard. ewic.cls
uses `natbib.sty' to achieve the desired output so you will need
to choose a natbib compatible .bst that gives Harvard style
output. `chicago.bst' would be a good choice.

\item Try to balance the columns on the final page when your paper is submitted.
\end{enumerate}

That really is all you should need to know to prepare your paper
using ewic.cls.

You do, of course, have the option to call in any of your
favourite packages for setting maths, graphics, computer listings,
etc.

\begin{thebibliography}{9}

\bibitem[Kopka and Daly(2004)]{KopkaDaly}
Kopka, H. and Daly, P.W.  (2004) \textit{A Guide to \LaTeXe:
Document Preparation for Beginners and Advanced Users} (4th~edn).
Addison-Wesley.

\bibitem[Lamport(1994)]{Lamport}
Lamport L. (1994) \textit{\LaTeX: A Document Preparation System}
(2nd~edn). Addison-Wesley.

\bibitem[Mittelbach and Goossens(2004)]{Companion}
Mittelbach, F. and Goossens, M., (2004) \textit{The \LaTeX\
Companion} (2nd~edn). Addison-Wesley.

\end{thebibliography}
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보