我正在使用現代主題https://github.com/matze/mtheme。當我嘗試在一張投影片中使用雙欄時,頁邊距的大小不同。我的程式碼如下:
\documentclass{beamer}
\usetheme{metropolis} % Use metropolis theme
\begin{document}
\begin{frame}{Introduction: Current Government - Political Change}
\begin{columns}[t]
\begin{column}{0.5\textwidth}
\begin{center}
\textbf{Political Change: Ministry Creation}
{\small \begin{itemize}
\item Ministry of Family, Community, Cooperative and Associative Economy.
\begin{itemize}
\item Work for the multiplication, strengthening, development and promotion of the Small Business of the Family Economy.
\item Focus on: Tourism, gastronomy, handicrafts, production of the family agriculture and services to the tourism.
\end{itemize}
\end{itemize}}
\end{center}
\end{column}
\vrule{}
\begin{column}{0.5\textwidth} %%<--- here
\begin{center}
\textbf{Characteristics of the self-employed workers:}
{\small \begin{itemize}
\item Ministry of Family, Community, Cooperative and Associative Economy.
\begin{itemize}
\item
\end{itemize}
\end{itemize}}
\end{center}
\end{column}
\end{columns}
\end{frame}
\end{document}
我的結果是:
我該怎麼做才能獲得相同的利潤?
此致,
答案1
每兩列.5\textwidth
不能放在幻燈片上,因為兩列之間有一段距離。使用onlytextwidth
或更小的色譜柱,或者兩者都使用更好。
\documentclass{beamer}
\usetheme{metropolis} % Use metropolis theme
\begin{document}
\begin{frame}{your frame}
\begin{columns}[t]
\begin{column}{0.5\textwidth}
\rule{\textwidth}{3cm}
\end{column}
\vrule{}
\begin{column}{0.5\textwidth}
\rule{\textwidth}{3cm}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{onlytextwidth}
\begin{columns}[t, onlytextwidth]
\begin{column}{0.5\textwidth}
\rule{\textwidth}{3cm}
\end{column}
\vrule{}
\begin{column}{0.5\textwidth}
\rule{\textwidth}{3cm}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{smaller columns}
\begin{columns}[t]
\begin{column}{0.45\textwidth}
\rule{\textwidth}{3cm}
\end{column}
\vrule{}
\begin{column}{0.45\textwidth}
\rule{\textwidth}{3cm}
\end{column}
\end{columns}
\end{frame}
\begin{frame}
\rule{\textwidth}{3cm}
\end{frame}
\end{document}