|
464 | 464 | % \vskip 2em% |
465 | 465 | % \begin{center}% |
466 | 466 | \let \footnote \thanks |
467 | | - $if(sansitup)$ |
| 467 | + $if(acmsans)$ |
468 | 468 | {\fontsize{14.5}{20}\selectfont\bfseries\sffamily\raggedright \setlength{\parindent}{0pt} \@title \par}% |
469 | 469 | $else$ |
470 | 470 | {\fontsize{18}{20}\selectfont\raggedright \setlength{\parindent}{0pt} \@title \par} |
|
475 | 475 |
|
476 | 476 |
|
477 | 477 | $if(title)$ |
478 | | -\title{$title$$if(subtitle)$: $subtitle$$endif$$if(anonymous)$$else$$if(thanks)$\thanks{$thanks$} $endif$$endif$ } |
| 478 | +\title{$title$$if(title-subtitle)$$if(subtitle)$: $subtitle$$endif$$else$$endif$$if(anonymous)$$else$$if(thanks)$\thanks{$thanks$} $endif$$endif$ } |
479 | 479 | $endif$ |
480 | 480 |
|
481 | 481 | \date{} |
482 | 482 |
|
483 | 483 | \usepackage{titlesec} |
484 | 484 |
|
485 | | -% $if(sansitup)$\sffamily\uppercase$else$$endif$ |
486 | | -\titleformat*{\section}{\large\bfseries$if(sansitup)$\sffamily\uppercase$else$$endif$} |
487 | | -\titleformat*{\subsection}{$if(sansitup)$\bfseries\sffamily$else$\normalsize\itshape$endif$} % \small\uppercase |
| 485 | +% $if(acmsans)$\sffamily\uppercase$else$$endif$ |
| 486 | +\titleformat*{\section}{\large\bfseries$if(acmsans)$\sffamily\uppercase$else$$endif$} |
| 487 | +\titleformat*{\subsection}{$if(acmsans)$\bfseries\sffamily$else$\normalsize\itshape$endif$} % \small\uppercase |
488 | 488 | \titleformat*{\subsubsection}{\normalsize\itshape} |
489 | 489 | \titleformat*{\paragraph}{\normalsize\itshape} |
490 | 490 | \titleformat*{\subparagraph}{\normalsize\itshape} |
|
505 | 505 | unicode=false, % unicode breaks when used with xetex |
506 | 506 | xetex]{hyperref} |
507 | 507 | \else |
508 | | - \PassOptionsToPackage{hyphens}{url}\usepackage[draft,unicode=true]{hyperref} |
| 508 | + \PassOptionsToPackage{hyphens}{url}\usepackage[unicode=true]{hyperref} |
509 | 509 | \fi |
510 | 510 | } |
511 | 511 |
|
|
555 | 555 | \def\fps@figure{htbp} |
556 | 556 | \makeatother |
557 | 557 |
|
558 | | - |
559 | | - |
560 | | -$for(header-includes)$ |
561 | | -$header-includes$ |
562 | | -$endfor$ |
563 | | - |
564 | 558 | \newtheorem{hypothesis}{Hypothesis} |
565 | 559 |
|
566 | 560 | $if(doublespacing)$ |
|
571 | 565 | % trick for moving figures to back of document |
572 | 566 | % really wish we'd knock this shit off with moving tables/figures to back of document |
573 | 567 | % but, alas... |
| 568 | + |
| 569 | + |
| 570 | +\usepackage{longtable} |
| 571 | +\LTcapwidth=.95\textwidth |
| 572 | +\linespread{1.05} |
| 573 | + |
| 574 | +$for(header-includes)$ |
| 575 | +$header-includes$ |
| 576 | +$endfor$ |
| 577 | + |
574 | 578 | $if(anonymous)$ % begin anonymous-if |
575 | 579 | $if(endfloat)$ % begin endfloat-if... |
576 | 580 | \usepackage[notablist,nofiglist]{endfloat} |
|
591 | 595 | $endif$ % end endfloat-if |
592 | 596 | $endif$ % end anonymous-if |
593 | 597 |
|
594 | | -% DOCUMENT BEGINS NOW... |
| 598 | +% This is for cases where the document has a minimal appendix included at the |
| 599 | +% end. I would discourage users from doing too much with appendices in this |
| 600 | +% case. However, it works fine if the appendix is just supposed to be a simple |
| 601 | +% table or two. In cases where the appendix is much longer, it makes sense to |
| 602 | +% make it a separate document. |
| 603 | + |
| 604 | +\newcommand{\beginappendix}{ |
| 605 | + \renewcommand{\thesection}{A} |
| 606 | + \setcounter{table}{0} |
| 607 | + \renewcommand{\thetable}{A.\arabic{table}} |
| 608 | + \setcounter{figure}{0} |
| 609 | + \renewcommand{\thefigure}{A.\arabic{figure}} |
| 610 | +} |
595 | 611 |
|
| 612 | + |
| 613 | +% DOCUMENT BEGINS NOW... |
596 | 614 | \begin{document} |
597 | 615 |
|
598 | 616 | % \textsf{\textbf{This is sans-serif bold text.}} |
|
609 | 627 | \thispagestyle{plain} |
610 | 628 | {%\fontsize{18}{20}\selectfont\raggedright |
611 | 629 | \maketitle % title \par |
612 | | - |
613 | 630 | } |
614 | 631 |
|
615 | | - |
616 | | - |
| 632 | +$if(title-subtitle)$ |
| 633 | +$else$ |
| 634 | +$if(subtitle)$\emph{$subtitle$}$endif$ |
| 635 | +$endif$ |
617 | 636 |
|
618 | 637 | { |
619 | 638 | \vskip 13.5pt\relax \normalsize\fontsize{11}{12} |
620 | | - $if(sansitup)$ |
| 639 | + $if(acmsans)$ |
621 | 640 | $if(anonymous)$\hfill $else$$for(author)$\MakeUppercase{\textsf{\large $author.name$}}, \small{$author.affiliation$} $sep$ \par $endfor$ $endif$ |
622 | 641 | $else$ |
623 | 642 | $if(anonymous)$\hfill $else$$for(author)$\MakeUppercase{$author.name$}, \small{$author.affiliation$} $sep$ \par \vskip -3.5pt $endfor$ $endif$ |
|
645 | 664 | \noindent \small{$abstract$} |
646 | 665 |
|
647 | 666 | $if(keywords)$ |
648 | | - |
649 | 667 | \vskip 8.5pt \noindent \emph{Keywords}: $keywords$ \par |
650 | | - |
651 | | -% \hbox{\vrule height .2pt width 39.14pc} |
652 | | - |
653 | | - |
654 | 668 | $else$ |
| 669 | +$endif$ |
655 | 670 |
|
656 | | -% \hbox{\vrule height .2pt width 39.14pc} |
657 | | - |
| 671 | +$if(paper-info)$ |
| 672 | +$for(paper-info)$$paper-info$$sep$\vspace{1pt}\par |
| 673 | +$endfor$ |
658 | 674 | $endif$ |
659 | 675 |
|
660 | 676 | \end{abstract} |
661 | 677 |
|
662 | 678 | $endif$ |
663 | 679 |
|
664 | | -\vskip -8.5pt |
| 680 | +\vskip 8.5pt |
665 | 681 |
|
666 | 682 | $if(toc)$ |
667 | 683 | { |
|
725 | 741 | % Remember to cut it out later before bib |
726 | 742 | $body$ |
727 | 743 |
|
| 744 | +$if(endnotes)$ |
| 745 | +\newpage |
| 746 | +\theendnotes |
| 747 | +$endif$ |
| 748 | + |
728 | 749 | $if(has-frontmatter)$ |
729 | 750 | \backmatter |
730 | 751 | $endif$ |
|
0 commit comments