Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have been looking for a simple two-column LaTeX template.

I have attached a template that I like, but I am unable to remove the footer on the bottom of the page. Also, I would like to remove the Categories and Subject section as well.

I tried commenting the sections out using % in the .tex file, but that did not work. I also tried removing this in the .cls file but I received multiple errors when compiling.

Any suggestions or help?

http://www.acm.org/publications/latex_style/acm-tog-v1-2.zip

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

If I add this to the preamble of the example file, I think you get rid of all the stuff you want. (But I haven't tried loading any external packages on top of the basic file.)

\typewidth6.5in 
\textwidth6.5in 
\oddsidemargin1in 
\evensidemargin1in
\makeatletter

\def\@maketitle{\newpage \thispagestyle{titlepage}\par
\centering \begingroup  \lineskip = \z@\null \vskip -7pt\relax %-24.5pt
\parindent\z@ \LARGE { \raggedright \hyphenpenalty\@M
{\titlefont \centering \@title\par}%
}
\label{@firstpg}
{ \vskip 13.5pt\relax \fontsize{10}{12}\selectfont \sf %vskip 13.5pt between title and author
 \begingroup \addtolength{\baselineskip}{2pt}
 \@author\par \vskip -2pt 
 \endgroup }
 \vskip 23pt\relax
 \endgroup
 }
\renewenvironment{abstract}
           {\par\footnotesize\noindent\ignorespaces}
           {\par\vskip5pt%
        \def\and{\unskip\/{\rm ; }}
 {\ifx\@acmformat\empty\else\vskip5pt\@acmformat\par\fi}\vskip24pt}

\def\category\relax
\def\@category\relax
\def\@categories\relax
\def\terms\relax
\def\@terms\relax
\def\keywords\relax
\def\@keywords\relax

\makeatother

You should also comment out these lines (if you are using the TOG-Sample.tex file to test):

% \category{I.3.7}{Computer Graphics}{Three-Dimensional Graphics and Realism}[Animation]
% \category{I.3.5}{Computer Graphics}{Computational Geometry and Object Modeling}[Physically based modeling]

% \terms{Experimentation, Human Factors}

% \keywords{Face animation, image-based modelling, iris animation, photorealism, physiologically-based modelling}

% \acmformat{Pamplona, V. F., Oliveira, M. M., and Baranoski, G. V. G. 2009. Photorealistic models for pupil light reflex and iridal pattern deformation.  {ACM Trans. Graph.} 28, 4, Article 106 (August 2009), 11 pages.\newline  DOI $=$  10.1145/1559755.1559763\newline http://doi.acm.org/10.1145/1559755.1559763}

You can get rid of the commented sections once you are sure you don't need them. (If you put the modifications into your own .sty file, say acmtog-mods.sty and then load it with \usepackage, you can get rid of the \makeatletter and \makeatother pair.)

In the end, it is probably better to avoid using so specific a class if you want want a 'simple' two-column layout. The package multicol, and maybe a customizable class like memoir or one of the KOMA-Script ones is probably a better route.

share|improve this answer
    
Hi I tried adding this right after the \documentclass{} call but it does not remove the bottom footer. Do you know if I am missing something? Thanks –  J Paul Jul 14 '12 at 22:30
    
Also, how can I make all the margins 1 inch? –  J Paul Jul 14 '12 at 22:49
    
Jon Ok thanks I got it to work now. So the changing of the margins can't be done with this class file? –  J Paul Jul 14 '12 at 23:17
    
Jon, I tried using \usepackage[margin= 1 in]{geometry} This just distorted my page though. Also, i have been trying to center the title and the author, by using \begin{center} and \end{center} and this does not seem to work. Sorry for all of the questions. Thanks for your help –  J Paul Jul 14 '12 at 23:22
    
Jon, I have tried \addtolength{\oddsidemargin}{-.875in} \addtolength{\evensidemargin}{-.875in} \addtolength{\textwidth}{1.75in} \addtolength{\topmargin}{-.875in} \addtolength{\textheight}{1.75in} But this distorts the page as well. –  J Paul Jul 14 '12 at 23:27
show 6 more comments

To fix that you would actually have to modify the class file. I would recommend you look at the package multicol, read the documentation and then just start with the article class and create your own template. Example below.

    \documentclass{article}
    \usepackage{multicol}
    \usepackage[nopar]{lipsum}
    \usepackage[margin=1in]{geometry}
    \begin{document}
    \begin{center}\Large\textbf{Title for the document}\end{center}
    \begin{multicols}{2}
    \section{one}   \lipsum[1] 
    \section{two}   \lipsum[3]
    \section{three} \lipsum[5]
    \section{four}  \lipsum[7]
    \end{multicols}
    \end{document}
share|improve this answer
    
Why didn't you use blindtext or lipsum package? –  Fifa Earth Cup 2014 Jul 14 '12 at 19:44
    
My Miktex installation refused to install automatically or manually, so I provided an answer and now I am exterminating a Windows gremlin :( I will edit it when my install works. –  R. Schumacher Jul 15 '12 at 0:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.