texstyles 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: af86fb29e8abe30c4a36f53dc06866ec2abc6c45
4
+ data.tar.gz: 4f58d3d01e55390a1011c3797b48586391d4ba3d
5
+ SHA512:
6
+ metadata.gz: 7aaad64327eb4df90626cfa16a7b0cdfce8fed63f7025ac61f863497ef34d98ba0246dd06fe6df6604496571d05666358f43e601311dedf823e6267fbf490689
7
+ data.tar.gz: a7377de0d170f784ee4da9cf18ddbc81f204285b8de2441c6864cf206de986b7a3870eb07fac2128c7f00772f97a42b310d8fd045ac868a67c2acb013e3151bd
data/.gitignore ADDED
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ Gemfile.lock
46
+ .ruby-version
47
+ .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in texstyles.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Deyan Ginev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # TeX Styles
2
+
3
+ ** CAUTION: This repository is in a pre-alpha dev sprint, consider it completely unstable until a 0.1.0 release **
4
+
5
+ [![Build Status](https://secure.travis-ci.org/Authorea/texstyles.png?branch=master)](https://travis-ci.org/Authorea/texstyles)
6
+ [![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/authorea/texstyles/master/LICENSE)
7
+ [![Gem Version](https://badge.fury.io/rb/texstyles.svg)](https://badge.fury.io/rb/texstyles)
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'texstyles'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install texstyles
25
+
26
+ ## Usage
27
+
28
+ ## Contributing
29
+
30
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Authorea/texstyles.
31
+
32
+ ## License
33
+
34
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
data/lib/texstyles.rb ADDED
@@ -0,0 +1,26 @@
1
+ require 'texstyles/style'
2
+ module Texstyles
3
+ @@root = File.expand_path('../..', __FILE__)
4
+
5
+ class << self
6
+ def root
7
+ @@root
8
+ end
9
+
10
+ def list
11
+ Dir.glob(File.join(@@root, 'styles', "*.tex.erb")).map{|path| File.basename(path,'.tex.erb')}
12
+ end
13
+
14
+ def categories
15
+ { 'generic' => "Default",
16
+ 'physics' => "Physics & Astronomy",
17
+ 'computers' => "CS/Engineering",
18
+ 'bio' => "Life Sciences",
19
+ 'geo' => "Earth Sciences",
20
+ 'other' => "Misc",
21
+ 'grants' => "Grant Proposals",
22
+ 'thesis' => "University Thesis"
23
+ }
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,38 @@
1
+ require 'erb'
2
+ require 'yaml'
3
+
4
+ module Texstyles
5
+ class Style
6
+
7
+ def initialize(symbol='authorea')
8
+ style_filename = symbol + '.tex.erb'
9
+ style_filepath = File.join(Texstyles.root, 'styles', style_filename)
10
+ @erb = if File.exist? style_filepath
11
+ ERB.new(File.read(style_filepath))
12
+ else
13
+ nil
14
+ end
15
+
16
+ spec_filename = symbol + '.yml'
17
+ spec_filepath = File.join(Texstyles.root, 'spec', spec_filename)
18
+ @spec = if File.exist? spec_filepath
19
+ YAML.load_file(spec_filepath)
20
+ else
21
+ {}
22
+ end
23
+ end
24
+
25
+ def render_latex
26
+ @erb && @erb.result(binding)
27
+ end
28
+
29
+ def name
30
+ @spec['name']
31
+ end
32
+
33
+ def category
34
+ @spec['category']
35
+ end
36
+
37
+ end
38
+ end
@@ -0,0 +1,84 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % a0poster Portrait Poster
3
+ % LaTeX Template
4
+ % Version 1.0 (22/06/13)
5
+ %
6
+ % The a0poster class was created by:
7
+ % Gerlinde Kettl and Matthias Weiser (tex@kettl.de)
8
+ %
9
+ % This template has been downloaded from:
10
+ % http://www.LaTeXTemplates.com
11
+ %
12
+ % License:
13
+ % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
14
+ %
15
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16
+
17
+ %----------------------------------------------------------------------------------------
18
+ % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
19
+ %----------------------------------------------------------------------------------------
20
+
21
+ \documentclass[a0,landscape]{a0poster}
22
+
23
+ \usepackage{multicol} % This is so we can have multiple columns of text side-by-side
24
+ \columnsep=100pt % This is the amount of white space between the columns in the poster
25
+ \columnseprule=3pt % This is the thickness of the black line between the columns in the poster
26
+
27
+ \usepackage[svgnames]{xcolor} % Specify colors by their 'svgnames', for a full list of all colors available see here: http://www.latextemplates.com/svgnames-colors
28
+
29
+ \usepackage{times} % Use the times font
30
+ %\usepackage{palatino} % Uncomment to use the Palatino font
31
+
32
+ \usepackage{graphicx} % Required for including images
33
+ \graphicspath{{figures/}} % Location of the graphics files
34
+ \usepackage{booktabs} % Top and bottom rules for table
35
+ \usepackage[font=small,labelfont=bf]{caption} % Required for specifying captions to tables and figures
36
+ \usepackage{amsfonts, amsmath, amsthm, amssymb} % For math fonts, symbols and environments
37
+ \usepackage{wrapfig} % Allows wrapping text around tables and figures
38
+
39
+ <%=@header%>
40
+
41
+ \begin{document}
42
+
43
+ %----------------------------------------------------------------------------------------
44
+ % POSTER HEADER
45
+ %----------------------------------------------------------------------------------------
46
+
47
+ % The header is divided into two boxes:
48
+ % The first is 75% wide and houses the title, subtitle, names, university/organization and contact information
49
+ % The second is 25% wide and houses a logo for your university/organization or a photo of you
50
+ % The widths of these boxes can be easily edited to accommodate your content as you see fit
51
+
52
+ \begin{minipage}[b]{0.75\linewidth}
53
+ \veryHuge \color{NavyBlue} \textbf{<%=@long_title%>} \color{Black}\\ % Title
54
+ %\Huge\textit{An Exploration of Complexity}\\[2cm] % Subtitle
55
+ <% if !@alternative_author_string.to_s.empty? %>
56
+ <%= @alternative_author_string %>
57
+ <% else %>
58
+ \huge \textbf{<%=@first_author%> <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %> \& <%=@coauthor_list[i]%><% end %><% end %>}\\[0.5cm] % Author(s)
59
+ \huge <%=@first_affiliation%>\\[0.4cm] % University/organization
60
+ <% end %>
61
+ %\Large \texttt{john@LaTeXTemplates.com} --- 1 (000) 111 1111\\
62
+ \end{minipage}
63
+ %
64
+ \begin{minipage}[b]{0.25\linewidth}
65
+ %\includegraphics[width=20cm]{logo.png}\\
66
+ \end{minipage}
67
+
68
+ \vspace{1cm} % A bit of extra whitespace between the header and poster content
69
+
70
+ %----------------------------------------------------------------------------------------
71
+
72
+ \begin{multicols}{4} % This is how many columns your poster will be broken into, a portrait poster is generally split into 2 columns
73
+
74
+ %----------------------------------------------------------------------------------------
75
+ % ABSTRACT
76
+ %----------------------------------------------------------------------------------------
77
+
78
+ \color{Navy} % Navy color for the abstract
79
+
80
+ <%= @abstract_begin_end %>
81
+
82
+ \color{DarkSlateGray} % DarkSlateGray color for the rest of the content
83
+
84
+
@@ -0,0 +1,84 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % a0poster Portrait Poster
3
+ % LaTeX Template
4
+ % Version 1.0 (22/06/13)
5
+ %
6
+ % The a0poster class was created by:
7
+ % Gerlinde Kettl and Matthias Weiser (tex@kettl.de)
8
+ %
9
+ % This template has been downloaded from:
10
+ % http://www.LaTeXTemplates.com
11
+ %
12
+ % License:
13
+ % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
14
+ %
15
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16
+
17
+ %----------------------------------------------------------------------------------------
18
+ % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
19
+ %----------------------------------------------------------------------------------------
20
+
21
+ \documentclass[a0,portrait]{a0poster}
22
+
23
+ \usepackage{multicol} % This is so we can have multiple columns of text side-by-side
24
+ \columnsep=100pt % This is the amount of white space between the columns in the poster
25
+ \columnseprule=3pt % This is the thickness of the black line between the columns in the poster
26
+
27
+ \usepackage[svgnames]{xcolor} % Specify colors by their 'svgnames', for a full list of all colors available see here: http://www.latextemplates.com/svgnames-colors
28
+
29
+ \usepackage{times} % Use the times font
30
+ %\usepackage{palatino} % Uncomment to use the Palatino font
31
+
32
+ \usepackage{graphicx} % Required for including images
33
+ \graphicspath{{figures/}} % Location of the graphics files
34
+ \usepackage{booktabs} % Top and bottom rules for table
35
+ \usepackage[font=small,labelfont=bf]{caption} % Required for specifying captions to tables and figures
36
+ \usepackage{amsfonts, amsmath, amsthm, amssymb} % For math fonts, symbols and environments
37
+ \usepackage{wrapfig} % Allows wrapping text around tables and figures
38
+
39
+ <%=@header%>
40
+
41
+ \begin{document}
42
+
43
+ %----------------------------------------------------------------------------------------
44
+ % POSTER HEADER
45
+ %----------------------------------------------------------------------------------------
46
+
47
+ % The header is divided into two boxes:
48
+ % The first is 75% wide and houses the title, subtitle, names, university/organization and contact information
49
+ % The second is 25% wide and houses a logo for your university/organization or a photo of you
50
+ % The widths of these boxes can be easily edited to accommodate your content as you see fit
51
+
52
+ \begin{minipage}[b]{0.75\linewidth}
53
+ \veryHuge \color{NavyBlue} \textbf{<%=@long_title%>} \color{Black}\\ % Title
54
+ %\Huge\textit{An Exploration of Complexity}\\[2cm] % Subtitle
55
+ <% if !@alternative_author_string.to_s.empty? %>
56
+ <%= @alternative_author_string %>
57
+ <% else %>
58
+ \huge \textbf{<%=@first_author%> <% if !@coauthor_list.to_a.empty? %><% for i in (0..@coauthor_list.length-1) %> \& <%=@coauthor_list[i]%><% end %><% end %>}\\[0.5cm] % Author(s)
59
+ \huge <%=@first_affiliation%>\\[0.4cm] % University/organization
60
+ <% end %>
61
+ %\Large \texttt{john@LaTeXTemplates.com} --- 1 (000) 111 1111\\
62
+ \end{minipage}
63
+ %
64
+ \begin{minipage}[b]{0.25\linewidth}
65
+ %\includegraphics[width=20cm]{logo.png}\\
66
+ \end{minipage}
67
+
68
+ \vspace{1cm} % A bit of extra whitespace between the header and poster content
69
+
70
+ %----------------------------------------------------------------------------------------
71
+
72
+ \begin{multicols}{2} % This is how many columns your poster will be broken into, a portrait poster is generally split into 2 columns
73
+
74
+ %----------------------------------------------------------------------------------------
75
+ % ABSTRACT
76
+ %----------------------------------------------------------------------------------------
77
+
78
+ \color{Navy} % Navy color for the abstract
79
+
80
+ <%= @abstract_begin_end %>
81
+
82
+ \color{DarkSlateGray} % DarkSlateGray color for the rest of the content
83
+
84
+
data/styles/aa.tex.erb ADDED
@@ -0,0 +1,46 @@
1
+ % aa.dem
2
+ % AA vers. 8.2, LaTeX class for Astronomy & Astrophysics
3
+ % demonstration file
4
+ % (c) EDP Sciences
5
+ %-----------------------------------------------------------------------
6
+ %
7
+ %\documentclass[referee]{aa} % for a referee version
8
+ %\documentclass[onecolumn]{aa} % for a paper on 1 column
9
+ %\documentclass[longauth]{aa} % for the long lists of affiliations
10
+ %\documentclass[rnote]{aa} % for the research notes
11
+ %\documentclass[letter]{aa} % for the letters
12
+ %\documentclass[bibyear]{aa} % if the references are not structured
13
+ % according to the author-year natbib style
14
+
15
+ %
16
+ \documentclass[referee]{aa}
17
+
18
+ %
19
+ %\usepackage{graphicx}
20
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21
+ \usepackage{txfonts}
22
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
23
+ %\usepackage[options]{hyperref}
24
+ % To add links in your PDF file, use the package "hyperref"
25
+ % with options according to your LaTeX or PDFLaTeX drivers.
26
+ %
27
+ %\usepackage{natbib}
28
+
29
+ <%=@default_packages%>
30
+
31
+ <%=@header%>
32
+
33
+ \begin{document}
34
+
35
+ \title{<%=@long_title%>}
36
+ <% if !@alternative_author_string.to_s.empty? %>
37
+ <%= @alternative_author_string %>
38
+ <% else %>
39
+ \author{<%=@first_author%><% if !@coauthor_list.to_a.empty? %><% for author in @coauthor_list %> \and <%=author%><% end %><% end %>}
40
+
41
+ \institute{<%=@first_affiliation%><% if !@coauthor_affiliations.to_a.empty? %><% for affiliation in @coauthor_affiliations %> \and <%=affiliation%><% end %><% end %>}
42
+ <% end %>
43
+
44
+ <%= @abstract_command %>
45
+
46
+ \maketitle
@@ -0,0 +1,45 @@
1
+ % aa.dem
2
+ % AA vers. 8.2, LaTeX class for Astronomy & Astrophysics
3
+ % demonstration file
4
+ % (c) EDP Sciences
5
+ %-----------------------------------------------------------------------
6
+ %
7
+ %\documentclass[referee]{aa} % for a referee version
8
+ %\documentclass[onecolumn]{aa} % for a paper on 1 column
9
+ %\documentclass[longauth]{aa} % for the long lists of affiliations
10
+ %\documentclass[rnote]{aa} % for the research notes
11
+ %\documentclass[letter]{aa} % for the letters
12
+ %\documentclass[bibyear]{aa} % if the references are not structured
13
+ % according to the author-year natbib style
14
+
15
+ %
16
+ \documentclass[onecolumn]{aa}
17
+
18
+ %
19
+ %\usepackage{graphicx}
20
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21
+ \usepackage{txfonts}
22
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
23
+ %\usepackage[options]{hyperref}
24
+ % To add links in your PDF file, use the package "hyperref"
25
+ % with options according to your LaTeX or PDFLaTeX drivers.
26
+ %
27
+ %\usepackage{natbib}
28
+
29
+ <%=@default_packages%>
30
+
31
+ <%=@header%>
32
+
33
+ \begin{document}
34
+
35
+ \title{<%=@long_title%>}
36
+ <% if !@alternative_author_string.to_s.empty? %>
37
+ <%= @alternative_author_string %>
38
+ <% else %>
39
+ \author{<%=@first_author%><% if !@coauthor_list.to_a.empty? %><% for author in @coauthor_list %> \and <%=author%><% end %><% end %>}
40
+
41
+ \institute{<%=@first_affiliation%><% if !@coauthor_affiliations.to_a.empty? %><% for affiliation in @coauthor_affiliations %> \and <%=affiliation%><% end %><% end %>}
42
+ <% end %>
43
+ <%= @abstract_command %>
44
+
45
+ \maketitle