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

2 Answers 2

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

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? –  cyanide-based food 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

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.
http://tex.stackexchange.com/questions/63319/simple-two-column-latex-template
tex.stackexchange.com
crawl=CC-MAIN-2014-35
77725
application/http; msgtype=response
sha1:GJEWWQWHEYDXNHZRMVKRLM4OLKBPBRVU
<urn:uuid:2c7d5a26-8e14-4b25-aba3-e56901c664e7>
2014-08-21T18:18:16Z
198.252.206.16
sha1:MUZUUAP3A7WYSPGTB66QSGQF6JFCZ5R6
<urn:uuid:34223c86-167f-41f2-8806-036dc7c11adb>
http://tex.stackexchange.com/questions/63319/simple-two-column-latex-template
response
<urn:uuid:37968562-9787-4151-906a-c6647b77652b>
robots: classic
hostname: ip-10-180-136-8.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-35
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for August 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf