我正在尝试创建类似的东西 - 文献综述。我对乳胶还很陌生,并且对表格感到很困惑。我该如何创建类似于示例的东西?
我的表格有 12 列和 6 行
我的环境
\documentclass{beamer}
%
% Choose how your presentation looks.
%
% For more themes, color themes and font themes, see:
% http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html
%
\mode<presentation>
{
\usetheme{CambridgeUS} % or try Darmstadt, Madrid, Warsaw, ...
\usecolortheme{beaver} % or try albatross, beaver, crane, ...
\usefonttheme{structuresmallcapsserif} % or try serif, structurebold, ...
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}[frame number]
\setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
答案1
我同意 samcarter 的观点,文字会太小。不过这里有一个如何操作的示例:
\documentclass{beamer}
\usepackage{color, colortbl}
\usepackage{array, booktabs, ragged2e}
\usepackage{makecell}
\usepackage{tikz}
\usepackage{textpos}
\definecolor{lightgray}{rgb}{0.83, 0.83, 0.83}
\renewcommand\theadfont{\bfseries}
{
\usetheme{CambridgeUS} % or try Darmstadt, Madrid, Warsaw, ...
\usecolortheme{beaver} % or try albatross, beaver, crane, ...
\usefonttheme{structuresmallcapsserif} % or try serif, structurebold, ...
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}[frame number]
\setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\begin{document}
\begin{frame}
\resizebox{\columnwidth}{!}{%
\begin{tabular}{|llllll|}
\toprule
\thead{Study, Setting and \\ Sample Size} & \thead{Study Design} & \thead{Summary of Intervention} & \thead{Health System \\ Building Blocks \\ Included} & \thead{Summary of Findings} & \thead{Risk of Bias \\ Assessment} \\
\hline
\rowcolor{lightgray}
Column 1 Row 1 & Column 2 Row 1 & Column 3 Row 1 & Column 4 Row 1 & Column 5 Row 1 & Column 6 Row 1 \\
Column 1 Row 2 & Column 2 Row 2 & Column 3 Row 2 & Column 4 Row 2 & Column 5 Row 2 & Column 6 Row 2 \\
\rowcolor{lightgray}
Column 1 Row 3 & Column 2 Row 3 & Column 3 Row 3 & Column 4 Row 3 & Column 5 Row 3 & Column 6 Row 3 \\
Column 1 Row 4 & Column 2 Row 4 & Column 3 Row 4 & Column 4 Row 4 & Column 5 Row 4 & Column 6 Row 4 \\
\bottomrule
doc:10.137 & & & & & \\
\end{tabular}
}
\end{frame}
\end{document}