Warning
Starting from version 1.0.0, a cleaner tex can be generated for direct submission to journals or conferences. This is achieved by directly constructing the template with only partials that are absolutely necessary. There are still some rough edges in this extension, especially on the handling of the
authors and affiliationsin the title block. Use with caution. Contribution welcomed!
This is a Quarto template that assists you in creating a manuscript for American Society of Civil Engineers journals and conference proceedings. You can learn more about the format requirements on the ASCE website and the Overleaf template, which this Quarto template was based off.
The "ascelike-new.cls" class and "ascelike-new.bst" citation style is from Overleaf developed by Matthew R. Kuhn.
Starting from Version 1.0.0, we are no longer using Pandoc's citproc, but rely on the original ascelike-new.bst citation file using natbib as the citation method.
You can use this as a template to create an article for an AFT journal. To do this, use the following command:
quarto use template juliantao/quarto-asceThis will install the extension and create an example qmd file and bibiography that you can use as a starting place for your article.
You may also use this format with an existing Quarto project or document. From the quarto project or document directory, run the following command to install this format:
quarto install extension juliantao/quarto-asceTo use the format, you can use the format names asce-pdf. For example:
quarto render article.qmd --to asce-pdfor in your document yaml
format:
pdf: default
asce-pdf:
keep-tex: true You can view a preview of the rendered template at https://github.com/juliantao/quarto-asce/blob/main/style-guide/asce-template.pdf.
The title block, document classes, and other document options can be set in the yaml header.
For example, to generate the example PDF file, the following yaml header is used
title: |
Template for Preparing Your Submission to the
American Society Of Civil Engineers (ASCE)
author:
- name: Author One, S.M. ASCE
affiliations: Graduate Research Associate, First affiliation address
email: author.one@email.com
- name: Author Two, M. ASCE
affiliations: Assistant Professor, Second affiliation address
email: author.two@email.com
- name: Author three, A.M. ASCE
affiliations: Associate Professor, Third affiliation address
email: author.three@email.com
corresponding: true
code-highlighter: true # This line can be removed for most cases to keep the tex file cleaner.
abstract: |
The abstract should be a single paragraph (150-175 words long) written
in plain language and include a summary of the key conclusions of the
manuscript. It should clearly state the purpose of the work, the scope
of the effort, the procedures used to execute the work, and major
findings. The abstract is the second most important online search
discovery element, after the title. Authors should review the abstract
to ensure that it accurately reflects the revised paper and should
strive to include any applicable keywords that would likely be used
during an online search. Mathematics and references are not permitted
in the abstract and will be removed by the copyeditors.
keywords: template, quarto, asce
bibliography: references.bib
format:
asce-pdf:
keep-tex: true
publication-type: NewProceedings
footer-lastname: Author1
classoption: [InsideFigs, LineNumbers]
-
It is recommended to use raw
\LaTeXcode blocks to construct tables for PDF output.
Label your table using the format\label{tbl-xx}and cite it in the text withTable~\ref{tbl-xx}.
For HTML output, use a Markdown table wrapped in a conditional div:
.content-visible when-format="html". -
If you use a Markdown table for PDF rendering, the
table-replacement.luafilter will convert it to atabularenvironment (notlongtable).
Thebooktabspackage is still applied for improved formatting.
For example, Table~\ref{tbl-assembly} is rendered directly from a Markdown table. -
If a
longtableenvironment is required (e.g., for multi-page tables), you can use raw LaTeX within a{=latex}code block.
Table \ref{tbl-longtable} demonstrates a table created this way. The downside is that forJournaloption, the table will be placed in instead of after the main text. However, the caption will still be included in theList of Tables. This will mess up the Table numbers and your firstlongtablewill always be the Table 1 since it appears in the text. So a suggestions is, avoid usinglongtableif possible.
When set to true, Quarto’s default code highlighting style is included, which adds a lengthy block to the LaTeX preamble. In most cases, this is unnecessary.
In this example, it is enabled to demonstrate the highlighted YAML block above. To produce a cleaner .tex file for submission, simply remove this line from your YAML header.
For now, I prefer to use a simplified way to define the authors and affiliations: just use name, affiliations, email and corresponding fields. See above yaml header.
I may change this in the future.
For more detailed setups, see quarto document.
The document class ascelike-new.cls provides several options given
below.
The Proceedings|Journal|NewProceedings option is the most
important; the other options are largely incidental.
In a quarto document, use publication-type to specify the overall format.
-
Options
Journal|Proceedings|NewProceedingsspecify the overall format of the output manuscript.Journalproduces double-spaced manuscripts for ASCE journals. As default settings, it places tables and figures at the end of the manuscript and produces lists of tables and figures. It places line numbers within the left margin.Proceedingsproduces older-style camera-ready single-spaced manuscripts for ASCE conference proceedings. The newer ASCE style is enacted with theNewProceedingsoption.NewProceedingsproduces newer-style single-spaced manuscripts for ASCE conference proceedings, as shown on the ASCE website (ca. 2013). As default settings,NewProceedingsplaces figures and tables within the text. It does not place line numbers within the left margin.If desired, the bottom right corner can be "tagged" with the author's name (this can be done by inserting the command
\NameTag{<your name>}within the preamble of your document). All of the default settings can be altered with the options that are described below.
Use classoption to specify the following options.
-
Options
BackFigs|InsideFigscan be used to override the default placement of tables and figures in theJournal,Proceedings, andNewProceedingsformats. -
Options
SingleSpace|DoubleSpacecan be used to override the default text spacing in theJournal,Proceedings, andNewProceedingsformats. -
Options
10pt|11pt|12ptcan be used to override the default text size (12pt). -
The option
NoListssuppresses inclusion of lists of tables and figures that would normally be included in theJournalformat. -
The option
NoPageNumberssuppresses the printing of page numbers. -
The option
SectionNumbersproduces an automatic numbering of sections. Without theSectionNumbersoption, sections will not be numbered, as this seems to be the usual formatting in ASCE journals (note that the Appendixes will, however, be automatically "numbered" with Roman numerals). With theSectionNumbersoption, sections and subsections are numbered with Arabic numerals (e.g. 2, 2.1, etc.), but subsubsection headings will not be numbered. -
The options
NoLineNumbers|LineNumberscan be used to override the default use (or absence) of line numbers in theJournal,Proceedings, andNewProceedingsformats.