:
这家伙很懒,什么也没写!

注册于 2年前

回答
8
文章
0
关注者
0

gmcmthesis.cls中的thesection里面的那个点去掉就行了,表、公式一下解决了
re.png

可以使用

\usepackage{appendix}
\renewcommand{\setthesection}{附录\thechapter.\arabic{section}}
\renewcommand{\setthesubsection}{附录\thesection.\arab{subsection}}

替代

\renewcommand\appendix{\par
\setcounter{section}{0}
\setcounter{subsection}{0}
\gdef\thesection{附录 \Alph{section}}}

然后把chp03.texchp02.tex中的appendix改成subappendices,还有注释掉\appendix,他会给后面的全部变成附录内容,然后编译就行了,我这里的结果是这样的
aa.png

我从(https://tex.stackexchange.com/questions/217974/indentation-inside-tcolorbox)看到类似的了,主要是parbox,我tcolorbox用的不多,是一个很蠢的方法解决的

\documentclass{article}

\usepackage{tcolorbox}
\tcbset{
  sharp corners,
  boxrule=0pt,
  top=0mm,bottom=0pt,left=0pt,right=0pt,
  boxsep=0pt,
  parbox=false
}

\begin{document}
I can swallow glass without hurting myself. I can swallow glass without hurting myself.

\begin{tcolorbox}
  % 空一行

  This is a box: I can swallow glass without hurting myself. I can swallow glass without hurting myself. $\displaystyle\frac{d}{y}$ 

  This is a box: I can swallow glass without hurting myself. I can swallow glass without hurting myself. $\displaystyle\frac{d}{y}$ 

  You can swallow glass without hurting yourself. New Bee.
\end{tcolorbox}

I can swallow glass without hurting myself. I can swallow glass without hurting myself.

\end{document}

结果如下
qishi.png

理解了clip的作用,就写出来了,应该是clip+foreach而不是foreach+clip

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
  \begin{tikzpicture}
    \draw[-latex] (0, 0) node[below left]{O}-- (5, 0);
    \draw[-latex] (0, 0) -- (0, 5);
    \draw (0, 0) -- (4, 0) -- (4, 4) -- (0, 4);
    \draw[clip] (1.5, 0) -- (4, 2.5) -- (4, 4) -- (2.5, 4) -- (0, 1.5) -- (0, 0) -- cycle;
    \foreach \x in {0, 0.1,...,5}{
      \draw (\x, 0) -- (\x, 5);
    }
  \end{tikzpicture}
  \begin{tikzpicture}
    \draw[-latex] (0, 0) node[below left]{O}-- (5, 0);
    \draw[-latex] (0, 0) -- (0, 5);
    \draw (0, 0) -- (4, 0) -- (4, 4) -- (0, 4);
    \path[draw, pattern=vertical lines] (1.5, 0) -- (4, 2.5) -- (4, 4) -- (2.5, 4) -- (0, 1.5) -- (0, 0) -- cycle;
  \end{tikzpicture}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

结果如下
result2.png

你用个代码块环境包裹你的代码,不然\没了,复制过来一堆错,实在不行去看看markdown语法先,mwe也不是这样的

调用bm包重载boldsymbol, LaTeX建议的,然后$\boldsymbol{\Delta}$

发布
问题