![投影仪中的命题参考](https://linux22.com/image/420072/%E6%8A%95%E5%BD%B1%E4%BB%AA%E4%B8%AD%E7%9A%84%E5%91%BD%E9%A2%98%E5%8F%82%E8%80%83.png)
我指的是这次谈话:
我想重现该命题的参考编号,如以下示例所示:
\documentclass[xcolor=x11names,compress]{beamer}
\usepackage{xcolor}
\usepackage{framed}
\usepackage{amsthm}
\usepackage[utf8]{inputenc}
\colorlet{shadecolor}{blue!15}
\newcommand{\propnumber}{} % initialize
\newtheorem*{prop}{Proposition \propnumber}
\newenvironment{propc}[1]
{\renewcommand{\propnumber}{#1}%
\begin{shaded}\begin{prop}}
{\end{prop}\end{shaded}}
\begin{document}
\begin{frame}
\begin{propc}{3.1}
Proposition here.
\end{propc}
\end{frame}
\end{document}
在我的文档中,内容如下:
\documentclass[xcolor=x11names,compress]{beamer}
\usepackage{eurosym}
\usepackage{makeidx}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{cases}
\usepackage[titletoc]{appendix}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{mathrsfs}
\usepackage{amsbsy}
\usepackage[export]{adjustbox}
\usepackage{framed}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{graphicx}
\colorlet{shadecolor}{blue!15}
\newcommand{\propnumber}{} % initialize
\newtheorem*{prop}{Proposition \propnumber}
\newenvironment{propc}[1]
{\renewcommand{\propnumber}{#1}%
\begin{shaded}\begin{prop}}
{\end{prop}\end{shaded}}
\usetheme{Dresden}
\useinnertheme{rounded}
\begin{document}
\begin{frame}{Pessimistic Beliefs}
\begin{propc}{3.1}
Prop here
\end{propc}
\end{frame}
\end{document}
我不明白为什么它不起作用...我试图删除每个包和主题,但没有成功......