:D 获取中...

1 Tex Symbols

1.1 Greek letters

Table: Greek letters
Greek Tex Greek Tex
\alpha \alpha \beta \beta
\gamma \gamma \Gamma \Gamma
\delta \delta \Delta \Delta
\epsilon \epsilon \varepsilon \varepsilon
\zeta \zeta \eta \eta
\theta \theta \vartheta \vartheta
\Theta \Theta \iota \iota
\kappa \kappa \lambda \lambda
\Lambda \Lambda \mu \mu
\nu \nu \xi \xi
\Xi \Xi \pi \pi
\Pi \Pi \tau \tau
\rho \rho \varrho \varrho
\sigma \sigma \Sigma \Sigma
\upsilon \upsilon \Upsilon \Upsilon
\phi \phi \varphi \varphi
\Phi \Phi \chi \chi
\psi \psi \Psi \Psi
\omega \omega \Omega \Omega

1.2 Arrows

Table: Arrows
Arrow Tex Arrow Tex
\leftarrow \leftarrow \rightarrow \rightarrow
\Leftarrow \Leftarrow \Rightarrow \Rightarrow
\leftrightarrow \leftrightarrow \Leftrightarrow \Leftrightarrow
\uparrow \uparrow \downarrow \downarrow
\Uparrow \Upftarrow \Downarrow \Downarrow
\updownarrow \updownarrow \Updownarrow \Updownarrow
\mapsto \mapsto \longmapsto \longmapsto
\nearrow \nearrow \searrow \searrow
\swarrow \swarrow \nwarrow \nwarrow
\leftharpoonup \leftharpoonup \rightharpoonup \rightharpoonup
\leftharpoondown \leftharpoondown \rightharpoondown \rightharpoondown
\rightleftharpoons \rightleftharpoons

1.3 Miscellaneous symbols

Table: Miscellaneous symbols
Symbol Tex Symbol Tex
\infty \infty \forall \forall
\Re \Re \Im \Im
\nabla \nabla \exists \exists
\partial \partial \nexists \nexists
\emptyset \emptyset \varnothing \varnothing
\wp \wp \complement \complement
\neg \neg \cdots \cdots
\dots \vdots \vdots
\square \square \surd \surd
\blacksquare \blacksquare \triangle \triangle

1.4 Binary Operation/Relation Symbols

Table: Binary Operation/Relation Symbols
Symbol Tex Symbol Tex
\sum \sum \prod \prod
\sim \sim \int \int
\pm \pm \cdot \cdot
\times \times \vee \vee
\div \div \cap \cap
\cup \cup \neq \neq
\leq \leq \geq \geq
\in \in \perp \perp
\notin \notin \subset \subset
\simeq \simeq \approx \approx
\wedge \wedge \vee \vee
\oplus \oplus \Box \Box
\equiv \equiv \cong \cong
\iint \iint \iiint \iiint
\{ \{ \} \}
\langle \langle \rangle \rangle

1.5 Hats

Table: Hats
Hat Tex Hat Tex
\acute{x} \acute{x} \tilde{x} \tilde{x}
\mathring{x} \mathing{x} \grave{x} \grave{x}
\breve{x} \breve{x} \dot{x} \dot{x}
\bar{x} \bar{x} \check{x} \check{x}
\ddot{x} \ddot{x} \vec{x} \vec{x}
\dddot{x} \dddot{x} \hat{x} \hat{x}

1.6 OverLine

Table: Overline
Overline Tex Overline Tex
\overline{xxx} \overline{xxx} \underline{xxx} \underline{xxx}
\overleftarrow{xxx} \overleftarrow{xxx} \overrightarrow{xxx} \overrightarrow{xxx}
\underleftarrow{xxx} \underleftarrow{xxx} \underrightarrow{xxx} \underrightarrow{xxx}
\underleftrightarrow{xxx} \underleftrightarrow{xxx} \overleftrightarrow{xxx} \overleftrightarrow{xxx}
\overbrace{xxx} \overbrace{xxx} \underbrace{xxx} \underbrace{xxx}
\widehat{xxx} \widehat{xxx} \widetilde{xxx} \widetilde{xxx}

2 MD/Html and Tex

  • some symbols in Latex need
Table: MD/Html and Tex
Symbol MD/Html Tex
Å \AA
µ µ \textmu
‰ \textperthousand
°C °C \textcelisius
± ± \pm
× × \times

2.1 Align in LaTeXee

\begin{aligned}
a&=b \\
 &=c
\end{aligned}

2.2 Multicols

\begin{columns}
  \column{0.3\textwidth}
   ...
\end{columns}
\begin{columns}
  \begin{column}{0.3\textwidth}
    \begin{figure}[htbp]
      \centering
       \includegraphics{logo.png}
          \caption{\({\Delta}E=0.1\)}
    \end{figure}
  \end{column}
\end{columns}
\begin{multicols}{3}
...
\end{multicols}

2.3 Multiline in LaTeXee

  • Environment for Settings: use math rather than displaymath, though displaymath is always better than math.
  • example:
T_{mnp}=ma+nb+pc, \\ \indent m,n,p=0,\pm1,\pm2,...

3 3D PDF for molecule

  1. Down load Universal 3D Sample Software. Go to ‘View All Files’ and download the latest File icon.gifU3D_A_??.zip file.You need to extract the contents of File icon.gifBin/Win32/Release/: several files and the File icon.gifPlugins folder (that makes 4.46 MB out of the total 137 MB in the zipfile; you may probably dispense with the HelloWorld.exe, SamplePlayer.exe, TrueType.exe files). (From http://wiki.jmol.org/index.php/File_formats/3D_PDF#IDTF_to_U3D)
  2. Open the molecule with Jmol, change the atom color to what you like, Open the console and run write my3d.idtf.
  3. use idtfconverter.exe from Universal 3D Sample Software, idtfconverter.exe -input my3d.idtf -output my3d.u3d.
  4. Insert it into latex,
\usepackage[]{media9} %by ywmu for u3d
\usepackage[english]{babel} %by ywmu for u3d
.....

\setlength{\fboxsep}{0pt}
\setlength{\fboxrule}{1pt}
\fbox{\includemedia[
    label = my3d,
    activate = pageopen,
    width = 0.45\linewidth,
    height = 0.45\linewidth,
    3Dmenu,
    3Dtoolbar,
    3Droo=30,
    3Dviews = ./my3d.vws,
]{}{./my3d.u3d}}

and prepare a file my3d.vws

VIEW=Front
ROO=30
END
VIEW=Back
ROO=30
C2C=0 1 0
END
VIEW=Left
ROO=30
C2C=-1 0 0
END
VIEW=Right
ROO=30
C2C=1 0 0
END
VIEW=Top
ROO=30
C2C=0 0 1
END
VIEW=Fish Eye at Centre
ROO=20
AAC=130
END

where ROO option is the Radius of the Orbit for the Camera. It basically means how far the camera is placed, AAC option is the camera’s field of view. This option is absent if the view is in orthographic mode. Then the ORTHO option is used.

  1. Compile the latex file with pdflatex