Skip to content

Commit

Permalink
Merge pull request #169 from rycolab/updated_invited_talk
Browse files Browse the repository at this point in the history
Fix Title Clashes and Enhance Customization for Invited Talks
  • Loading branch information
marcopoli authored Feb 17, 2024
2 parents 536b8c3 + b2d5b51 commit 60d093f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,16 @@ As with the prefaces, the contents of the `.tex` files should not include usual
and only what is usually found between the `\begin{document}` and `\end{document}` directives.

```yaml
- speaker_name: Speaker name as it should appear, e.g. Jane Doe
institution: Speaker's institution name as it should appear, e.g. University of California Berkeley, USA
title: The title of the talk.
abstract_file: Path to abstract LaTeX file relative to the invited_talks/ directory.
bio_file: Path to bio LaTeX file relative to the invited_talks/ directory.
- speaker_name: "Speaker name as it should appear, e.g., Jane Doe"
institution: "Speaker's institution name as it should appear, e.g., University of California Berkeley, USA"
title: "The title of the talk."
abstract_file: "Path to the abstract's LaTeX file relative to the invited_talks/ directory, e.g., invited_talks/jane_doe_abstract.tex"
bio_file: "Path to the bio's LaTeX file relative to the invited_talks/ directory e.g., invited_talks/jane_doe_bio.tex"
photo: "Path to the speaker's photo, relative to the invited_talks/ directory e.g., invited_talks/jane_doe_photo.jpg"
date: "Day of the invited talk, e.g., Mon, March 18, 2024"
time: "Time of the invited talk, e.g., 09:00 -- 10:00"
location: "Location of the invited talk, e.g., Room A"
custom_prefix: "Custom title for the page, e.g., Distinguished Lecture. This field allows customizing the default title of the page. If not provided, 'Keynote' is used."
```

#### papers.yml
Expand Down
11 changes: 9 additions & 2 deletions aclpub2/templates/proceedings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,13 @@
\phantomsection
\addcontentsline{toc}{section}{Keynote Talk: \VAR{talk.title}}
\begin{center}
{\LARGE \textbf{Keynote Talk: \VAR{talk.title}}\\}
\BLOCK{if talk.custom_prefix}
{\Large \textbf{\VAR{talk.custom_prefix}}\\}
{\LARGE \textbf{\VAR{talk.title}}\\}
\BLOCK{else}
{\Large \textbf{Keynote Talk}\\}
{\LARGE \textbf{\VAR{talk.title}}\\}
\BLOCK{endif}
\vspace*{0.5cm}
%\begin{minipage}[c][0.35\linewidth][c]{0.35\linewidth}
% \end{minipage}\\
Expand Down Expand Up @@ -285,7 +291,8 @@
\phantomsection
\addcontentsline{toc}{section}{Panel: \VAR{panel.title}}
\begin{center}
{\LARGE \textbf{Panel: \VAR{panel.title}}}
{\Large \textbf{Panel}\\}
{\LARGE \textbf{\VAR{panel.title}}\\}

\BLOCK{if panel.photo}
\begin{center}
Expand Down

0 comments on commit 60d093f

Please sign in to comment.