【发布时间】:2022-12-01 03:05:32
【问题描述】:
我在序言中定义的环境“lem”中的括号有问题。如果你编译我的 MWE,你会得到:“Lem 1 (Yoneda, 1996)”,但我想要:“Lem 1 [Yoneda, 1996]”。我怎样才能做到这一点?
我用谷歌搜索这个问题,但没有找到答案。
\documentclass{article}
%\usepackage[T2A]{fontenc}
%\usepackage[cp1251]{inputenc}
%\usepackage[english]{babel}
\newtheorem{lem}{Lem}
\begin{document}
\begin{lem}[Yoneda, 1996]
Let $F$ be a functor from a locally small category ${\mathcal C}$ to
$\mathbf{Set}$. Then for each object $A$ of $\mathcal{C}$, the
natural transformations $\mathrm{Nat}(h_{A},F) = \mathrm{Hom}
(\mathrm{Hom}(A,-),F)$ from $h_{A}$ to $F$ are in one-to-one
correspondence with the elements of $F(A)$. That is,
$\mathrm{Nat}(h_{A},F) \cong F(A)$. Moreover, this isomorphism is
natural in $A$ and $F$ when both sides are regarded as functors from
${\mathcal{C}} \times \mathbf{Set}^{\mathcal {C}}$ to
$\mathbf{Set}$.
\end{lem}
\end{document}
【问题讨论】: