-
Notifications
You must be signed in to change notification settings - Fork 525
add jasa_article() #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
add jasa_article() #364
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
8496de9
add jasa_article()
b225c4f
fix package name
c88deda
remove unnecessary comment
5c9edaa
capitalise template name
ddc9935
remove font options from template
e1f53ec
remove biblatex
2e5e455
add comment for pandoc highlighting macros
94050bf
add yaml variable acknowledgements
7736eff
remove acknowledgements and appendix from skeleton
20b2f9d
use custom blocks for acknowledgements and appendices
8da2be7
add optional date
c4ee87b
use backtick fenced blocks for showing code
315d6fb
add preprint/reprint and their options in the yaml of jasa article
fa7abd7
remove unused acknowledgements code in jasa template
4239218
use markdown for appendices headings in jasa skeleton
5f9cd0f
avoid new pandoc syntax in jasa article
ce40de2
add bib examples in jasa articles; use natbib by default
ce83566
add figure and maths examples in jasa article
51e9f9a
include install of revtex4-1 for jasa template if tinytex
4649ed5
update revtex4-1 notice for non-TinyTex users
02de236
add acknowledgement to NEWS.md
cderv 1d072d7
natbib is the default but can be changed
cderv 2bd5526
Add PR number to README
cderv 816557d
Add required code for Pandoc citeproc
cderv 350d2cc
prerint_notice -> preprint_notice
cderv 5bc2ba4
precision on the date
cderv 9974ecc
Place the field after classoption comments
cderv 969dd81
style
cderv 5f77403
Let the doc install the package
cderv d4b3686
missing doc
cderv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,203 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
% JASA LaTeX Template File | ||
% To make articles using JASA.cls, Version 1.1 | ||
% September 14, 2019 | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
||
%% Step 1: | ||
%% Uncomment the style that you want to use: | ||
|
||
%%%%%%% For Preprint | ||
%% For manuscript, 12pt, one column style | ||
|
||
\documentclass[$for(classoption)$$classoption$$sep$,$endfor$]{JASA} | ||
|
||
%%%%% Preprint Options %%%%% | ||
%% The track changes option allows you to mark changes | ||
%% and will produce a list of changes, their line number | ||
%% and page number at the end of the article. | ||
%\documentclass[preprint,trackchanges]{JASA} | ||
|
||
|
||
%% NumberedRefs is used for numbered bibliography and citations. | ||
%% Default is Author-Year style. | ||
%% \documentclass[preprint,NumberedRefs]{JASA} | ||
|
||
%%%%%%% For Reprint | ||
%% For appearance of finished article; 2 columns, 10 pt fonts | ||
|
||
% \documentclass[reprint]{JASA} | ||
|
||
%%%%% Reprint Options %%%%% | ||
|
||
%% For testing to see if author has exceeded page length request, use 12pt option | ||
%\documentclass[reprint,12pt]{JASA} | ||
|
||
|
||
%% NumberedRefs is used for numbered bibliography and citations. | ||
%% Default is Author-Year style. | ||
% \documentclass[reprint,NumberedRefs]{JASA} | ||
|
||
%% TurnOnLineNumbers | ||
%% Make lines be numbered in reprint style: | ||
% \documentclass[reprint,TurnOnLineNumbers]{JASA} | ||
|
||
$if(natbib)$ | ||
\usepackage{natbib} | ||
$endif$ | ||
|
||
$if(listings)$ | ||
\usepackage{listings} | ||
$endif$ | ||
$if(lhs)$ | ||
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} | ||
$endif$ | ||
|
||
% Pandoc syntax highlighting | ||
$if(highlighting-macros)$ | ||
stefanocoretta marked this conversation as resolved.
Show resolved
Hide resolved
|
||
$highlighting-macros$ | ||
$endif$ | ||
|
||
% Pandoc citation processing | ||
$if(csl-refs)$ | ||
\newlength{\csllabelwidth} | ||
\setlength{\csllabelwidth}{3em} | ||
\newlength{\cslhangindent} | ||
\setlength{\cslhangindent}{1.5em} | ||
% for Pandoc 2.8 to 2.10.1 | ||
\newenvironment{cslreferences}% | ||
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}% | ||
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}% | ||
{\par} | ||
% For Pandoc 2.11+ | ||
\newenvironment{CSLReferences}[3] % #1 hanging-ident, #2 entry spacing | ||
{% don't indent paragraphs | ||
\setlength{\parindent}{0pt} | ||
% turn on hanging indent if param 1 is 1 | ||
\ifodd #1 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi | ||
% set entry spacing | ||
\ifnum #2 > 0 | ||
\setlength{\parskip}{#2\baselineskip} | ||
\fi | ||
}% | ||
{} | ||
\usepackage{calc} % for calculating minipage widths | ||
\newcommand{\CSLBlock}[1]{#1\hfill\break} | ||
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}} | ||
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}} | ||
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1} | ||
$endif$ | ||
|
||
$if(verbatim-in-note)$ | ||
\usepackage{fancyvrb} | ||
\VerbatimFootnotes % allows verbatim text in footnotes | ||
$endif$ | ||
|
||
$for(header-includes)$ | ||
$header-includes$ | ||
$endfor$ | ||
|
||
\begin{document} | ||
%% the square bracket argument will send term to running head in | ||
%% preprint, or running foot in reprint style. | ||
|
||
\title[$if(shorttitle)$$shorttitle$$endif$]{$title$} | ||
|
||
% ie | ||
%\title[JASA/Sample JASA Article]{Sample JASA Article} | ||
|
||
%% repeat as needed | ||
|
||
$for(author)$ | ||
\author{$author.name$} | ||
% ie | ||
%\affiliation{Department1, University1, City, State ZipCode, Country} | ||
\affiliation{$author.affiliation$} | ||
%% for corresponding author | ||
$if(author.email)$\email{$author.email$}$endif$ | ||
%% for additional information | ||
$if(author.thanks)$\thanks{$author.thanks$}$endif$ | ||
$endfor$ | ||
|
||
% ie | ||
% \author{Author Four} | ||
% \email{author.four@university.edu} | ||
% \thanks{Also at Another University, City, State ZipCode, Country.} | ||
|
||
%% For preprint only, | ||
% optional, if you want want this message to appear in upper left corner of title page | ||
$if(preprint_notice)$\preprint{$preprint_notice$}$endif$ | ||
|
||
%ie | ||
%\preprint{Author, JASA} | ||
|
||
% optional, if desired: | ||
%\date{\today} | ||
$if(date)$\date{\today}$endif$ | ||
|
||
$if(abstract)$ | ||
\begin{abstract} | ||
% Put your abstract here. Abstracts are limited to 200 words for | ||
% regular articles and 100 words for Letters to the Editor. Please no | ||
% personal pronouns, also please do not use the words ``new'' and/or | ||
% ``novel'' in the abstract. An article usually includes an abstract, a | ||
% concise summary of the work covered at length in the main body of the | ||
% article. | ||
$abstract$ | ||
\end{abstract} | ||
$endif$ | ||
|
||
%% pacs numbers not used | ||
|
||
\maketitle | ||
|
||
% End of title page for Preprint option --------------------------------- % | ||
|
||
%% See preprint.tex/.pdf or reprint.tex/.pdf for many examples | ||
|
||
$for(include-before)$ | ||
$include-before$ | ||
$endfor$ | ||
|
||
% Body of the article | ||
$body$ | ||
|
||
% ------------------------------------------------------------------------------------------------------------------- | ||
% Appendix (optional) | ||
|
||
%\appendix | ||
%\section{Appendix title} | ||
|
||
%If only one appendix, please use | ||
%\appendix* | ||
%\section{Appendix title} | ||
stefanocoretta marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
%======================================================= | ||
|
||
%Use \bibliography{<name of your .bib file>}+ | ||
%to make your bibliography with BibTeX. | ||
stefanocoretta marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
%======================================================= | ||
|
||
$if(natbib)$ | ||
$if(bibliography)$ | ||
$if(biblio-title)$ | ||
$if(book-class)$ | ||
\renewcommand\bibname{$biblio-title$} | ||
$else$ | ||
\renewcommand\refname{$biblio-title$} | ||
$endif$ | ||
$endif$ | ||
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} | ||
$endif$ | ||
$endif$ | ||
$if(biblatex)$ | ||
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ | ||
$endif$ | ||
|
||
$for(include-after)$ | ||
$include-after$ | ||
$endfor$ | ||
|
||
\end{document} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.