| 1 |
\documentclass[a4paper,fleqn]{article} |
| 2 |
\usepackage[a4paper, margin=1in]{geometry} |
| 3 |
\usepackage{amsmath} |
| 4 |
\usepackage[math-style=ISO, bold-style=ISO]{unicode-math} |
| 5 |
\usepackage{metalogo} |
| 6 |
\usepackage{extarrows} |
| 7 |
\makeatletter |
| 8 |
\renewcommand{\relbar}{\symbol{"E010}\mkern-.2mu\symbol{"E010}\mkern1.8mu} |
| 9 |
\renewcommand{\Relbar}{\symbol{"E011}\mkern-.2mu\symbol{"E011}\mkern1.8mu} |
| 10 |
\makeatother |
| 11 |
|
| 12 |
% \setmainfont{EB Garamond} |
| 13 |
\setmainfont{EB Garamond} |
| 14 |
% \setmonofont{Source Code Pro}[Scale=.86] |
| 15 |
\setmathfont{Garamond-Math.otf}[Path=../Release/ ]%, Scale=MatchUppercase] |
| 16 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathI ,StylisticSet={1 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 17 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathII ,StylisticSet={2 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 18 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathIII ,StylisticSet={3 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 19 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathIV ,StylisticSet={4 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 20 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathV ,StylisticSet={5 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 21 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathVI ,StylisticSet={6 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 22 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathVII ,StylisticSet={7 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 23 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathVIII,StylisticSet={8 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 24 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathIX ,StylisticSet={9 },Path=../Release/ ]%, Scale=MatchUppercase] |
| 25 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathX ,StylisticSet={10},Path=../Release/ ]%, Scale=MatchUppercase] |
| 26 |
\setmathfont{Garamond-Math.otf}[version=GaramondMathXI ,StylisticSet={11},Path=../Release/ ]%, Scale=MatchUppercase] |
| 27 |
\newfontfamily\GaramondMath{Garamond-Math.otf}[Path=../Release/] |
| 28 |
|
| 29 |
\def\Latinalphabets{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| 30 |
\def\latinalphabets{abcdefghijklmnopqrstuvwxyz} |
| 31 |
\def\Greekalphabets{% |
| 32 |
\Alpha \Beta \Gamma \Delta \Epsilon |
| 33 |
\Zeta \Eta \Theta \varTheta \Iota |
| 34 |
\Kappa \Lambda \Mu \Nu \Xi |
| 35 |
\Omicron \Pi \Rho \Sigma \Tau |
| 36 |
\Upsilon \Phi \Chi \Psi \Omega |
| 37 |
} |
| 38 |
\def\greekalphabets{% |
| 39 |
\alpha \beta \gamma \delta \epsilon \varepsilon |
| 40 |
\zeta \eta \theta \vartheta |
| 41 |
\iota \kappa \varkappa \lambda \mu |
| 42 |
\nu \xi \omicron \pi \varpi \rho |
| 43 |
\varrho \sigma \varsigma \tau \upsilon |
| 44 |
\phi \varphi \chi \psi \omega |
| 45 |
} |
| 46 |
% ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ |
| 47 |
% αβγδεζηθικλμνξοπρστυφχψω |
| 48 |
\def\TOPACCENT#1{% |
| 49 |
\acute{#1} \, \bar{#1} \, \breve{#1} \, \check{#1} \, \ddddot{#1} , \quad |
| 50 |
\dddot{#1} \, \ddot{#1} \, \dot{#1} \, \grave{#1} \, \hat{#1} , \quad |
| 51 |
\mathring{#1} \, \tilde{#1} \, \vec{#1} \, \widehat{#1} \, \widetilde{#1} |
| 52 |
} |
| 53 |
\ExplSyntaxOn |
| 54 |
\NewDocumentCommand \TOPACCENTMAP { m m } |
| 55 |
{ \fonttest_top_accent_map:Nx #1 {#2} } |
| 56 |
\cs_new:Npn \fonttest_top_accent_map:Nn #1#2 |
| 57 |
{ \tl_map_inline:nn {#2} { \[ \TOPACCENT{#1{##1}} \] } } |
| 58 |
\cs_generate_variant:Nn \fonttest_top_accent_map:Nn { Nx } |
| 59 |
\NewDocumentCommand \SUPSUBMAP { m m } |
| 60 |
{ \[ \exp_args:Nx \tl_map_inline:nn {#2} {{ #1{##1 \sb{\QED}} }} \] } |
| 61 |
\NewDocumentCommand \CIRCLEDNUMA { s } |
| 62 |
{ |
| 63 |
% with *: 0-50 |
| 64 |
% without *: 0-10 |
| 65 |
\symbol {"24EA} |
| 66 |
\fonttest_circled_aux:nn {"2460} {"2469} |
| 67 |
\IfBooleanT {#1} |
| 68 |
{ |
| 69 |
\fonttest_circled_aux:nn {"246A} {"2473} |
| 70 |
\fonttest_circled_aux:nn {"3251} {"325F} |
| 71 |
\fonttest_circled_aux:nn {"32B1} {"32BF} |
| 72 |
} |
| 73 |
} |
| 74 |
\NewDocumentCommand \CIRCLEDNUMB { s } |
| 75 |
{ |
| 76 |
% with *: 0-20 |
| 77 |
% without *: 0-10 |
| 78 |
\symbol {"24FF} |
| 79 |
\fonttest_circled_aux:nn {"2776} {"277F} |
| 80 |
\IfBooleanT {#1} |
| 81 |
{ \fonttest_circled_aux:nn {"24EB} {"24F4} } |
| 82 |
} |
| 83 |
\NewDocumentCommand \CIRCLEDNUMC { } |
| 84 |
{ \fonttest_circled_aux:nn {"24F5} {"24FE} } |
| 85 |
\NewDocumentCommand \CIRCLEDLETTERA { } |
| 86 |
{ \fonttest_circled_aux:nn {"24B6} {"24CF} } |
| 87 |
\NewDocumentCommand \CIRCLEDLETTERB { } |
| 88 |
{ \fonttest_circled_aux:nn {"1F150} {"1F169} } |
| 89 |
\NewDocumentCommand \CIRCLEDLETTERC { } |
| 90 |
{ \fonttest_circled_aux:nn {"24D0} {"24E9} } |
| 91 |
\NewDocumentCommand \CHESSSYMB { } |
| 92 |
{ \fonttest_circled_aux:nn {"2654} {"265F} } |
| 93 |
\cs_new:Npn \fonttest_circled_aux:nn #1#2 |
| 94 |
{ \int_step_inline:nnn {#1} {#2} { \symbol {##1} } } |
| 95 |
\ExplSyntaxOff |
| 96 |
\def\OVERUNDERLINE#1{% |
| 97 |
#1{} \quad #1{b} \quad #1{ab} \quad #1{abc} \quad #1{abcd} \quad #1{abcde} \quad #1{a+b+c}} |
| 98 |
\def\LISTTEXT{x_1, \, x_2, \, x_3,\ x_4\, \ \ldots, \, x_n} |
| 99 |
|
| 100 |
\DeclareRobustCommand{\GenericInfo}[2]{} |
| 101 |
|
| 102 |
\def\ee{\symrm{e}} |
| 103 |
\def\ii{\symrm{i}} |
| 104 |
\def\bm{\symbf} |
| 105 |
\newcommand{\innerprod}[2]{\left\langle{#1}\middle\vert{#2}\right\rangle} |
| 106 |
\newcommand{\brakket}[3]{\left\langle{#1}\middle\vert{#2}\middle\vert{#3}\right\rangle} |
| 107 |
\newcommand{\ket}[1]{\left\lvert{#1}\right\rangle} |
| 108 |
\newcommand{\kets}[1]{\lvert{#1}\rangle} |
| 109 |
\newcommand{\bra}[1]{\left\langle{#1}\right\rvert} |
| 110 |
\newcommand{\ip}[2]{\left\langle{#1}\middle\vert{#2}\right\rangle} |
| 111 |
\newcommand{\op}[2]{\left\lvert{#1}\middle\rangle\middle\langle{#2}\right\rvert} |
| 112 |
\newcommand{\dd}{\text{d}} |
| 113 |
\newcommand{\norm}[1]{\left\lVert{#1}\right\rVert} |
| 114 |
|
| 115 |
\title{Garamond-Math, Ver. 2022-01-03} |
| 116 |
\author{Yuansheng Zhao, Xiangdong Zeng} |
| 117 |
|
| 118 |
\begin{document} |
| 119 |
\maketitle |
| 120 |
\section{Introduction} |
| 121 |
Garamond-Math is an open type math font matching the \emph{EB Garamond (Octavio Pardo)}\footnote{https://ctan.org/pkg/ebgaramond/, and https://github.com/octaviopardo/EBGaramond12/} and \emph{EB Garamond (Georg Mayr-Duffner)}\footnote{https://github.com/georgd/EB-Garamond/}. Many mathematical symbols are derived from other fonts, others are made from scratch. The metric is generated with a python script. Issues, bug reports, forks and other contributions are welcome. Please visit GitHub\footnote{https://github.com/YuanshengZhao/Garamond-Math/} for development details. |
| 122 |
|
| 123 |
A minimal example with \texttt{unicode-math} package is as following: |
| 124 |
\begin{verbatim} |
| 125 |
%Compile with `xelatex' command |
| 126 |
\documentclass{article} |
| 127 |
\usepackage[math-style=ISO, bold-style=ISO]{unicode-math} |
| 128 |
\setmainfont{EB Garamond}%You should have installed the font |
| 129 |
\setmathfont{Garamond-Math.otf}[StylisticSet={7,9}]%Use StylisticSet that you like |
| 130 |
\begin{document} |
| 131 |
\[x^3+y^3=z^3.\] |
| 132 |
\end{document} |
| 133 |
\end{verbatim} |
| 134 |
The result should be |
| 135 |
\[x^3+y^3=z^3.\] |
| 136 |
|
| 137 |
\section{Alphabets \& StylisticSets} |
| 138 |
\subsubsection*{Latin and Greek (StylisticSet 4/5 give semi/extra bold for \texttt{\backslash symbf})} |
| 139 |
\[ \Latinalphabets\] |
| 140 |
\[ \latinalphabets \] |
| 141 |
\[ \symup{\Latinalphabets}\] |
| 142 |
\[ \symup{\latinalphabets} \] |
| 143 |
\[ \symbf{\Latinalphabets}\] |
| 144 |
\[ \symbf{\latinalphabets}\] |
| 145 |
\[ \symbfup{\Latinalphabets}\] |
| 146 |
\[ \symbfup{\latinalphabets} \] |
| 147 |
\[ \Greekalphabets \] |
| 148 |
\[\greekalphabets\] |
| 149 |
\[ \symup{\Greekalphabets} \] |
| 150 |
\[\symup{\greekalphabets} \] |
| 151 |
\[ \symbf{\Greekalphabets} \] |
| 152 |
\[\symbf{\greekalphabets} \] |
| 153 |
\[ \symbfup{\Greekalphabets}\] |
| 154 |
\[ \symbfup{\greekalphabets} \] |
| 155 |
\begingroup\mathversion{GaramondMathIV}\[\symbf{\Latinalphabets}\] |
| 156 |
\[\symbf{\latinalphabets}\]\endgroup |
| 157 |
\begingroup\mathversion{GaramondMathV}\[\symbf{\Latinalphabets}\] |
| 158 |
\[\symbf{\latinalphabets}\]\endgroup |
| 159 |
|
| 160 |
\subsubsection*{Sans and Typewriter: From Libertinus Math\footnote{https://github.com/khaledhosny/libertinus/}} |
| 161 |
\[ \symsf{\Latinalphabets} \] |
| 162 |
\[\symsf{\latinalphabets} \] |
| 163 |
\[ \symsfup{\Latinalphabets} \] |
| 164 |
\[\symsfup{\latinalphabets} \] |
| 165 |
\[ \symbfsf{\Latinalphabets} \] |
| 166 |
\[\symbfsf{\latinalphabets} \] |
| 167 |
\[ \symbfsfup{\Latinalphabets} \] |
| 168 |
\[\symbfsfup{\latinalphabets} \] |
| 169 |
\[ \symtt{\Latinalphabets}\] |
| 170 |
\[\symtt{\latinalphabets} \] |
| 171 |
|
| 172 |
\subsubsection*{Blackboard (StylisticSet 1 $\rightarrow$ rounded XITS Math\footnote{https://github.com/khaledhosny/xits/})} |
| 173 |
\[ \symbb{\Latinalphabets} \] |
| 174 |
\[\symbb{\latinalphabets} \] |
| 175 |
\begingroup\mathversion{GaramondMathI}\[\symbb{\Latinalphabets}\] |
| 176 |
\[\symbb{\latinalphabets}\]\endgroup |
| 177 |
|
| 178 |
\subsubsection*{Script: Rounded XITS Math [StylisticSet 3 $\rightarrow$ scaled CM; 8 $\rightarrow$ Garamond-compatible ones (experimental)]} |
| 179 |
\[ \symscr{\Latinalphabets} \] |
| 180 |
\[\symscr{\latinalphabets} \] |
| 181 |
\[ \symbfscr{\Latinalphabets} \] |
| 182 |
\[\symbfscr{\latinalphabets} \] |
| 183 |
\begingroup\mathversion{GaramondMathIII}\[\symscr{\Latinalphabets}\] |
| 184 |
\[\symbfscr{\Latinalphabets}\]\endgroup |
| 185 |
\begingroup\mathversion{GaramondMathVIII}\[\symscr{\Latinalphabets}\] |
| 186 |
\[\symscr{\latinalphabets}\]\endgroup |
| 187 |
|
| 188 |
\subsubsection*{Fraktur: From Noto Sans Math\footnote{https://github.com/googlefonts/noto-fonts/}} |
| 189 |
\[ \symfrak{\Latinalphabets} \] |
| 190 |
\[\symfrak{\latinalphabets} \] |
| 191 |
\[ \symbffrak{\Latinalphabets} \] |
| 192 |
\[\symbffrak{\latinalphabets} \] |
| 193 |
|
| 194 |
|
| 195 |
\subsubsection*{Digits: Same width between weight and serif/sans} |
| 196 |
\[3.141592653589793238462643383279502884197169399375105820974944592307816406286\] |
| 197 |
\[\symsf{3.141592653589793238462643383279502884197169399375105820974944592307816406286}\] |
| 198 |
\[\symbf{3.141592653589793238462643383279502884197169399375105820974944592307816406286}\] |
| 199 |
|
| 200 |
\subsubsection*{\texttt{\backslash partial}: (StylisticSet 2 $\rightarrow$ curved ones)} |
| 201 |
\[\partial_\mu(\symup\partial^\mu\phi)-\symbf{\epsilon^{\lambda\mu\nu}\partial_\mu(A_\lambda\symbfup\partial_\nu f)}\] |
| 202 |
\begingroup\mathversion{GaramondMathII}\[\partial_\mu(\symup\partial^\mu\phi)-\symbf{\epsilon^{\lambda\mu\nu}\partial_\mu(A_\lambda\symbfup\partial_\nu f)}\]\endgroup |
| 203 |
|
| 204 |
\subsubsection*{\texttt{\backslash hbar}: (StylisticSet 6 $\rightarrow$ horizontal bars)} |
| 205 |
\[\text{$\hbar$\qquad \begingroup\mathversion{GaramondMathVI} $\hbar$\endgroup}\] |
| 206 |
|
| 207 |
\subsubsection*{Italic $\symbf h$: (StylisticSet 10 $\rightarrow$ out-bending ones)} |
| 208 |
\[\text{$\displaystyle\hbar=\frac {\symbf{h}}{2\uppi} $\qquad \begingroup\mathversion{GaramondMathX} $\displaystyle\hbar=\frac {\symbf{h}}{2\uppi} $\endgroup}\] |
| 209 |
|
| 210 |
\subsubsection*{\texttt{\backslash tilde}: (StylisticSet 9 $\rightarrow$ ``normal'' ones)} |
| 211 |
\[\text{$\tilde F$\qquad \begingroup\mathversion{GaramondMathIX} $\tilde F$\endgroup}\] |
| 212 |
|
| 213 |
\subsubsection*{\texttt{\backslash int}: (StylisticSet 7 $\rightarrow$ a variant with inversion symmetry)} |
| 214 |
\[\oint_{\partial\Sigma}\vec E\cdot \dd{\vec{l}}=-\frac{1}{c}\frac{\dd}{\dd t}\iint_{\Sigma}\vec B \cdot \dd{\vec{S}}\] |
| 215 |
\begingroup\mathversion{GaramondMathVII}\[\oint_{\partial\Sigma}\vec E\cdot \dd{\vec{l}}=-\frac{1}{c}\frac{\dd}{\dd t}\iint_{\Sigma}\vec B \cdot \dd{\vec{S}}\]\endgroup |
| 216 |
|
| 217 |
\subsubsection*{Binany Operators: (StylisticSet 11 $\rightarrow$ larger ones)} |
| 218 |
\[s=A+b\times 1\div x^3\] |
| 219 |
\begingroup\mathversion{GaramondMathXI}\[s=A+b\times 1\div x^3\]\endgroup |
| 220 |
|
| 221 |
\subsubsection*{Other Symbols} |
| 222 |
\begingroup |
| 223 |
\hspace{\parindent}\GaramondMath |
| 224 |
\CIRCLEDNUMA* \par |
| 225 |
\CIRCLEDNUMB* \par |
| 226 |
\CIRCLEDNUMC \par |
| 227 |
\CIRCLEDLETTERA \par |
| 228 |
\CIRCLEDLETTERB \par |
| 229 |
\CIRCLEDLETTERC \par |
| 230 |
\CHESSSYMB |
| 231 |
\endgroup |
| 232 |
|
| 233 |
\subsubsection*{Extensible Arrow Hack} |
| 234 |
The font contains the math table for constructing extensible arrow. However \texttt{unicode-math} does not provide an interface to that. In \LuaTeX ~one can use \texttt{\textbackslash Uhextensible}\footnote{https://tex.stackexchange.com/questions/423893/}. A more general solution is to add the following code in preamble. |
| 235 |
\begin{verbatim} |
| 236 |
\usepackage{extarrow} %or mathtools |
| 237 |
\makeatletter |
| 238 |
\renewcommand{\relbar}{\symbol{"E010}\mkern-.2mu\symbol{"E010}\mkern1.8mu} |
| 239 |
\renewcommand{\Relbar}{\symbol{"E011}\mkern-.2mu\symbol{"E011}\mkern1.8mu} |
| 240 |
\makeatother |
| 241 |
\end{verbatim} |
| 242 |
Then \texttt{\textbackslash xleftarrow} and other commands will work: |
| 243 |
\[\mathrm{CH}_3\mathrm{COO}\mathrm{H}+\mathrm{C}_2\mathrm{H}_5\mathrm{OH}\xrightarrow[{\triangle}]{\mathrm{H}_2\mathrm{SO}_4}\mathrm{CH}_3\mathrm{COOC}_2\mathrm{H}_5+\mathrm{H}_2\mathrm{O}.\] |
| 244 |
|
| 245 |
\section{Known Issue} |
| 246 |
\begin{itemize} |
| 247 |
\item Fake optical size. EB Garamond does not contain a complete set of glyphs (normal + bold + optical size of both weights). The ``optical size \texttt{ssty}'' is made by interpolating different weights at the present (without this, the double script is too thin to be readable). |
| 248 |
\end{itemize} |
| 249 |
|
| 250 |
\section{Equation Samples} |
| 251 |
\[ 1 + 2 - 3 \times 4 \div 5 \pm 6 \mp 7 \dotplus 8 = -a \oplus b \otimes c -\{z\}\] |
| 252 |
\[\forall \epsilon, \exists \delta : x \in A \cup B \subset S \cap T \ntrianglerighteq U\] |
| 253 |
\[R_{\nu\kappa\lambda}^\mu=\partial_\kappa\Gamma_{\lambda\nu}^\mu-\partial_\lambda\Gamma_{\kappa\nu}^\mu+\Gamma_{\kappa\sigma}^\mu\Gamma_{\lambda\nu}^\sigma-\Gamma_{\lambda\sigma}^\mu\Gamma_{\kappa\nu}^\sigma\] |
| 254 |
\[T_{\alpha_1\cdots\alpha_k}'^{\beta_1\cdots\beta_l}=T_{i_1\cdots i_k}^{j_1\cdots j_l} |
| 255 |
\frac{\partial x^{i_1}}{\partial x'^{\alpha_1}}\cdots |
| 256 |
\frac{\partial x^{i_k}}{\partial x'^{\alpha_k}} |
| 257 |
\frac{\partial x'^{\beta_1}}{\partial x^{j_1}}\cdots |
| 258 |
\frac{\partial x'^{\beta_l}}{\partial x^{j_l}} |
| 259 |
\] |
| 260 |
\[\int_{\sqrt{\frac{1-m u+m\Delta/k^2}{2mu/k}}}^{X_p}\widehat{1+2+3+4}+\widetilde{5+6+7+8}\] |
| 261 |
\[ x \leftarrow y \leftrightarrow w \Rightarrow b \Leftrightarrow c |
| 262 |
\uparrow y \updownarrow w \Downarrow b \Updownarrow c |
| 263 |
\Searrow p \Swarrow p |
| 264 |
x \leftharpoonup x \upharpoonleft |
| 265 |
X \mapsfrom Y \mapsto Z \mapsup |
| 266 |
f \rightleftarrows f \updownarrows f |
| 267 |
h \rightthreearrows h \leftthreearrows |
| 268 |
p |
| 269 |
\] |
| 270 |
\[\int_0^1\frac{\ln (x+1)}{x}\dd{x}=\int_0^1\sum_{i=1}^{\infty}\frac{(-x)^{i-1}}{i}\dd{x}=\sum_{i=1}^{\infty}\int_0^1\frac{(-x)^{i-1}}{i}\dd{x}=\sum_{i=1}^{\infty}\frac{(-1)^{i+1}}{i^2}=\frac{\uppi^2}{12}\] |
| 271 |
\[ |
| 272 |
\int\limits_0^\infty \int_0^\infty |
| 273 |
\sum_{i=1}^\infty \prod_{j=i}^\infty \coprod_{k=i}^\infty |
| 274 |
\oiiint \varointclockwise \ointctrclockwise \awint \intclockwise |
| 275 |
\] |
| 276 |
\[ |
| 277 |
\Biggl( \biggl( \Bigl( \bigl( (x) \bigr) \Bigr) \biggr) \Biggr) \quad |
| 278 |
\Biggl[ \biggl[ \Bigl[ \bigl[ [x] \bigr] \Bigr] \biggr] \Biggr] \quad |
| 279 |
\Biggl\{ \biggl\{ \Bigl\{ \bigl\{ \{x\} \bigr\} \Bigr\} \biggr\} \Biggr\}\quad |
| 280 |
\Biggl\lvert \biggl\lvert \Bigl\lvert \bigl\lvert \lvert x\rvert \bigr\rvert \Bigr\rvert\biggr\rvert \Biggr\rvert\quad |
| 281 |
\Biggl\lVert \biggl\lVert \Bigl\lVert \bigl\lVert \lVert x\rVert \bigr\rVert \Bigr\rVert\biggr\rVert \Biggr\rVert\quad |
| 282 |
\Biggl\langle \biggl\langle \Bigl\langle \bigl\langle \langle x\rangle \bigr\rangle \Bigr\rangle\biggr\rangle \Biggr\rangle\quad |
| 283 |
\] |
| 284 |
\[ |
| 285 |
\Biggl\lgroup \biggl\lgroup \Bigl\lgroup \bigl\lgroup \lgroup x\rgroup \bigr\rgroup \Bigr\rgroup\biggr\rgroup \Biggr\rgroup\quad |
| 286 |
\Biggl\lfloor \biggl\lfloor \Bigl\lfloor \bigl\lfloor \lfloor x\rfloor \bigr\rfloor \Bigr\rfloor\biggr\rfloor \Biggr\rfloor\quad |
| 287 |
\Biggl\lceil \biggl\lceil \Bigl\lceil \bigl\lceil \lceil x\rceil \bigr\rceil \Bigr\rceil\biggr\rceil \Biggr\rceil\quad\] |
| 288 |
\[ |
| 289 |
\bra{x} + \ket{x} + \ip{\alpha}{\beta} + \op{\alpha}{\beta} |
| 290 |
+ \bra{\frac{1}{2}} + \ket{\frac{1}{2}} |
| 291 |
+ \ip{\frac{1}{2}}{\frac{1}{2}} + \op{\frac{1}{2}}{\frac{1}{2}} |
| 292 |
+ \bra{\frac{a^2}{b^2}} |
| 293 |
+ \Biggl\vert \frac{\ee^{x^2}}{\ee^{y^2}} \Biggr\rangle |
| 294 |
\] |
| 295 |
\[ |
| 296 |
\CIRCLEDNUMB + |
| 297 |
ABC^{\CIRCLEDNUMA} |
| 298 |
\] |
| 299 |
\[\left( \begin{matrix} |
| 300 |
{{u}_{0}} \\ |
| 301 |
{{u}_{1}} \\ |
| 302 |
\vdots \\ |
| 303 |
{{u}_{N-1}} \\ |
| 304 |
\end{matrix} \right)=\sum\limits_{k>0}{\left[ \left( \begin{matrix} |
| 305 |
1 \\ |
| 306 |
\cos ka \\ |
| 307 |
\vdots \\ |
| 308 |
\cos k\left( N-1 \right)a \\ |
| 309 |
\end{matrix} \right)\underbrace{{{C}_{k+}}\cos ( {{\omega }_{k}}t+{{\varphi }_{k+}} )}_{\frac{2}{\sqrt{N}}{{q}_{k+}}}+\left( \begin{matrix} |
| 310 |
0 \\ |
| 311 |
\sin ka \\ |
| 312 |
\vdots \\ |
| 313 |
\sin k\left( N-1 \right)a \\ |
| 314 |
\end{matrix} \right)\underbrace{{{C}_{k-}}\cos ( {{\omega }_{k}}t+{{\varphi }_{k-}} )}_{\frac{2}{\sqrt{N}}{{q}_{k-}}} \right]}\] |
| 315 |
\[ |
| 316 |
\begin{split} |
| 317 |
\mathcal{F}^{-1}(\kets{j}) |
| 318 |
&{}=\frac{1}{\sqrt{2^n}}\sum_{k=0}^{2^n-1}\exp\left(-2\uppi \ii \frac{jk}{2^n}\right)\kets{k}.\\ |
| 319 |
&{}=\frac{1}{\sqrt{2^n}}\sum_{k_{n-1}=0}^1\cdots\sum_{k_{0}=0}^1\exp\left(-2\uppi \ii j\sum_{l=0}^{n-1}\frac{2^l k_l}{2^n}\right)\kets{k_{n-1}\cdots k_0}\\ |
| 320 |
&{}=\frac{1}{\sqrt{2^n}}\sum_{k_{n-1}=0}^1\cdots\sum_{k_{0}=0}^1\bigotimes_{l=1}^n\left[\exp\left(-2\uppi \ii j\frac{k_{n-l}}{2^l}\right)\kets{k_{n-l}}\right]\\ |
| 321 |
&{}=\frac{1}{\sqrt{2^n}}\bigotimes_{l=1}^n\left[\sum_{k_{n-l}=0}^1\exp\left(-2\uppi \ii j\frac{k_{n-l}}{2^l}\right)\kets{k_{n-l}}\right]\\ |
| 322 |
&{}=\frac{1}{\sqrt{2^n}}\bigotimes_{l=1}^n\left[\kets{0}_{n-l}+\ee^{-2\uppi \ii j /2^l}\kets{1}_{n-l}\right]\\ |
| 323 |
&{}=\frac{1}{\sqrt{2^n}}\bigotimes_{l=1}^n\left[\kets{0}_{n-l}+\ee^{-2\uppi \ii (\overline{0.j_{l-1}\ldots j_0})}\kets{1}_{n-l}\right]. |
| 324 |
\end{split} |
| 325 |
\] |
| 326 |
|
| 327 |
\newcommand{\lb}{\left(} |
| 328 |
\newcommand{\rb}{\right)} |
| 329 |
\newcommand{\piup}{\uppi} |
| 330 |
\newcommand{\ndd}{\,\mathrm{d}} |
| 331 |
\[\begin{split}S&{}=\frac{m}{2}\int_0^{t_{\text f}}\left[\lb-\omega x_{\text i}\sin\omega t+\omega \frac{x_{\text f}-x_{\text i}\cos\omega t_{\text f}}{\sin\omega t_{\text f}}\cos\omega t\rb^2+\sum_{n=1}^\infty\lb\frac{a_n n \piup}{t_{\text f}}\rb^2\cos^2\frac{n \piup t}{t_{\text f}}\right]\ndd t\\% |
| 332 |
&\quad{}-\frac{m\omega^2}{2}\int_0^{t_{\text f}}\left[\lb x_{\text i}\cos\omega t+ \frac{x_{\text f}-x_{\text i}\cos\omega t_{\text f}}{\sin\omega t_{\text f}}\sin\omega t\rb^2+\sum_{n=1}^\infty {a_n}^2\sin^2\frac{n \piup t}{t_{\text f}}\right]\ndd t\\% |
| 333 |
&{}=\sum_{n=1}^\infty\int_0^{t_{\text f}}\left[\frac{m}{2}\lb\frac{a_n n \piup}{t_{\text f}}\rb^2\cos^2\frac{n \piup t}{t_{\text f}}-\frac{m\omega^2}{2}{a_n}^2\sin^2\frac{n \piup t}{t_{\text f}}\right]\ndd t\\% |
| 334 |
&\quad{}+\frac{m\omega^2}{2}\int_0^{t_{\text f}}\left[ {x_{\text i}}^2-\lb\frac{x_{\text f}-x_{\text i}\cos\omega t_{\text f}}{\sin\omega t_{\text f}}\rb^2\right]\lb\sin^2\omega t-\cos^2\omega t\rb\ndd t\\% |
| 335 |
&\quad{}-\frac{m\omega^2}{2}\int_0^{t_{\text f}}4 {x_{\text i}}\lb\frac{x_{\text f}-x_{\text i}\cos\omega t_{\text f}}{\sin\omega t_{\text f}}\rb\lb\sin\omega t\cos\omega t\rb\ndd t.\end{split}\] |
| 336 |
\[\begin{split}U\lb x_{\text f},t_{\text f};x_{\text i},t_{\text i}\rb=&\sqrt{\frac{m\omega}{2\piup \ii \hbar\sin\left[\omega\lb t_{\text f}-t_{\text i}\rb\right]}}\\&{}\times\exp\left\{\frac{\ii m\omega}{2\hbar\sin\left[\omega \lb t_{\text f}-t_{\text i}\rb\right]}\left[\lb {x_{\text i}}^2+{x_{\text f}}^2\rb\cos\left[\omega\lb t_{\text f}-t_{\text i}\rb\right]-2 x_{\text i} x_{\text f}\right]\right\}.\end{split}\] |
| 337 |
\end{document} |
| 338 |
|
| 339 |
|