表格缩进不起作用

表格缩进不起作用

因此我有以下代码设置:

\documentclass[12pt]{beamer}
\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,landscape]
%\pgfpagesuselayout{2 on 1}[a4paper]
%\usetheme{Singapore}
\usetheme{Boadilla}
%\usefonttheme[?options?]{structuresmallcapsserif}
%\definecolor{beamer@blendedblue}{RGB}{203,140,55} % changed this
\definecolor{beamer@blendedblue}{RGB}{0,102,102} % changed this
%\definecolor{beamer@blendedblue}{RGB}{0,153,153} % changed this
\usefonttheme{professionalfonts} %To get the accents aligned correctly, albeit in Computer Modern Roman
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\begin{document}
    \begin{frame}
        \begin{table}[h]
            \centering
            \begin{tabular}{p{6cm}|p{6cm}}
                \centering{Nonlinear Systems} & \centering{Linear Systems}\\
                \hline
                \begin{itemize}
                    \item More realistic
                    \item Usually difficult to analyze and design
                    \item Can have multiple equilibria
                    \item System stability may depend on initial condition
                    \item Limit cycle (self-sustained oscillations)
                    \item Bifurcations (number of equilibrium points and their stability nature may vary with parameter values)
                    \item Chaos (very small difference in initial conditions can lead to large difference in output as time increases)
                    \item Frequency and amplitude can be coupled
                \end{itemize}
            \end{tabular}
        \end{table}
    \end{frame}
\end{document}

输出:

在此处输入图片描述

我也收到一个错误:

Misplaced \noalign. \end{frame}

我想做的是itemize在两列上创建一个环境,但出于某种原因,当我执行\centering该部分时Linear Systems,出现了该错误。此外,原本应该在左列的逐项列表被移到了右侧。如何修复它?

相关内容