美文网首页
Latex Tags 1

Latex Tags 1

作者: Wallace_QIAN | 来源:发表于2017-09-24 15:17 被阅读31次

    example 1.

    \documentclass{article}
    
    \title{Title of my document}
    \date{2013-09-01}
    \author{John Doe}
    
    \begin{document}
    
    \maketitle
    \pagenumbering{gobble}
    \newpage
    \pagenumbering{arabic}
    
    \section{Section}
    Hello World!
    \subsection{Subsection}
    
    Structuring a document is easy!
    
    \end{document}
    
    image.png image.png
    1. usepackage
    \documentclass{article}
    
    \begin{document}
    
    \begin{equation}
      f(x) = x^2
    \end{equation}
    
    \end{document}
    
    image.png

    3.math
    学习Latex中如何排版和对齐等式、矩阵和分式,基础的数学特征的概览
    package amsmath:常用的数学包

    \documentclass{article}
    
    \usepackage{amsmath}
    
    \begin{document}
    
    \begin{equation*}
      1 + 2 = 3 
    \end{equation*}
    
    \begin{equation*}
      1 = 3 - 2
    \end{equation*}
    
    \begin{align*}
      1 + 2 &= 3\\
      1 &= 3 - 2
    \end{align*}
    
    \end{document}
    
    image.png image.png

    \frac{分子}{分母}\(换行符)
    \int^a_b 积分号,a为上界,b为下界
    \sqrt{x} 更号下x

    image.png

    \begin{matrix}
    1 &(元素之间用&连接) 0\(换行符)
    0 & 1
    \end{matrix}

    image.png

    一切格式化的东西需要用align标签include

    image.png

    \left( ... \right) 括号包被

    1. image insertion[pass]
      https://www.latex-tutorial.com/tutorials/beginners/latex-figures/
    2. draw a graph
    \documentclass[11pt]{scrartcl}
    \usepackage{tkz-berge}
    
    
    \begin{document}
    \begin{tikzpicture}[scale=.5] 
    \GraphInit[vstyle=Art] 
    \SetGraphArtColor{red}{olive} 
    \grPetersen[form=1,RA=5,RB=3]%
    \end{tikzpicture}
    \begin{tikzpicture}[scale=.4]
       \GraphInit[vstyle=Art] 
       \SetGraphArtColor{red}{olive} 
       \grPetersen[form=2,RA=7,RB=3]%
    \end{tikzpicture}
    
    \begin{tikzpicture}[scale=.5]
       \GraphInit[vstyle=Art] 
       \SetGraphArtColor{red}{olive} 
       \grPetersen[form=3,RA=7]%
    \end{tikzpicture}
    \end{document}
    
    image.png
    https://tex.stackexchange.com/questions/57152/how-to-draw-graphs-in-latex

    相关文章

      网友评论

          本文标题:Latex Tags 1

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