texstyles 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +50 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +34 -0
  7. data/Rakefile +10 -0
  8. data/lib/texstyles.rb +26 -0
  9. data/lib/texstyles/style.rb +38 -0
  10. data/styles/a0poster-landscape.tex.erb +84 -0
  11. data/styles/a0poster-portrait.tex.erb +84 -0
  12. data/styles/aa.tex.erb +46 -0
  13. data/styles/aa_onecolumn.tex.erb +45 -0
  14. data/styles/aa_twocolumn.tex.erb +47 -0
  15. data/styles/aaai.tex.erb +29 -0
  16. data/styles/abnt.tex.erb +141 -0
  17. data/styles/acl.tex.erb +46 -0
  18. data/styles/acm.tex.erb +77 -0
  19. data/styles/acm_large.tex.erb +82 -0
  20. data/styles/acm_sig_alternate.tex.erb +116 -0
  21. data/styles/acm_sig_strict.tex.erb +90 -0
  22. data/styles/acs.tex.erb +76 -0
  23. data/styles/agu.tex.erb +211 -0
  24. data/styles/aiaa.tex.erb +84 -0
  25. data/styles/aip_preprint.tex.erb +65 -0
  26. data/styles/aip_reprint.tex.erb +67 -0
  27. data/styles/aisb2008.tex.erb +31 -0
  28. data/styles/aj_manuscript.tex.erb +76 -0
  29. data/styles/aj_preprint.tex.erb +78 -0
  30. data/styles/ajps.tex.erb +69 -0
  31. data/styles/alma.tex.erb +53 -0
  32. data/styles/ams_one.tex.erb +115 -0
  33. data/styles/ams_two.tex.erb +119 -0
  34. data/styles/apa_doc.tex.erb +21 -0
  35. data/styles/apj_emulate.tex.erb +104 -0
  36. data/styles/apj_manuscript.tex.erb +76 -0
  37. data/styles/aps.tex.erb +79 -0
  38. data/styles/aps_preprint.tex.erb +79 -0
  39. data/styles/article.tex.erb +28 -0
  40. data/styles/asp.tex.erb +26 -0
  41. data/styles/authorea-double-numbered.tex.erb +65 -0
  42. data/styles/authorea-double.tex.erb +62 -0
  43. data/styles/authorea-numbered.tex.erb +62 -0
  44. data/styles/authorea.tex.erb +59 -0
  45. data/styles/biogeosciences.tex.erb +71 -0
  46. data/styles/bioinformatics.tex.erb +34 -0
  47. data/styles/bmc.tex.erb +212 -0
  48. data/styles/book.tex.erb +22 -0
  49. data/styles/cernatsnote.tex.erb +28 -0
  50. data/styles/cernyrep.tex.erb +28 -0
  51. data/styles/chandra.tex.erb +182 -0
  52. data/styles/cogsci.tex.erb +43 -0
  53. data/styles/cornell.tex.erb +75 -0
  54. data/styles/cv.tex.erb +30 -0
  55. data/styles/development.tex.erb +55 -0
  56. data/styles/dfgproposal.tex.erb +103 -0
  57. data/styles/dod.tex.erb +221 -0
  58. data/styles/doe.tex.erb +62 -0
  59. data/styles/econf.tex.erb +174 -0
  60. data/styles/egu.tex.erb +73 -0
  61. data/styles/elsevier.tex.erb +138 -0
  62. data/styles/elsevier_review.tex.erb +140 -0
  63. data/styles/elsevier_softwarex.tex.erb +132 -0
  64. data/styles/elsevier_twocolumn.tex.erb +148 -0
  65. data/styles/empty.tex.erb +29 -0
  66. data/styles/epjc.tex.erb +78 -0
  67. data/styles/f1000.tex.erb +38 -0
  68. data/styles/frontiersENG.tex.erb +66 -0
  69. data/styles/frontiersFPHY.tex.erb +67 -0
  70. data/styles/frontiersMED.tex.erb +66 -0
  71. data/styles/frontiersSCNS.tex.erb +66 -0
  72. data/styles/g3.tex.erb +57 -0
  73. data/styles/geophysics.tex.erb +38 -0
  74. data/styles/gji.tex.erb +51 -0
  75. data/styles/hess.tex.erb +71 -0
  76. data/styles/hst.tex.erb +37 -0
  77. data/styles/iclr.tex.erb +35 -0
  78. data/styles/ieee_bare_conf.tex.erb +316 -0
  79. data/styles/ieee_bare_jrnl.tex.erb +459 -0
  80. data/styles/ieee_bare_jrnl_compsoc.tex.erb +530 -0
  81. data/styles/ifac.tex.erb +36 -0
  82. data/styles/ijcai.tex.erb +60 -0
  83. data/styles/imsart_aas.tex.erb +82 -0
  84. data/styles/imsart_as.tex.erb +82 -0
  85. data/styles/iop.tex.erb +93 -0
  86. data/styles/iram_proposal.tex.erb +93 -0
  87. data/styles/jacow.tex.erb +77 -0
  88. data/styles/jfm.tex.erb +43 -0
  89. data/styles/jhep.tex.erb +57 -0
  90. data/styles/jinst.tex.erb +46 -0
  91. data/styles/jrss.tex.erb +32 -0
  92. data/styles/jxb.tex.erb +56 -0
  93. data/styles/lncs.tex.erb +75 -0
  94. data/styles/mdpi.tex.erb +122 -0
  95. data/styles/mit.tex.erb +186 -0
  96. data/styles/mnras.tex.erb +41 -0
  97. data/styles/nasa.tex.erb +111 -0
  98. data/styles/nature.tex.erb +34 -0
  99. data/styles/nature_scirep.tex.erb +36 -0
  100. data/styles/nih.tex.erb +223 -0
  101. data/styles/nime.tex.erb +82 -0
  102. data/styles/nips.tex.erb +26 -0
  103. data/styles/nsf.tex.erb +66 -0
  104. data/styles/osaexpress.tex.erb +73 -0
  105. data/styles/osaletters.tex.erb +54 -0
  106. data/styles/peerj.tex.erb +45 -0
  107. data/styles/plos.tex.erb +69 -0
  108. data/styles/plos2015.tex.erb +237 -0
  109. data/styles/pnas.tex.erb +118 -0
  110. data/styles/report.tex.erb +17 -0
  111. data/styles/rsc.tex.erb +99 -0
  112. data/styles/sciadvances.tex.erb +120 -0
  113. data/styles/science.tex.erb +127 -0
  114. data/styles/sigchi.tex.erb +91 -0
  115. data/styles/sigplan.tex.erb +94 -0
  116. data/styles/spie.tex.erb +68 -0
  117. data/styles/spieman.tex.erb +75 -0
  118. data/styles/springer.tex.erb +92 -0
  119. data/styles/springer_twocolumn.tex.erb +92 -0
  120. data/styles/svmono.tex.erb +63 -0
  121. data/styles/trb.tex.erb +150 -0
  122. data/styles/tufte-handout.tex.erb +60 -0
  123. data/styles/uchicago.tex.erb +53 -0
  124. data/styles/ucriverside.tex.erb +79 -0
  125. data/styles/uiowa.tex.erb +78 -0
  126. data/styles/umich.tex.erb +68 -0
  127. data/styles/uvic.tex.erb +196 -0
  128. data/styles/uwollongong.tex.erb +149 -0
  129. data/texstyles.gemspec +25 -0
  130. metadata +258 -0
@@ -0,0 +1,43 @@
1
+ %
2
+ % Annual Cognitive Science Conference
3
+ % Sample LaTeX Paper -- Proceedings Format
4
+ %
5
+
6
+ % Original : Ashwin Ram (ashwin@cc.gatech.edu) 04/01/1994
7
+ % Modified : Johanna Moore (jmoore@cs.pitt.edu) 03/17/1995
8
+ % Modified : David Noelle (noelle@ucsd.edu) 03/15/1996
9
+ % Modified : Pat Langley (langley@cs.stanford.edu) 01/26/1997
10
+ % Latex2e corrections by Ramin Charles Nakisa 01/28/1997
11
+ % Modified : Tina Eliassi-Rad (eliassi@cs.wisc.edu) 01/31/1998
12
+ % Modified : Trisha Yannuzzi (trisha@ircs.upenn.edu) 12/28/1999 (in process)
13
+ % Modified : Mary Ellen Foster (M.E.Foster@ed.ac.uk) 12/11/2000
14
+ % Modified : Ken Forbus 01/23/2004
15
+ % Modified : Eli M. Silk (esilk@pitt.edu) 05/24/2005
16
+ % Modified : Niels Taatgen (taatgen@cmu.edu) 10/24/2006
17
+ % Modified : David Noelle (dnoelle@ucmerced.edu) 11/19/2014
18
+
19
+ %% Change "letterpaper" in the following line to "a4paper" if you must.
20
+
21
+ \documentclass[10pt,letterpaper]{article}
22
+ <%=@default_packages%>
23
+
24
+ \usepackage{cogsci}
25
+ \usepackage{pslatex}
26
+ \usepackage{apacite}
27
+
28
+ <%=@header%>
29
+
30
+ \title{<%=@long_title%>}
31
+ <% if !@alternative_author_string.to_s.empty? %>
32
+ <%= @alternative_author_string %>
33
+ <% else %>
34
+ \author{{\large \bf <%=@first_author%>}\\ <%=@first_affiliation%> <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %> \AND {\large \bf <%=@coauthor_list[i]%>}\\ <%=@coauthor_affiliations[i]%><% end %><% end %>}
35
+ <% end %>
36
+ \begin{document}
37
+
38
+ \maketitle
39
+
40
+ <%= @abstract_begin_end %>
41
+
42
+
43
+
@@ -0,0 +1,75 @@
1
+ \documentclass[phd,tocprelim]{cornell}
2
+ %
3
+ % tocprelim option must be included to put the roman numeral pages in the
4
+ % table of contents
5
+ %
6
+ % The cornellheadings option will make headings completely consistent with
7
+ % guidelines.
8
+ %
9
+ % This sample document was originally provided by Blake Jacquot, and
10
+ % fixed up by Andrew Myers.
11
+ %
12
+ %Some possible packages to include
13
+ \usepackage{graphicx,pstricks}
14
+ \usepackage{graphics}
15
+ \usepackage{moreverb}
16
+ \usepackage{subfigure}
17
+ \usepackage{epsfig}
18
+ \usepackage{subfigure}
19
+ \usepackage{hangcaption}
20
+ \usepackage{txfonts}
21
+ \usepackage{palatino}
22
+
23
+ <%=@default_packages%>
24
+
25
+ <%=@header%>
26
+
27
+ %if you're having problems with overfull boxes, you may need to increase
28
+ %the tolerance to 9999
29
+ \tolerance=9999
30
+
31
+ \renewcommand{\caption}[1]{\singlespacing\hangcaption{#1}\normalspacing}
32
+ \renewcommand{\topfraction}{0.85}
33
+ \renewcommand{\textfraction}{0.1}
34
+ \renewcommand{\floatpagefraction}{0.75}
35
+
36
+ \title {<%=@long_title%>}
37
+ <% if !@alternative_author_string.to_s.empty? %>
38
+ <%= @alternative_author_string %>
39
+ <% else %>
40
+ \author {<%=@first_author%>}
41
+ <% end %>
42
+ \conferraldate {June}{2014}
43
+ \degreefield {Ph.D.}
44
+ \copyrightholder{<%=@first_author%>}
45
+ \copyrightyear{2014}
46
+
47
+ \begin{document}
48
+
49
+ \maketitle
50
+ \makecopyright
51
+
52
+ \begin{abstract}
53
+ <%=@abstract%>
54
+ \end{abstract}
55
+
56
+ %\begin{biosketch}
57
+ %Your biosketch goes here. Make sure it sits inside
58
+ %the brackets.
59
+ %\end{biosketch}
60
+
61
+ %\begin{dedication}
62
+ %This document is dedicated to all Cornell graduate students.
63
+ %\end{dedication}
64
+
65
+ %\begin{acknowledgements}
66
+ %Your acknowledgements go here. Make sure it sits inside the brackets.
67
+ %\end{acknowledgements}
68
+
69
+ \contentspage
70
+ \tablelistpage
71
+ \figurelistpage
72
+
73
+ \normalspacing \setcounter{page}{1} \pagenumbering{arabic}
74
+ \pagestyle{cornell} \addtolength{\parskip}{0.5\baselineskip}
75
+
data/styles/cv.tex.erb ADDED
@@ -0,0 +1,30 @@
1
+ \documentclass[a4paper,11pt]{article}
2
+ <%=@default_packages%>
3
+ <%=@header%>
4
+
5
+ \usepackage{titlesec} %custom \section
6
+ \titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
7
+ \titlespacing{\section}{0pt}{3pt}{3pt}
8
+
9
+ \setlength\parindent{0pt}
10
+
11
+ \makeatletter
12
+ \renewcommand\@biblabel[1]{}
13
+ \makeatother
14
+
15
+ \usepackage{geometry}
16
+ \geometry{margin=0.75in}
17
+
18
+ \usepackage{datetime}
19
+
20
+ \newdateformat{monthyeardate}{%
21
+ \monthname[\THEMONTH], \THEYEAR}
22
+
23
+
24
+ \begin{document}
25
+
26
+ \title{\bfseries\large <%=@long_title%>}
27
+
28
+ \date{\vspace{-1.0cm}\monthyeardate\today}
29
+
30
+ \maketitle
@@ -0,0 +1,55 @@
1
+ \documentclass[10pt,a4paper]{article}
2
+
3
+ <%=@default_packages%>
4
+ \usepackage[usenames,dvipsnames]{xcolor}
5
+ \hypersetup{colorlinks=true,linkcolor=BrickRed,citecolor=OliveGreen,urlcolor=MidnightBlue}
6
+
7
+ % Use doublespacing
8
+ \usepackage{setspace}
9
+ \doublespacing
10
+
11
+ % Text layout
12
+ \topmargin 0.0cm
13
+ \oddsidemargin 0.5cm
14
+ \evensidemargin 0.5cm
15
+ \textwidth 16cm
16
+ \textheight 21cm
17
+
18
+ % Figure labels
19
+ \usepackage[labelfont=bf,labelsep=endash,justification=raggedright]{caption}
20
+
21
+ % Leave date blank
22
+ \date{}
23
+
24
+ <%=@header%>
25
+
26
+
27
+ \begin{document}
28
+ % \linenumbers
29
+
30
+ \begin{flushleft}
31
+ {\LARGE
32
+ \textbf{<%=@long_title%>}
33
+ }
34
+ % Insert Author names, affiliations and corresponding author email.
35
+ <% if !@alternative_author_string.to_s.empty? %>
36
+ <%= @alternative_author_string %>
37
+ <% else %>
38
+ \\
39
+ <%=@first_author%>$^{1}$<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>, <%=@coauthor_list[i]%>$^{<%=i+2%>}$<% end %><% end %>
40
+ \\
41
+ {\bf 1} <%=@first_affiliation%>
42
+ \\
43
+
44
+ <% if !@coauthor_affiliations.to_a.empty? %><% for i in (0..@coauthor_affiliations.length-1) %>
45
+ {\bf <%=i+2%>} <%=@coauthor_affiliations[i]%>
46
+ \\<% end %><% end %>
47
+ <% end %>
48
+
49
+ \end{flushleft}
50
+
51
+ <% if @abstract and !@abstract.blank? %>
52
+ \section*{Abstract}
53
+ <%=@abstract%>
54
+ <% end %>
55
+
@@ -0,0 +1,103 @@
1
+ % The main file for developing the proposal.
2
+ % Variants with different class options are
3
+ % - submit.tex (no draft stuff, no ednotes, no revision information)
4
+ % - public.tex (like submit.tex, but no financials either)
5
+ \newcommand{\classoptions}{submit}
6
+ \providecommand{\unserzusammenfassung}{} % to be orverwritten in header.tex
7
+ \providecommand{\pnacronym}{} % to be orverwritten in header.tex
8
+ \documentclass[RAM,gitinfo\classoptions]{dfgproposal}
9
+ %\addbibresource{../lib/dummy}
10
+
11
+ <%=@default_packages%>
12
+ <%=@header%>
13
+
14
+ \WAinstitution[id=affiliation1,acronym={<%=@first_affiliation%>},
15
+ %url=http://jacobs-university.de,
16
+ %streetaddress={Campus Ring 1},
17
+ %townzip={28759 Bremen},
18
+ %countryshort=D,
19
+ %country=Germany,
20
+ %type=University,
21
+ %logo=jacobs-logo.png,
22
+ %shortname=Jacobs University
23
+ ]
24
+ {<%=@first_affiliation%>}
25
+ \WAperson[id=author1,
26
+ %personaltitle=Prof. Dr.,
27
+ %birthdate=13. September 1964,
28
+ %academictitle=Professor of Computer Science,
29
+ affiliation=affiliation1,
30
+ %department=case,
31
+ privaddress=None of your business,
32
+ privtel=that neither,
33
+ %email=,
34
+ %workaddress={Campus Ring 1, 28757 Bremen},
35
+ %worktel=+49 421 200 3140,
36
+ %worktelfax=+49 421 200 3140/493140,
37
+ %workfax=+49 421 200 493140
38
+ ]
39
+ {<%=@first_author%>}
40
+
41
+ <% if !@coauthor_list.to_a.empty? %>
42
+ <% for i in (0..@coauthor_list.length-1) %>
43
+ \WAinstitution[id=affiliation<%=i+2%>,acronym={<%=@coauthor_affiliations[i]%>},
44
+ %url=http://jacobs-university.de,
45
+ %streetaddress={Campus Ring 1},
46
+ %townzip={28759 Bremen},
47
+ %countryshort=D,
48
+ %country=Germany,
49
+ %type=University,
50
+ %logo=jacobs-logo.png,
51
+ %shortname=Jacobs University
52
+ ]
53
+ {<%=@coauthor_affiliations[i]%>}
54
+ \WAperson[id=author<%=i+2%>,
55
+ %personaltitle=Prof. Dr.,
56
+ %birthdate=13. September 1964,
57
+ %academictitle=Professor of Computer Science,
58
+ affiliation=affiliation<%=i+2%>,
59
+ %department=case,
60
+ privaddress=None of your business,
61
+ privtel=that neither,
62
+ %email=,
63
+ %workaddress={Campus Ring 1, 28757 Bremen},
64
+ %worktel=+49 421 200 3140,
65
+ %worktelfax=+49 421 200 3140/493140,
66
+ %workfax=+49 421 200 493140
67
+ ]
68
+ {<%=@coauthor_list[i]%>}
69
+ <% end %>
70
+ <% end %>
71
+
72
+ % Auto-close {proposal}, if needed
73
+ \newbool{InProposalEnvironment}
74
+ \AtBeginEnvironment{proposal}{\booltrue{InProposalEnvironment}}
75
+ \AtEndDocument{\ifbool{InProposalEnvironment}{\end{proposal}}{}}
76
+
77
+ \begin{document}
78
+
79
+ \begin{proposal}[PI=author1,site=affiliation1<% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %>,PI=author<%=i+2%>,site=affiliation<%=i+2%><% end %><%end %>,
80
+ thema={<%=@long_title%>},
81
+ acronym=\pnacronym,
82
+ acrolong=<%=@long_title%>,
83
+ title=\pnlong,
84
+ %totalduration=3 years,
85
+ %since=1. Feb 2009,
86
+ %start=1. Feb. 2010,
87
+ %months=24,
88
+ %pcgRM=36, pcgRAM=36, jacuRM=36, jacuRAM=36,
89
+ %discipline=Computer Science,
90
+ %areas=Knowledge Management
91
+ ]
92
+
93
+ \begin{Zusammenfassung}
94
+ \unserzusammenfassung
95
+ \end{Zusammenfassung}
96
+
97
+ \begin{Summary}
98
+ %\begin{todo}{copy into the Elan system}
99
+ % Summarize the relevant goals of the proposed project in generally intelligible
100
+ % terms. Do not use more than 3000 characters, no special characters allowed.
101
+ %\end{todo}
102
+ <%= @abstract %>
103
+ \end{Summary}
@@ -0,0 +1,221 @@
1
+ % This example file for NIH submissions was originally written
2
+ % by Bruce Donald (http://www.cs.duke.edu/brd/).
3
+ % Modified by Authorea for DoD grant proposals
4
+ % You may freely use, modify and/or distribute this file.
5
+ %
6
+ \documentclass[12pt]{dod-blank}
7
+ %\documentclass{article}
8
+ %\documentclass[12pt]{article}%
9
+ % last revision:
10
+ \def\mydate{2005-06-09 13:58:03 brd}
11
+
12
+
13
+ %%%%%%% Two column control
14
+ \newif\ifdotwocol
15
+ \dotwocoltrue % two col
16
+ %\dotwocolfalse % one col
17
+ \long\def\twocol#1#2{\ifdotwocol{#1}\else{#2}\fi}
18
+ %%%%%%%
19
+
20
+ \def\mybeforeequation{\footnotesize}
21
+ %\def\mybeforeequation{\small}
22
+ %\def\mybeforeequation{}
23
+
24
+ \def\myafterequation{\renewcommand\baselinestretch{1.1}}
25
+ %\def\myafterequation{}
26
+
27
+ %%%%%%%%%%%%%%%%
28
+ %%%%%%%%%%%%%%%%
29
+
30
+ \def\citeusmark{$^{\textstyle \star}$}
31
+ \def\citeus#1#2{\cite{#1}}
32
+
33
+ \def\crow#1#2{#2}
34
+
35
+ %\usepackage{denselists}
36
+ %\usepackage{scaledfullpage}
37
+ \usepackage[dvips]{graphicx}
38
+ \usepackage{color}
39
+ \usepackage{boxedminipage}
40
+ \usepackage{amsfonts}
41
+ \usepackage{amsmath}
42
+ \usepackage{url}
43
+ %\usepackage{times}
44
+ %\usepackage{nih} % PHS 398 Forms
45
+ %\usepackage{nihblank} % For printing on Blank PHS 398 Forms
46
+ %\usepackage{confidential}
47
+
48
+ \def\Paper{grant application}
49
+ \def\paper{application}
50
+ \def\refappendix{Sec.}
51
+
52
+ \def\poster{(Poster)}
53
+
54
+ %Note from brd
55
+ \long\def\todo#1{{\bf{To do:}} #1}
56
+ %\long\def\todo#1{}
57
+ \def\ICRA{IEEE International Conference on Robotics and Automation (ICRA)}
58
+
59
+ \long\def\squeezable#1{#1}
60
+
61
+ %\def\a5{$\alpha_{_5}$
62
+
63
+ \def\a5{5}
64
+
65
+ %\def\mycaptionsize{\normalsize}
66
+ %\def\mycaptionsize{\small}
67
+ %\def\mycaptionsize{\small}
68
+ \def\mycaptionsize{\footnotesize}
69
+ \def\mycodesize{\footnotesize}
70
+ \def\myeqnsize{\small}
71
+
72
+ \def\sheading#1{{\bf #1:}\ }
73
+ \def\sheading#1{\subsubsection{#1}}
74
+ %\def\sheading#1{\bigskip {\bf #1.}}
75
+
76
+ \def\ssheading#1{\noindent {\bf #1.}\ }
77
+
78
+ \newtheorem{hypothesis}{Hypothesis}
79
+ \long\def\hyp#1{\begin{hypothesis} #1 \end{hypothesis}}
80
+
81
+ \def\cbk#1{[{\em #1}]}
82
+
83
+ \def\R{\mathbb{R}}
84
+ \def\midv{\mathop{\,|\,}}
85
+ \def\Fscr{\mathcal{F}}
86
+ \def\Gscr{\mathcal{G}}
87
+ \def\Sscr{\mathcal{S}}
88
+ \def\set#1{{\{#1\}}}
89
+ \def\edge{\!\rightarrow\!}
90
+ \def\dedge{\!\leftrightarrow\!}
91
+ \newcommand{\EOP}{\nolinebreak[1]~~~\hspace*{\fill} $\Box$\vspace*{\parskip}\vspace*{1ex}}
92
+ %my way of doing starred references
93
+ \newcommand{\mybibitem}[1]{\bibitem{#1}
94
+ \label{mybiblabel:#1}}
95
+ \newcommand{\BC}{[}
96
+ \newcommand{\EC}{]}
97
+ \newcommand{\mycite}[1]{\ref{mybiblabel:#1}\nocite{#1}}
98
+ \newcommand{\starcite}[1]{\ref{mybiblabel:#1}\citeusmark\nocite{#1}}
99
+
100
+
101
+ \def\degree{$^\circ$}
102
+ \def\R{\mathbb{R}}
103
+ \def\Fscr{\mathcal{F}}
104
+ \def\set#1{{\{#1\}}}
105
+ \def\edge{\!\rightarrow\!}
106
+ \def\dedge{\!\leftrightarrow\!}
107
+
108
+ \long\def\gobble#1{}
109
+ \def\Jigsaw{{\sc Jigsaw}}
110
+ \def\ahelix{\ensuremath{\alpha}-helix}
111
+ \def\ahelices{\ensuremath{\alpha}-helices}
112
+ \def\ahelical{$\alpha$-helical}
113
+ \def\bstrand{\ensuremath{\beta}-strand}
114
+ \def\bstrands{\ensuremath{\beta}-strands}
115
+ \def\bsheet{\ensuremath{\beta}-sheet}
116
+ \def\bsheets{\ensuremath{\beta}-sheets}
117
+ \def\hone{{\ensuremath{^1}\rm{H}}}
118
+ \def\htwo{{$^{2}$H}}
119
+ \def\cthir{{\ensuremath{^{13}}\rm{C}}}
120
+ \def\nfif{{\ensuremath{^{15}}\rm{N}}}
121
+ \def\hn{{\rm{H}\ensuremath{^\mathrm{N}}}}
122
+ \def\hnone{{\textup{H}\ensuremath{^1_\mathrm{N}}}}
123
+ \def\ca{{\rm{C}\ensuremath{^\alpha}}}
124
+ \def\catwel{{\ensuremath{^{12}}\rm{C}\ensuremath{^\alpha}}}
125
+ \def\ha{{\rm{H}\ensuremath{^\alpha}}}
126
+ \def\cb{{\rm{C}\ensuremath{^\beta}}}
127
+ \def\hb{{\rm{H}\ensuremath{^\beta}}}
128
+ \def\hg{{\rm{H}\ensuremath{^\gamma}}}
129
+ \def\dnn{{\ensuremath{d_{\mathrm{NN}}}}}
130
+ \def\dan{{\ensuremath{d_{\alpha \mathrm{N}}}}}
131
+ \def\jconst{{\ensuremath{^{3}\mathrm{J}_{\mathrm{H}^{\mathrm{N}}\mathrm{H}^{\alpha}}}} }
132
+ \def\cbfb{{CBF-$\beta$}}
133
+
134
+ \newtheorem{defn}{Definition}
135
+ \newtheorem{claim}{Claim}
136
+
137
+ \gobble{
138
+ \psfrag{CO}[][]{\colorbox{white}{C}}
139
+ \psfrag{OO}[][]{\colorbox{white}{O}}
140
+ \psfrag{CA}[][]{\colorbox{white}{\ca}}
141
+ \psfrag{HA}[][]{\colorbox{white}{\ha}}
142
+ \psfrag{CB}[][]{\colorbox{white}{\cb}}
143
+ \psfrag{HB}[][]{\colorbox{white}{\hb}}
144
+ \psfrag{HN}[][]{\colorbox{white}{\hn}}
145
+ \psfrag{N15}[][]{\colorbox{white}{\nfif}}
146
+ \psfrag{dnn}[][]{\dnn}
147
+ \psfrag{dan}[][]{\dan}
148
+ \psfrag{phi}[][]{$\phi$}
149
+ }
150
+
151
+ \newenvironment{closeenumerate}{\begin{list}{\arabic{enumi}.}{\topsep=0in\itemsep=0in\parsep=0in\usecounter{enumi}}}{\end{list}}
152
+ \def\CR{\hspace{0pt}} % ``invisible'' space for line break
153
+
154
+
155
+
156
+ \newif\ifdbspacing
157
+ %\dbspacingtrue % For double spacing
158
+ \dbspacingfalse % For normal spacing
159
+
160
+ \ifdbspacing
161
+ \doublespacing
162
+ \newcommand{\capspacing}{\doublespace\mycaptionsize}
163
+ \else
164
+ \newcommand{\capspacing}{\mycaptionsize}
165
+ \fi
166
+
167
+ \def\rulefigure{\smallskip\hrule}
168
+
169
+ % \def\codesize{\normalsize}
170
+ \def\codesize{\small}
171
+
172
+ % Can use macros \be, \ee, \en as shortcuts
173
+ % for \begin{enumerate}, \end{enumerate}, \item
174
+ % respectively.
175
+
176
+ <%=@header%>
177
+
178
+ \def\be{\begin{enumerate}} % Begin Enumerate
179
+ \def\ee{\end{enumerate}} % End Enumerate
180
+ \def\en{\item} % ENtry (item)
181
+ \def\bi{\begin{itemize}} % Begin Itemize
182
+ \def\ei{\end{itemize}} % End Itemize
183
+ \def\bv{\begin{verbatim}} % Begin Verbatim
184
+ \def\ev{\end{verbatim}} % End Verbatim
185
+
186
+ \def\matlab{{\sc matlab} }
187
+ \def\amber{{\sc amber} }
188
+ \def\KS{{$K^*$}}
189
+ \def\KSM{{K^*}} % K-Star Math
190
+ \def\KSTM{{\tilde{K}^*}} % K-Star Tilde Math (appx K*)
191
+ \def\KOP{{$K^{\dagger}_{o}$}} % K-Star Optimal partial
192
+ \def\KOPM{{K^{\dagger}_{o}}} % K-Star Optimal partial Math
193
+ \def\KP{{$K^{\dagger}$}} % K-Star partial
194
+ \def\KPM{{K^{\dagger}}} % K-Star partial Math
195
+ \def\KTPM{{\tilde{K}^{\dagger}}} % K-Star Tilde partial Math
196
+ \def\KD{{$K_{_D}$}}
197
+ \def\KA{{$K_{_A}$}}
198
+ \def\qpM{{q_{_P}}}
199
+ \def\qlM{{q_{_L}}}
200
+ \def\qplM{{q_{_{PL}}}}
201
+ \def\qSplM{{q^*_{_{PL}}}}
202
+ \def\KSO{{$K^*_{o}$}} % K-Star Optimal
203
+ \def\KSOM{{K^*_{o}}} % K-Star Optimal Math
204
+ \def\CBFB{{CBF-$\beta$}} % Core binding factor beta
205
+ \def\argmin{\mathop{\mathrm{argmin}}}
206
+ \def\rhl#1{{\em \underline{RYAN}: *\{{#1}\}*}}
207
+ \def\set#1{{\left\{ #1 \right\}}}
208
+ \def\Escr{{\mathcal{E}}}
209
+ \def\Jscr{{\mathcal{J}}}
210
+ \def\Kscr{{\mathcal{K}}}
211
+ \def\th{{$^{{\mathrm{th}}}$}}
212
+
213
+ \newtheorem{proposition}{Proposition}
214
+ \newtheorem{lemma}{Lemma}
215
+
216
+
217
+ \begin{document}
218
+
219
+
220
+
221
+