File: di.tex

package info (click to toggle)
hevea 2.38-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,824 kB
  • sloc: ml: 19,525; sh: 505; makefile: 311; ansic: 132
file content (22 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\documentclass{article}
\newcommand{\zyva}[2]
  {\left#1\begin{array}{cc}\hline\hline1&2\\3&4\end{array}\right#2}
\begin{document}
Fraction is centered:
$$
\zyva{[}{]} \times \zyva{\lceil}{\rfloor} \over \zyva{(}{)}
$$
You can see arrows:
$$\newcommand{\demo}[1]{\quad\quad#1{1 \times 2 \times \cdots \times n}\quad\texttt{\string#1}}%
\begin{array}{cc}
\demo{\overleftarrow} & \demo{\overrightarrow}
\end{array}
$$
The arrow extends properly
$$\overrightarrow{1234567890}$$
The arrows extend properly
$$
\alpha\quad\overrightarrow{1234567890}\quad\beta\quad\overleftarrow{9876543210}\quad\gamma
$$

\end{document}