Add R highlighting from RStudio (plus other dependencies)
This commit is contained in:
parent
33abb103b4
commit
af70013668
14 changed files with 865 additions and 0 deletions
20
demo/kitchen-sink/docs/tex.tex
Normal file
20
demo/kitchen-sink/docs/tex.tex
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
The quadratic formula is $$-b \pm \sqrt{b^2 - 4ac} \over 2a$$
|
||||
\bye
|
||||
|
||||
\makeatletter
|
||||
\newcommand{\be}{%
|
||||
\begingroup
|
||||
% \setlength{\arraycolsep}{2pt}
|
||||
\eqnarray%
|
||||
\@ifstar{\nonumber}{}%
|
||||
}
|
||||
\newcommand{\ee}{\endeqnarray\endgroup}
|
||||
\makeatother
|
||||
|
||||
\begin{equation}
|
||||
x=\left\{ \begin{array}{cl}
|
||||
0 & \textrm{if }A=\ldots\\
|
||||
1 & \textrm{if }B=\ldots\\
|
||||
x & \textrm{this runs with as much text as you like, but without an raggeright text
|
||||
.}\end{array}\right.
|
||||
\end{equation}
|
||||
Loading…
Add table
Add a link
Reference in a new issue