Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions news/changelog-1.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@

- [#5546](https://github.com/quarto-dev/quarto-cli/issues/5546): Images inside links can't be stretched, and so auto-stretch feature now ignores them.

## PDF Format

- [#5620](https://github.com/quarto-dev/quarto-cli/discussions/5620): Add `title-short` option.

## Website Listings

- ([#5371](https://github.com/quarto-dev/quarto-cli/issues/5371)): Properly compute the trimmed length of descriptions included in listings.
Expand Down
2 changes: 1 addition & 1 deletion src/resources/formats/pdf/pandoc/title.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
\title$if(title-short)$[$title-short$]$endif${$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
$if(beamer)$
Expand Down
15 changes: 15 additions & 0 deletions tests/docs/smoke-all/2023/05/21/5620-amsart.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Short title
_quarto:
tests:
pdf:
documentclass: amsart
title-short: Short title works
---

## Foo

\pagebreak

## Bar

12 changes: 12 additions & 0 deletions tests/docs/smoke-all/2023/05/21/5620-beamer.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Short title
_quarto:
tests:
beamer:
title-short: Short title works
---

## Foo

## Bar