Skip to content

Commit

Permalink
fixed missing \newline if ragged2e is used together with beamerarti…
Browse files Browse the repository at this point in the history
…cle (#901)
  • Loading branch information
samcarter authored Jun 18, 2024
1 parent 2b0d22e commit 01db575
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ a major and minor version only.

- fixed problem if inmargin theme is used with the `usepdftitle=false` class option (see #885)
- fixed spacing problem for right-aligned frametitles without background colour
- fixed missing `\newline` if ragged2e is used together with beamerarticle (#900)

## [v3.71]

Expand Down
15 changes: 15 additions & 0 deletions base/beamerbasecompatibility.sty
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,21 @@
}
}

%
% Fix for ragged2e in article mode (#900)
%
\mode
<article>
{
\def\@raggedtwoe@centercrNoindent{%
\AddToHookNext{para/begin}{%
\ifx\@raggedtwoe@everyselectfont\relax\else
\OmitIndent
\fi
}%
\beamer@origbreakcenter
}%
}

%
% Obsolete commands from old versions of beamer
Expand Down

0 comments on commit 01db575

Please sign in to comment.