寄存器
寄存器
这家伙很懒,什么也没写!

注册于 4年前

回答
173
文章
6
关注者
18

这个时候,要用texdoc hyperref读手册,有各类说明。

试试tkz-euclide宏包:texdoc tkx-euclide

也可以用\ 加上一个空格:

\documentclass{article}
\usepackage{amsmath}
\usepackage[fontset=fandol,space]{ctex}
\setCJKmainfont{FandolSong}
\begin{document}
\[A\cap B=\{x\mid x\in A\text{ and }x\in B\}\]
\[A\cap B=\{x\mid x\in A\text{ 且\ }x\in B\}\]
\end{document}

建议还是认真读一下lshort-zh-cn为好,在2.2 排版中文有说明:
image.png

可以使用easyfloats宏包,如:

\documentclass{ctexart}

\usepackage{mwe}
\usepackage{easyfloats}

\begin{document}

\begin{figureobject}{contains subobjects,
                     caption = 3个子图分别编号,
                     label = fig-subfig,
                     subobject linewidth = .3\linewidth,
                     graphic width=0.9\textwidth,}
  \includegraphicsubobject[caption=A图]{example-image-a}
  \includegraphicsubobject[caption=B图]{example-image-b}
  \includegraphicsubobject[caption=C图]{example-image-c}
\end{figureobject}

\end{document}

其排版效果为:
image.png

可以用texdoc easyfloats查看该宏包说明书,也可以查看easyfloats宏包说明书中译

投稿还是用模板的好,没有模板就用\documentclass[twocolumn]{article},不建议自做主张。

也可以试试matrix库:

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary {matrix}

\begin{document}

  \begin{tikzpicture}
    \matrix (m) [matrix of nodes, column sep=15mm, row sep=8mm, inner sep=0.0mm,]
    {
      $2x$ & $-3y$ & $4$ \\
      $3x$ & $-2y$ & $5$ \\
    };
    \draw[blue] (m-1-1) -- (m-2-2);
    \draw[blue] (m-1-2) -- (m-2-3);
    \draw[red ] (m-2-1) -- (m-1-2);
    \draw[red ] (m-2-2) -- (m-1-3);
    \draw[dashed] (m-1-1) -- (m-2-3);
    \draw[dashed] (m-2-1) -- (m-1-3);
  \end{tikzpicture}

\end{document}

image.png

可以用textpos宏包实现定位,需要:texdoc textpos:
2021-03-05_14-40.png

印象中同样的问题我回答了3次。

发布
问题