How to Add Page Numbers to the ACM Two-Column LaTeX Template

The First Way

To use the ACM two-column template with page numbers, you can follow these steps:

  1. Download the latest version of the ACM template from the official ACM website: https://www.acm.org/publications/proceedings-template

  2. Extract the contents of the downloaded zip file.

  3. Open the “acmart.cls” file in a text editor.

  4. Find the line that says “\pagestyle{empty}” and replace it with “\pagestyle{plain}”.

  5. Save and close the “acmart.cls” file.

  6. Create a new LaTeX document and include the “acmart.cls” file in the preamble using the following command:

\documentclass[sigconf]{acmart}

  1. Use the “\pagenumbering{arabic}” command after the “\begin{document}” command to start page numbering.

  2. Use the “\maketitle” command to create the title page.

  3. Begin the two-column layout using the “\begin{document}” command.

Here’s an example of a simple LaTeX document that uses the ACM two-column template with page numbers:

\documentclass[sigconf]{acmart}

\title{My Paper Title}
\author{John Doe}
\affiliation{%
  \institution{My Institution}
  \city{My City}
  \state{My State}
  \country{My Country}
}
\email{johndoe@myinstitution.edu}

\begin{document}
\pagenumbering{arabic}

\maketitle

\section{Introduction}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla faucibus mollis tortor, a varius nisi vestibulum et. Sed auctor, quam in eleifend pulvinar, nunc quam sodales elit, vel bibendum velit nisl sed leo. Sed ut orci quis nisl rhoncus euismod at vel nunc. Suspendisse potenti.

\end{document}

This will give you a two-column document with page numbers in the bottom center of each page.

The Second Way

To show page numbers in an ACM two-column LaTeX template, you can add the following code to the preamble of your document (before \begin{document}):

\settopmatter{printfolios=true}

This will enable page numbers to be displayed at the bottom of each page in your document.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值