Skip to content

Commit

Permalink
Improve documentation formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ball committed Apr 14, 2021
1 parent aaefb2a commit e0d8076
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions beamerswitch.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ Copyright (C) 2016-2021 by Alex Ball <[email protected]>
}
, documentation minted options=
{ breaklines
, fontsize=\small
, breakbefore=\{\[
, breakafter=/\}\]
, breakbeforesymbolpre={}
Expand Down Expand Up @@ -538,14 +539,13 @@ If you have an existing \pkg{beamer} presentation and want convert it to use

\begin{tcbraster}[raster equal height=rows]
\begin{dispListing*}{title=Before,coltitle=black,fonttitle=\sffamily}
\documentclass[10pt, xcolor={svgnames}]{beamer}
\documentclass[10pt]{beamer}
\end{dispListing*}
\begin{dispListing*}{title=After,coltitle=black,fonttitle=\sffamily}
\documentclass[beameroptions={10pt, xcolor={svgnames}}]{beamerswitch}
\documentclass[beameroptions={10pt}]{beamerswitch}
\end{dispListing*}
\end{tcbraster}

\newpage
If you didn't specify any options, then give \key{beameroptions} a blank
value:

Expand All @@ -566,7 +566,7 @@ If you have an existing \pkg{beamer} presentation and want convert it to use
\documentclass[ignorenonframetext]{beamer}
\end{dispListing*}
\begin{dispListing*}{title=After,coltitle=black,fonttitle=\sffamily}
\documentclass {beamerswitch}
\documentclass{beamerswitch}
\end{dispListing*}
\end{tcbraster}

Expand Down Expand Up @@ -606,7 +606,7 @@ At this point the document should compile exactly as before.

If you intend to use article mode at all, I strongly suggest that you
proceed by converting your document body so it that works with \pkg{beamer}'s
\val{ignorenonframetext} option in place. That means making sure all slide
\key{ignorenonframetext} option in place. That means making sure all slide
content is in a \env{frame} environment, new command definitions are moved
to the preamble, and so on.

Expand Down Expand Up @@ -886,8 +886,8 @@ If you want to switch to using \texttt{rubber}, say, pre-define
\documentclass{beamerswitch}
\end{dispListing}

If you don't need the engine selection routine provided, simply pre-define
\cs{BeamerswitchSpawn} to do whatever you need it to do:
If you don't need the engine selection routine provided, you can replace it
by pre-defining \cs{BeamerswitchSpawn} to do whatever you need it to do instead:

\begin{dispListing}
\newcommand*{\BeamerswitchSpawn}[1]{%
Expand Down

0 comments on commit e0d8076

Please sign in to comment.