Loading

latex

  1. 入门latex教程

https://www.overleaf.com/project

  1. 使用vscode 配置latex环境的教程

https://zhuanlan.zhihu.com/p/38178015

  1. 算法伪代码框架
\usepackage[ruled,linesnumbered]{algorithm2e}
\begin{algorithm}[H]
    \caption{xx}%算法名字
    \LinesNumbered %要求显示行号
    \KwIn{input a, b, c}%输入参数
    \KwOut{output d}%输出
     \While{xx is not empty}{
        some description\; %\;用于换行
       \For{condition}{
      only if\;
            \If{condition}{
        1\;
            }
        }
      if and else\;
      \eIf{condition}{
        1\;
        2\;
      }{
        2\;
      }
    }
    \ForEach{condition}{
      \If{condition}{
        1\;
      }
    }
\end{algorithm}

效果图:

4. 公式花体加粗
这个找了好久都没找到解决办法...最后还是万能的google解决了
答案:
"You can define your own math alphabet that accesses the Computer Modern symbol font in its bold weight."

\documentclass{article}

\DeclareMathAlphabet\mathbfcal{OMS}{cmsy}{b}{n}

\begin{document}
$\mathcal{A}$ $\mathbfcal{A}$
\end{document}

链接:https://tex.stackexchange.com/questions/2783/bold-calligraphic-typeface/23676#23676?s=bd00d43387dd41bbbebb425e94f4d902

posted @ 2020-11-22 21:23  摇头晃脑学知识  阅读(168)  评论(0编辑  收藏  举报