Definieren Sie eine benutzerdefinierte Umgebung in Beamer

Definieren Sie eine benutzerdefinierte Umgebung in Beamer

Ich hätte gerne eine Skriptumgebung, in der ich für jede Folie Skripte schreiben könnte.

Ich weiß nicht, ob Beamer über eine solche Umgebung verfügt, daher versuche ich, wie folgt meine eigene zu erstellen.

Ich möchte, dass diese Skriptumgebung:

  • haben eine größere Breite als die Folien von Beamer
  • haben einige obere und untere Ränder
\documentclass[11pt]{beamer}

\makeatletter
\newenvironment{script}{
\begin{columns}
    \begin{column}{1.1\textwidth}
        \setlength{\parindent}{0.5cm}
        \par\vspace{\baselineskip}\noindent
        \scriptsize
}{
    \end{column}
\end{columns}
\par\vspace{\baselineskip}\noindent\ignorespaces
}
\makeatother

\begin{document}

\begin{script}
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
\end{script}

\end{document}

Das aktuelle Problem ist jedoch, dass vor dem ersten Buchstaben des ersten Blocks ein kleines Leerzeichen steht. Ich hoffe, dass wir dieses Leerzeichen entweder vollständig entfernen (vorzugsweise) oder als zweiten Block eine Einrückung einbauen.

Weiß jemand, wie man das behebt?

Bildbeschreibung hier eingeben

verwandte Informationen