Ignore:
Timestamp:
Mar 12, 2018, 8:40:51 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
6171841
Parents:
49eb6a2
Message:

update macros and build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/Paper.tex

    r49eb6a2 r53dece1  
    11\documentclass[AMA,STIX1COL]{WileyNJD-v2}
    2 %\documentclass{article}
    32
    43\articletype{RESEARCH ARTICLE}%
     
    109\raggedbottom
    1110
    12 \usepackage{fullpage}
    1311\usepackage{epic,eepic}
    14 \usepackage{xspace,calc,comment}
     12\usepackage{xspace}
     13\usepackage{comment}
    1514\usepackage{upquote}                                            % switch curled `'" to straight
    1615\usepackage{listings}                                           % format program code
    17 \usepackage{enumitem}
    18 \setlist[itemize]{topsep=3pt,itemsep=2pt,parsep=0pt}% global
    19 \usepackage{rotating}
     16%\usepackage{enumitem}
     17%\setlist[itemize]{topsep=3pt,itemsep=2pt,parsep=0pt}% global
     18%\usepackage{rotating}
    2019\definecolor{ForestGreen}{cmyk}{1, 0, 0.99995, 0}
    2120\hypersetup{breaklinks=true}
     
    2322\usepackage[pagewise]{lineno}
    2423\renewcommand{\linenumberfont}{\scriptsize\sffamily}
    25 
    26 \setlength{\topmargin}{-0.75in}\setlength{\headsep}{0.5in}\setlength{\footskip}{0.25in}
    27 \setlength{\textheight}{9.325in}
    28 \setlength{\textwidth}{6.75in}
    29 \setlength{\evensidemargin}{-0.25in}
    30 \setlength{\oddsidemargin}{-0.25in}
    3124
    3225\lefthyphenmin=4                                                        % hyphen only after 4 characters
     
    17081701as well, parameter names are optional, \eg:
    17091702\begin{cfa}
    1710 [ int x ] f ( /* void */ );             $\C[2in]{// returning int with no parameters}$
     1703[ int x ] f ( /* void */ );             $\C[2.5in]{// returning int with no parameters}$
    17111704[ int x ] f (...);                              $\C{// returning int with unknown parameters}$
    17121705[ * int ] g ( int y );                  $\C{// returning pointer to int with int parameter}$
     
    23272320The following shows one example where \CFA \emph{extends} an existing standard C interface to reduce complexity and provide safety.
    23282321C/\Celeven provide a number of complex and overlapping storage-management operation to support the following capabilities:
    2329 \begin{description}[topsep=3pt,itemsep=2pt,parsep=0pt]
     2322\begin{description}%[topsep=3pt,itemsep=2pt,parsep=0pt]
    23302323\item[fill]
    23312324an allocation with a specified character.
     
    23772370\end{cfa}
    23782371\lstDeleteShortInline@%
    2379 \begin{tabular}{@{}l@{\hspace{\parindentlnth}}l@{}}
    2380 \multicolumn{1}{c@{\hspace{\parindentlnth}}}{\textbf{\CFA}}     & \multicolumn{1}{c}{\textbf{C}}        \\
     2372\begin{tabular}{@{}l@{\hspace{2\parindentlnth}}l@{}}
     2373\multicolumn{1}{c@{\hspace{2\parindentlnth}}}{\textbf{\CFA}}    & \multicolumn{1}{c}{\textbf{C}}        \\
    23812374\begin{cfa}
    23822375ip = alloc();
Note: See TracChangeset for help on using the changeset viewer.