Changeset 53dece1
- Timestamp:
- Mar 12, 2018, 8:40:51 AM (7 years ago)
- 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
- Location:
- doc/papers/general
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/general/Makefile
r49eb6a2 r53dece1 34 34 35 35 DOCUMENT = Paper.pdf 36 BASE = ${basename ${DOCUMENT}} 36 37 37 38 # Directives # … … 42 43 43 44 clean : 44 @rm -frv ${DOCUMENT} ${ basename ${DOCUMENT}}.ps ${Build}45 @rm -frv ${DOCUMENT} ${BASE}.ps WileyNJD-AMA.bst ${BASE}.out.ps ${Build} 45 46 46 47 # File Dependencies # 47 48 48 ${DOCUMENT} : ${ basename ${DOCUMENT}}.ps49 ${DOCUMENT} : ${BASE}.ps 49 50 ps2pdf $< 50 51 51 ${ basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi52 dvips - h ${Build}/Paper.out.ps -o $@ ${Build}/$<52 ${BASE}.ps : ${BASE}.dvi 53 dvips -o $@ ${Build}/$< 53 54 54 ${ basename ${DOCUMENT}}.dvi : Makefile ${Build}${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \55 ${BASE}.dvi : Makefile ${Build} ${BASE}.out.ps WileyNJD-AMA.bst ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \ 55 56 ../../bibliography/pl.bib 56 57 # Must have *.aux file containing citations for bibtex … … 67 68 ${Build}: 68 69 mkdir -p ${Build} 70 71 ${BASE}.out.ps: 72 ln -s build/Paper.out.ps . 73 74 WileyNJD-AMA.bst: 75 ln -s AMA/AMA-stix/ama/WileyNJD-AMA.bst . 69 76 70 77 ${GRAPHS} : timing.gp timing.dat -
doc/papers/general/Paper.tex
r49eb6a2 r53dece1 1 1 \documentclass[AMA,STIX1COL]{WileyNJD-v2} 2 %\documentclass{article}3 2 4 3 \articletype{RESEARCH ARTICLE}% … … 10 9 \raggedbottom 11 10 12 \usepackage{fullpage}13 11 \usepackage{epic,eepic} 14 \usepackage{xspace,calc,comment} 12 \usepackage{xspace} 13 \usepackage{comment} 15 14 \usepackage{upquote} % switch curled `'" to straight 16 15 \usepackage{listings} % format program code 17 \usepackage{enumitem}18 \setlist[itemize]{topsep=3pt,itemsep=2pt,parsep=0pt}% global19 \usepackage{rotating}16 %\usepackage{enumitem} 17 %\setlist[itemize]{topsep=3pt,itemsep=2pt,parsep=0pt}% global 18 %\usepackage{rotating} 20 19 \definecolor{ForestGreen}{cmyk}{1, 0, 0.99995, 0} 21 20 \hypersetup{breaklinks=true} … … 23 22 \usepackage[pagewise]{lineno} 24 23 \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}31 24 32 25 \lefthyphenmin=4 % hyphen only after 4 characters … … 1708 1701 as well, parameter names are optional, \eg: 1709 1702 \begin{cfa} 1710 [ int x ] f ( /* void */ ); $\C[2 in]{// returning int with no parameters}$1703 [ int x ] f ( /* void */ ); $\C[2.5in]{// returning int with no parameters}$ 1711 1704 [ int x ] f (...); $\C{// returning int with unknown parameters}$ 1712 1705 [ * int ] g ( int y ); $\C{// returning pointer to int with int parameter}$ … … 2327 2320 The following shows one example where \CFA \emph{extends} an existing standard C interface to reduce complexity and provide safety. 2328 2321 C/\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] 2330 2323 \item[fill] 2331 2324 an allocation with a specified character. … … 2377 2370 \end{cfa} 2378 2371 \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}} \\ 2381 2374 \begin{cfa} 2382 2375 ip = alloc();
Note: See TracChangeset
for help on using the changeset viewer.