我在演示smartdiagram
中使用了较大的文本宽度Beamer
。模块可见,但它们相互重叠。以下是代码-
\documentclass[11pt]{beamer}
\usetheme{Madrid}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{smartdiagram}
\smartdiagramset{back arrow disabled=true,
module minimum width=4cm,
module minimum height=2cm,
text width=4cm}
\smartdiagram[flow diagram:horizontal]{
\textit{State} $S_t$\\Table tennis player decide strategy,
The system is transferred to new state $S_{t+1}$}
以下是输出-
请帮忙。
答案1
您还需要指定一个module x sep
,初始值为 2.75,但这对于您来说还不够。
\documentclass[11pt]{beamer}
\usetheme{Madrid}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,lmodern}
\usepackage{amsfonts}
\usepackage{smartdiagram}
\begin{document}
\begin{frame}
\smartdiagramset{back arrow disabled=true,
module minimum width=4cm,
module minimum height=2cm,
module x sep = 6cm,
text width=4cm}
\smartdiagram[flow diagram:horizontal]{
\textit{State} $S_t$\\Table tennis player decide strategy,
The system is transferred to new state $S_{t+1}$}
\end{frame}
\end{document}