我面临以下问题
这里所有都逐一出现。实际上我想要的是,最后五个出现在前五个的右侧。也就是说,如何均匀地对齐中间以获得良好的外观?
为此,我输入了
\begin{enumerate}
\item $f:\Bbb R \to \Bbb R, x \mapsto \ln x$
\item $f:\Bbb R \to \Bbb R, x \mapsto [x]$
\item $f:\Bbb R \to \Bbb R, x \mapsto \frac{1}{x}$
\item $f:\Bbb R \to \Bbb R, x \mapsto \tan x$
\item $f:\Bbb R \to \Bbb R, x \mapsto \sqrt{x}$
\item $f:\Bbb N \to \Bbb Z, x \mapsto 5$
\item $f:\Bbb R \to \Bbb R, x \mapsto e^x$
\item $f:\Bbb N \to \Bbb N, x \mapsto 2^x$
\item $f:\Bbb R \to \Bbb R, x \mapsto \sin x$
\item $f:\Bbb R \to \Bbb R, x \mapsto x^2$
\end{enumerate}
有什么帮助吗?
答案1
一种方法是使用并在第二列multicols
恢复编号。只是为了显示它合并到周围的文本。5
lipsum
\documentclass{article}
\usepackage{amssymb}
\usepackage{multicol}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\begin{multicols}{2}
\begin{enumerate}
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \ln x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto [x]$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \frac{1}{x}$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \tan x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \sqrt{x}$
\end{enumerate}
\columnbreak
\begin{enumerate} \setcounter{enumi}{5}
\item $f:\mathbb{N} \to \mathbb{Z}, x \mapsto 5$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto e^x$
\item $f:\mathbb{N} \to \mathbb{N}, x \mapsto 2^x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \sin x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto x^2$
\end{enumerate}
\end{multicols}
\lipsum[2]
\end{document}
或者没有lipsum
,但更重要的是有了@egreg 的提示。
\documentclass{article}
\usepackage{amssymb}
\usepackage{multicol}
\begin{document}
\begin{multicols}{2}
\begin{enumerate}
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \ln x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto [x]$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \frac{1}{x}$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \tan x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \sqrt{x}$
\columnbreak
\item $f:\mathbb{N} \to \mathbb{Z}, x \mapsto 5$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto e^x$
\item $f:\mathbb{N} \to \mathbb{N}, x \mapsto 2^x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto \sin x$
\item $f:\mathbb{R} \to \mathbb{R}, x \mapsto x^2$
\end{enumerate}
\end{multicols}
\end{document}