![投影机中带有标题的两列项目](https://linux22.com/image/361929/%E6%8A%95%E5%BD%B1%E6%9C%BA%E4%B8%AD%E5%B8%A6%E6%9C%89%E6%A0%87%E9%A2%98%E7%9A%84%E4%B8%A4%E5%88%97%E9%A1%B9%E7%9B%AE.png)
在下图中您可以清楚地看到标题和项目没有对齐。
这是上图的代码,
\begin{frame}
\frametitle{Applications of nanofluids}
\begin{columns}
\column{0.5\textwidth}\centering
{\bf{Heat Transfer Applications}}\\[.2cm]
\begin{itemize}
\item Industrial Cooling Applications
\item Nuclear Reactors
\item Extraction of Geothermal Power\\[.2cm]
\end{itemize}
\column{0.5\textwidth}\centering
{\bf{Automotive Applications}}\\[.2cm]
\begin{itemize}
\item Nanofluid Coolant
\item Nanofluid in Fuel
\item Nanofluid in Fuel\\[.2cm]
\end{itemize}
\end{columns}
\begin{columns}
\column{0.5\textwidth}\centering
{\bf{Electronic Applications}}\\[.2cm]
\begin{itemize}
\item Cooling of Microchips
\item Microscale Fluidic Applications
\end{itemize}
\column{0.5\textwidth}\centering
{\bf{Biomedical Applications}}\\[.2cm]
\begin{itemize}
\item Nanodrug Delivery
\item Nanocryosurgery
\end{itemize}
\end{columns}
\end{frame}
有什么建议可以改进它并使它看起来更好吗?
答案1
为了使标题水平对齐,我建议使用顶部对齐columns
环境,对于垂直对齐,请删除\centering
并且不要使用\bf
。
\documentclass{beamer}
\begin{document}
\begin{frame}
\frametitle{Applications of nanofluids}
\begin{columns}[onlytextwidth,t]
\begin{column}{0.48\textwidth}
\textbf{Heat Transfer Applications}
\begin{itemize}
\item Industrial Cooling Applications
\item Nuclear Reactors
\item Extraction of Geothermal Power
\end{itemize}
\end{column}
\begin{column}{0.48\textwidth}
\textbf{Automotive Applications}
\begin{itemize}
\item Nanofluid Coolant
\item Nanofluid in Fuel
\item Nanofluid in Fuel
\end{itemize}
\end{column}
\end{columns}
\bigskip
\begin{columns}[onlytextwidth,t]
\begin{column}{0.48\textwidth}
\textbf{Electronic Applications}
\begin{itemize}
\item Cooling of Microchips
\item Microscale Fluidic Applications
\end{itemize}
\end{column}
\begin{column}{0.48\textwidth}
\textbf{Biomedical Applications}
\begin{itemize}
\item Nanodrug Delivery
\item Nanocryosurgery
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}