Skip to content

Commit

Permalink
Bold author names (addresses #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Sep 7, 2022
1 parent 5499801 commit 65f2b43
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _extensions/arxiv/_extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: ArXiv Template
author: Mike Mahoney
version: 0.1.3
version: 0.1.4
contributes:
formats:
common:
Expand Down
4 changes: 2 additions & 2 deletions _extensions/arxiv/partials/_authors.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$-- You can use as many custom partials as you need. Convention is to prefix name with '_'
$-- It can be useful to use such template to split some template parts in smaller pieces, which is easier to reuse.
$-- It can be useful to use such template to split some template parts in smaller pieces, which is easier to reuse.
$-- This '_custom.tex' is used on 'title.tex' as example.
$-- See other existing format in quarto-journals/ organisation.
$-- %%%% TODO %%%%%
$-- Use it if you need to insert content at this specific place of the main Pandoc's template. Otherwise, remove it.
$-- Here we are using it to format the authors part of the template.
$-- %%%%%%%%%%%%%%%

$it.name.literal$$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$$for(it.affiliations/first)$\\$it.department$\\$it.name$\\$if(it.city)$$it.city$$if(it.postal-code)$,\ $it.postal-code$$endif$$endif$$endfor$\\$if(it.email)$\href{mailto:$it.email$}{$it.email$}$endif$
\textbf{$it.name.literal$}$if(it.orcid)$~\orcidlink{$it.orcid$}$endif$$for(it.affiliations/first)$\\$it.department$\\$it.name$\\$if(it.city)$$it.city$$if(it.postal-code)$,\ $it.postal-code$$endif$$endif$$endfor$\\$if(it.email)$\href{mailto:$it.email$}{$it.email$}$endif$
15 changes: 11 additions & 4 deletions template.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ See the [Pandoc Citations](https://pandoc.org/MANUAL.html#citations) documentati
Quarto uses the standard Pandoc markdown representation for citations. Here are some examples:
+-------------------------------------------+---------------------------------------------------------------------+
| Markdown Format | Output |
+===========================================+=====================================================================+
Expand All @@ -183,10 +184,16 @@ Quarto uses the standard Pandoc markdown representation for citations. Here are
+-------------------------------------------+---------------------------------------------------------------------+
| Wickham says blah [-@wickham2015] | Wickham says blah [-@wickham2015] |
+-------------------------------------------+---------------------------------------------------------------------+
| @knuth1984 says blah. | @knuth1984 says blah. |
+-------------------------------------------+---------------------------------------------------------------------+
| @knuth1984 [p. 33] says blah. | @knuth1984 [p. 33] says blah. |
+-----------------------------------+-----------------------------------------------------------------------------+
You can also write in-text citations, as follows:
+-----------------------------------+-------------------------------+
| Markdown Format | Output |
+===================================+===============================+
| @knuth1984 says blah. | @knuth1984 says blah. |
+-----------------------------------+-------------------------------+
| @knuth1984 [p. 33] says blah. | @knuth1984 [p. 33] says blah. |
+-----------------------------------+-------------------------------+
See the [Pandoc Citations](https://pandoc.org/MANUAL.html#citations) documentation for additional information on citation syntax.
Expand Down

0 comments on commit 65f2b43

Please sign in to comment.