Tag Info

Hot answers tagged

15

Use the etoolbox package and its \patchcmd macro to selectively change sig-alternate' s definition of \maketitle, i.e. remove the \@copyrightspace macro (which is responsible for the copyright space). \documentclass{sig-alternate} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{etoolbox} \makeatletter ...


12

Thanks to Harald's advice I found the following two-line solution to my problem: \usepackage{float} \newfloat{algorithm}{t}{lop} This was sufficient to make all my algorithm blocks to float exactly as I needed them to. See also: "float" package reference.


12

The class acm_proc_article_sp uses a wrong way to select fonts. The title is typeset with \ttlfont <title text> where \ttlfont is defined at line 320 in the .cls file by \newfont{\ttlfnt}{phvb8t at 18pt} The \newfont command in LaTeX has been deprecated since LaTeX2ε has been released, eighteen years ago. You can fix this by changing the way ...


8

The memoir class enforces the use of proper font commands. The old two-letter commands such as \bf and \it, \sc, etc. are problematic and now very old. See Will two-letter font style commands (\bf , \it , …) ever be resurrected in LaTeX? Unfortunately, many older bibliography styles still use the old font commands, and since their code is not trivial ...


7

By default, the class sigplanconf typesets the authors in rows and uses maximum three authors per row (this is done using the macro \@titleauthors); to change this behaviour, you need to redefine \maketitle and to define a command to allow typesetting four authors in a row (the command \@ivtitleauthors in my example, which was defined in a similar fashion to ...


6

Class sig-alternate does not set the driver dependent paper size. Therefore you get the default that is configured for pdfTeX, in your case A4. Also LaTeX's \paperwidth and \paperheight are not set (see egreg's comment). If \paperwidth and \paperheight are set correctly, then package geometry can do the driver dependent part (e.g. setting \pdfpagewidth and ...


6

The accepted answer somehow doesn't work for me, but I found another solution from this link Simply add the following lines before \begin{document}: \makeatletter \def\@copyrightspace{\relax} \makeatother


6

I just found the answer. You can use the \permission paragraph in the metadata. The doi line can be put into the \crdata. I copied the full metadata below: % --- Author Metadata here --- \permission{Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or ...


6

Define \l@paragraph (and \l@subparagraph) to do nothing (the class not defining \l@paragraph nor \l@subparagraph is a bug): \documentclass[prodmode,acmcsur]{acmsmall} % Aptara syntax \makeatletter \newcommand\l@paragraph[2]{} \newcommand\l@subparagraph[2]{} \makeatother \begin{document} \tableofcontents \section{A Section} \subsection{A Subsection} ...


6

Another option, sig-alternate.cls uses \uppercase in \@sect to format sectional unit titles; you can patch \@sect to use \MakeTextUppercase (from the textcase package) instead; in this way, the case of any math expressions in the titles won't be changed and the arguments of \cite, \label and \ref will also be prevented from being uppercased: ...


5

That part of the ACM boilerplate is typeset by the command \global\copyrightetc{Copyright \the\copyrtyr\ ACM \the\acmcopyr\ ...\$15.00} You can change it by inserting \global\copyrightetc{Copyright \the\copyrtyr\ ACM \the\acmcopyr} in your preamble.


5

I am not sure what the exact page width of the sig-alternate class is, but from your image this I appeared to be about 5.0in. By using a p{} column type for the first column, eliminating the column soacing to the left of the first column and to the right of the last column, and reducing the inter column spacing with a @{\hspace{0.5em}} you can sqeeuze your ...


5

Here's another option that uses local definitions \documentclass{sig-alternate} \usepackage{ctable} \usepackage{lipsum} \begin{document} \subsection{Original} \[ G_{CS}(\mathbb{S_c})= \begin{cases} \displaystyle\sum_{k=1}^{r} \frac{Gmax(k)-q_k(s)}{Gmax(k)-Gmin(k)}.w_k & if\ Gmax(k) \neq Gmin(k) \\ 1 ...


5

There are many ways to reduce the place needed by the equation: \noindent skips the paragraph indenting. The spacing around binary operators and relational symbols can be reduced by changing \thinmuskip and \medmuskip. Instead of using \medmuskip=.625\medmuskip the expression below with \muexpr also scales the shrink and stretch components and keeps them. ...


5

It is an officially (I asked ACM support) accepted way to do this \pdfpagewidth=8.5in \pdfpageheight=11in


5

(CW from comments) The package caption is incompatible with the sigplanconf class that implements its own method for captions. If you need to use the class, there's no way to incorporate subcaption that relies on caption working.


4

I propose a variant of this answer of mine. \begin{filecontents*}{\jobname.bib} @inproceedings{vlee2010, title={{First paper}}, author={\disambiguate{Lee V}{V.}{Lee}, VCCC and others}, booktitle={xyz}, year={2010}, } @inproceedings{jlee2010, title={{Second Paper}}, author={\disambiguate{Lee J}{J.}{Lee}, JCCC and others}, booktitle={pqr}, ...


4

I think the trick might be to use the \begin{figure*}...\end{figure*} environment. That should give you a figure that spans the whole page width, while allowing the rest of that page to be in two columns. In contrast, the \begin{figure}...\end{figure} environment gives you a figure that spans only one column.


4

This class file dates back more than 20 years and was written for LaTeX 2.09 and then patched somewhat to run under todays LaTeX. It is a rather good example of how should things not be done these days :-) the power of LaTeX to still be able to somehow deal with really old code If there is any chance to convince the conference organizers to have ...


4

The LaTeX Wikibook section on algorithms explains this very nicely: The algorithmicx package provides a number of popular constructs for algorithm designs. Put \usepackage{algpseudocode} in the preamble to use the algorithmic environment to write algorithm pseudocode (\begin{algorithmic}...\end{algorithmic}). You might want to use the algorithm ...


4

With the balance package the output is correct. One must issue \balance between two paragraphs that fall in the first column of the final page. This might need to insert it manually in the .bbl file, if the last page consists only of bibliography items.


4

I don't know if this has adverse effects on other parts of the document, but saying \AtBeginDocument{\setlength{\tempdimen}{\textwidth}} seems to solve the issue. The acmsmall class uses \tempdimen to set the captions, but the captions built by listings don't set it to a sensible value and so use the default (which is zero).


4

The acmsmall document class has its own way to build tabular material through the \tbl command with syntax \tbl{<caption>}{<the table itself>} (refer to Section 4.2. Tables of the PDF document acmsmall-guide that comes in the .zip file containing the class and related example files). A complete example with your table: ...


4

Assuming your copy of the style file ACM-Reference-Format-Journals.bst is more or less the same as the one I was able to obtain from this GitHub site, you can get rid of the bracketd citation labels by loading the natbib package (in the preamble): \usepackage{natbib} To get rid of the handing indentation, use the instruction \setlength\bibhang{0pt} You ...


3

Using the class provided at enter link description here and reducing the template they provide, results in the requirement of defining the \doi{} field to get the file compiled showing the title. The minimal code is then \documentclass{sigplanconf} \begin{document} \doi{nnnnnnn.nnnnnnn} \title{Title Text} \authorinfo{Name1} {Affiliation1} ...


3

You can redefine \thebibliography to add the text before the list used; I defined \AddNote to typeset the text: \documentclass{acmsmall} \makeatletter \newcommand\AddNote[1]{\def\@addnote{#1}} \providecommand\@addnote{} \def\thebibliography#1{% \footnotesize \refsection*{{\refname} \@mkboth{\uppercase{\refname}}{\uppercase{\refname}}% } ...


3

If you are using dvips and the CM (Computer Modern) fonts are appropriate for your document try this: $ dvips -P cmz -t letter -f <file>.dvi -o <file>.ps The -P option specifies a printer and -P cmz specifies T1 Computer Modern printer font. A more detailed explanation can be found on the TeX FAQ.


3

Since sig-alternate defines its own \caption command, the caption package is not really compatible with it; subcaption might work, but the result is not guaranteed. You can do with subfig: \PassOptionsToPackage{demo}{graphicx} % just for the example \documentclass{sig-alternate} \usepackage[caption=false]{subfig} \usepackage{lipsum} % just for the example ...


3

It seems the sigproc.bib file needs to be compiled between two runs of the latex, using the following command: latex sig-alternate bibtex sig-alternate latex sig-alternate Note that neither command bibtex sigproc.bib or bibtex sig-alternate.tex would work.


3

Contrary to the plain bibliography style, the acm style uses a lastname/firstname scheme to display author names, and it is common for this scheme to put a comma between the different name parts. Have a look at the ACM LaTeX style guide -- commas between last name and first name are the way it's meant to be.



Only top voted, non community-wiki answers of a minimum length are eligible