美文网首页
latex笔记

latex笔记

作者: 铭小狮子酱 | 来源:发表于2020-04-20 11:32 被阅读0次

插入算法

首先引入相应的package

\usepackage{algorithm}
\usepackage{algorithmic}

插入表格

\begin{table}
  \caption{Sample table title}
  \label{sample-table}
  \centering
  \begin{tabular}{lll}
    \toprule
    \multicolumn{2}{c}{Part}                   \\
    \cmidrule(r){1-2}
    Name     & Description     & Size ($\mu$m) \\
    \midrule
    Dendrite & Input terminal  & $\sim$100     \\
    Axon     & Output terminal & $\sim$10      \\
    Soma     & Cell body       & up to $10^6$  \\
    \bottomrule
  \end{tabular}
\end{table}

2. 插入图片

\begin{figure}
  \centering
  \fbox{\rule[-.5cm]{0cm}{4cm} \rule[-.5cm]{4cm}{0cm}}
  \caption{Sample figure caption.}
\end{figure}

3. 插入引用

\citet{hasselmo} investigated\dots

效果

Hasselmo, et al. (1995) investigated...

使用插入的图片、表格、引用等

\ref{sample-table}

使用\ref和要引用的object的label即可。

一些格式

\textit{}: 斜体
\textbf{}: 粗体

数学符号

\dots: 三点省略号
\times: 乘号
\underbrace_{1+2+\dots+n}^{n个}: 下面的大括号 
\overbrace_{}^{}: 上面的大括号

相关文章

  • 2018-04-03

    【LaTeX】Lyx/LaTeX笔记01---插入伪代码[latex]使用algorithm包来编写伪代码 - C...

  • latex语法

    1. latex 语法 latex笔记:基本语法[https://zhuanlan.zhihu.com/p/243...

  • 统一latext在vsc的markdown+math和有道云笔记

    起因 前段时间在有道云笔记上写笔记,里面使用latex来记录数学符号,有道云的latex行内触发模式为 `$ la...

  • 笔记工具

    步骤 用jupyter notebook写笔记文字笔记:markdown(文字+插入图片) + latex数学公式...

  • markdown系列-科技论文

    markdown是程序员风格,写笔记贴代码用。latex是纯学术风格,写paper写书用。 latex适合长篇、精...

  • 如何用LaTex记笔记?

    LaTeX记笔记很棒!推荐一个我在用的latex模版, 将如下模型保存为mynote.cls 将如上mynote....

  • LATEX笔记

    设置页面格式 \documentclass[12pt,a4paper]{article} 设置页面高度和宽度:导入...

  • Latex笔记

    1、要让Latex支持中文可参考如下: https://jingyan.baidu.com/album/36d6e...

  • LaTeX笔记

    LaTeX须知 LaTeX 源码的扩展名为.tex 源码分为1.导言区。2.正文区。 格式是定义了一组命令的代码集...

  • LaTex笔记

    基本操作 此处的第一行 \documentclass{article}中包含了一个控制序列(或称命令/标记)。所谓...

网友评论

      本文标题:latex笔记

      本文链接:https://www.haomeiwen.com/subject/sfdrihtx.html