Document Classesdocumentclass{sig-alternate} to times new roman

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
ozzy91
Posts: 5
Joined: Sun Feb 21, 2016 2:27 pm

documentclass{sig-alternate} to times new roman

Post by ozzy91 »

How can I change the documentclass{sig-alternate}
(from the ACM SIG Template - Alternate)
to times new roman?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: documentclass{sig-alternate} to times new roman

Post by Johannes_B »

The class already uses Times for journal submission.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
ozzy91
Posts: 5
Joined: Sun Feb 21, 2016 2:27 pm

documentclass{sig-alternate} to times new roman

Post by ozzy91 »

Johannes_B wrote:The class already uses Times for journal submission.
The ACM SIGPLAN is using times new roman as font.
BUT the ACM SIG Template - Alternate isn't using times new roman.

I want to use times new roman in the ACM SIG Template - Alternate because the font of the main text doesn't look like times new roman
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

documentclass{sig-alternate} to times new roman

Post by Johannes_B »

Code: Select all

\usepackage{mathptmx}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Not sure if a change of fonts is allowed.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
ozzy91
Posts: 5
Joined: Sun Feb 21, 2016 2:27 pm

documentclass{sig-alternate} to times new roman

Post by ozzy91 »

Johannes_B wrote:

Code: Select all

\usepackage{mathptmx}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Not sure if a change of fonts is allowed.
No this didn't work :cry:
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

documentclass{sig-alternate} to times new roman

Post by Johannes_B »

Well, it did for me. So, what did not work? Did you get funny smiley faces instead of end-sentence-periods?
By now, the unclear question got even more unclear, so please do what you should have done from the beginning: ask a question supported by a minimal working example, add a proper problem description and add a link to the template you are using.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
ozzy91
Posts: 5
Joined: Sun Feb 21, 2016 2:27 pm

documentclass{sig-alternate} to times new roman

Post by ozzy91 »

Johannes_B wrote:Well, it did for me. So, what did not work? Did you get funny smiley faces instead of end-sentence-periods?
By now, the unclear question got even more unclear, so please do what you should have done from the beginning: ask a question supported by a minimal working example, add a proper problem description and add a link to the template you are using.
I using this template
https://www.sharelatex.com/templates/55 ... b00c043d2f

As you can see it is standard not written in times new roman.

Down this post you can see .cls file that i have added. You can see that i have added \usepackage{mathptmx}

Code: Select all

Code, edit and compile here:
\def\fileversion{v2.5} % for ACM's tracking purposes
\def\filedate{May 23, 2012} % Gerry Murray's tracking data
\def\docdate {Wednesday 23rd. May 2012} % Gerry Murray (with deltas to doc}
\usepackage{epsfig}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{mathptmx}
\typeout{Document Class 'sig-alternate' <23rd. May '12>. Modified by G.K.M. Tobin/Gerry Murray}
\typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}
\typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}
\typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}
\typeout{****** Bugs/comments/suggestions/technicalities to Gerry Murray -- murray@hq.acm.org ******}
\typeout{Questions on the style, SIGS policies, etc. to Adrienne Griscti griscti@acm.org}
\oddsidemargin 4.5pc
\evensidemargin 4.5pc
\advance\oddsidemargin by -1in % Correct for LaTeX gratuitousness
\advance\evensidemargin by -1in % Correct for LaTeX gratuitousness
\marginparwidth 0pt % Margin pars are not allowed.
\marginparsep 11pt % Horizontal space between outer margin and
% marginal note
% Top of page:
\topmargin 4.5pc % Nominal distance from top of page to top of
% box containing running head.
\advance\topmargin by -1in % Correct for LaTeX gratuitousness
\headheight 0pt % Height of box containing running head.
\headsep 0pt % Space between running head and text.
% Bottom of page:
\footskip 30pt % Distance from baseline of box containing foot
% to baseline of last line of text.
\@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e
\footheight 12pt % Height of box containing running foot.
%% Must redefine the top margin so there's room for headers and
%% page numbers if you are using the preprint option. Footers
%% are OK as is. Olin.
\advance\topmargin by -37pt % Leave 37pt above text for headers
\headheight 12pt % Height of box containing running head.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

documentclass{sig-alternate} to times new roman

Post by Johannes_B »

You have drastically changed the class file, which is copyrighted. That is not good.

Loading package mathptmx between \documentclass and \begin{document} switches the main font to Times. I tested it. You should ask the editors of the journal you are contributing to if those changes are allowed or will be reverted.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply