Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 7964 Bytes
1 | \documentclass[12pt,titlepage]{article} |
2 | |
3 | \usepackage{amsmath} |
4 | \usepackage{amsfonts} |
5 | \usepackage{amssymb} |
6 | \usepackage{amsthm} |
7 | \usepackage{mathtools} |
8 | <%- if @tex_content =~ /\\mathbb\{[^}]*[a-z0-9]+[^}]*\}/ -%> |
9 | \usepackage{mathbbol} |
10 | <% end -%> |
11 | \usepackage{graphicx} |
12 | \usepackage{color} |
13 | \usepackage{ucs} |
14 | \usepackage[utf8x]{inputenc} |
15 | \usepackage{hyperref} |
16 | |
17 | %----Macros---------- |
18 | % |
19 | % Unresolved issues: |
20 | % |
21 | % \righttoleftarrow |
22 | % \lefttorightarrow |
23 | % |
24 | % \color{} with HTML colorspec |
25 | % \bgcolor |
26 | % \array with options (without options, it's equivalent to the matrix environment) |
27 | |
28 | % Of the standard HTML named colors, white, black, red, green, blue and yellow |
29 | % are predefined in the color package. Here are the rest. |
30 | \definecolor{aqua}{rgb}{0, 1.0, 1.0} |
31 | \definecolor{fuschia}{rgb}{1.0, 0, 1.0} |
32 | \definecolor{gray}{rgb}{0.502, 0.502, 0.502} |
33 | \definecolor{lime}{rgb}{0, 1.0, 0} |
34 | \definecolor{maroon}{rgb}{0.502, 0, 0} |
35 | \definecolor{navy}{rgb}{0, 0, 0.502} |
36 | \definecolor{olive}{rgb}{0.502, 0.502, 0} |
37 | \definecolor{purple}{rgb}{0.502, 0, 0.502} |
38 | \definecolor{silver}{rgb}{0.753, 0.753, 0.753} |
39 | \definecolor{teal}{rgb}{0, 0.502, 0.502} |
40 | |
41 | % Because of conflicts, \space and \mathop are converted to |
42 | % \itexspace and \operatorname during preprocessing. |
43 | |
44 | % itex: \space{ht}{dp}{wd} |
45 | % |
46 | % Height and baseline depth measurements are in units of tenths of an ex while |
47 | % the width is measured in tenths of an em. |
48 | \makeatletter |
49 | \newdimen\itex@wd% |
50 | \newdimen\itex@dp% |
51 | \newdimen\itex@thd% |
52 | \def\itexspace#1#2#3{\itex@wd=#3em% |
53 | \itex@wd=0.1\itex@wd% |
54 | \itex@dp=#2ex% |
55 | \itex@dp=0.1\itex@dp% |
56 | \itex@thd=#1ex% |
57 | \itex@thd=0.1\itex@thd% |
58 | \advance\itex@thd\the\itex@dp% |
59 | \makebox[\the\itex@wd]{\rule[-\the\itex@dp]{0cm}{\the\itex@thd}}} |
60 | \makeatother |
61 | |
62 | % \tensor and \multiscript |
63 | \makeatletter |
64 | \newif\if@sup |
65 | \newtoks\@sups |
66 | \def\append@sup#1{\edef\act{\noexpand\@sups={\the\@sups #1}}\act}% |
67 | \def\reset@sup{\@supfalse\@sups={}}% |
68 | \def\mk@scripts#1#2{\if #2/ \if@sup ^{\the\@sups}\fi \else% |
69 | \ifx #1_ \if@sup ^{\the\@sups}\reset@sup \fi {}_{#2}% |
70 | \else \append@sup#2 \@suptrue \fi% |
71 | \expandafter\mk@scripts\fi} |
72 | \def\tensor#1#2{\reset@sup#1\mk@scripts#2_/} |
73 | \def\multiscripts#1#2#3{\reset@sup{}\mk@scripts#1_/#2% |
74 | \reset@sup\mk@scripts#3_/} |
75 | \makeatother |
76 | |
77 | % \slash |
78 | \makeatletter |
79 | \newbox\slashbox \setbox\slashbox=\hbox{$/$} |
80 | \def\itex@pslash#1{\setbox\@tempboxa=\hbox{$#1$} |
81 | \@tempdima=0.5\wd\slashbox \advance\@tempdima 0.5\wd\@tempboxa |
82 | \copy\slashbox \kern-\@tempdima \box\@tempboxa} |
83 | \def\slash{\protect\itex@pslash} |
84 | \makeatother |
85 | |
86 | % math-mode versions of \rlap, etc |
87 | % from Alexander Perlis, "A complement to \smash, \llap, and lap" |
88 | % http://math.arizona.edu/~aprl/publications/mathclap/ |
89 | \def\clap#1{\hbox to 0pt{\hss#1\hss}} |
90 | \def\mathllap{\mathpalette\mathllapinternal} |
91 | \def\mathrlap{\mathpalette\mathrlapinternal} |
92 | \def\mathclap{\mathpalette\mathclapinternal} |
93 | \def\mathllapinternal#1#2{\llap{$\mathsurround=0pt#1{#2}$}} |
94 | \def\mathrlapinternal#1#2{\rlap{$\mathsurround=0pt#1{#2}$}} |
95 | \def\mathclapinternal#1#2{\clap{$\mathsurround=0pt#1{#2}$}} |
96 | |
97 | % Renames \sqrt as \oldsqrt and redefine root to result in \sqrt[#1]{#2} |
98 | \let\oldroot\root |
99 | \def\root#1#2{\oldroot #1 \of{#2}} |
100 | \renewcommand{\sqrt}[2][]{\oldroot #1 \of{#2}} |
101 | |
102 | % Manually declare the txfonts symbolsC font |
103 | \DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n} |
104 | \SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n} |
105 | \DeclareFontSubstitution{U}{txsyc}{m}{n} |
106 | |
107 | % Manually declare the stmaryrd font |
108 | \DeclareSymbolFont{stmry}{U}{stmry}{m}{n} |
109 | \SetSymbolFont{stmry}{bold}{U}{stmry}{b}{n} |
110 | |
111 | % Declare specific arrows from txfonts without loading the full package |
112 | \makeatletter |
113 | \def\re@DeclareMathSymbol#1#2#3#4{% |
114 | \let#1=\undefined |
115 | \DeclareMathSymbol{#1}{#2}{#3}{#4}} |
116 | \re@DeclareMathSymbol{\neArrow}{\mathrel}{symbolsC}{116} |
117 | \re@DeclareMathSymbol{\neArr}{\mathrel}{symbolsC}{116} |
118 | \re@DeclareMathSymbol{\seArrow}{\mathrel}{symbolsC}{117} |
119 | \re@DeclareMathSymbol{\seArr}{\mathrel}{symbolsC}{117} |
120 | \re@DeclareMathSymbol{\nwArrow}{\mathrel}{symbolsC}{118} |
121 | \re@DeclareMathSymbol{\nwArr}{\mathrel}{symbolsC}{118} |
122 | \re@DeclareMathSymbol{\swArrow}{\mathrel}{symbolsC}{119} |
123 | \re@DeclareMathSymbol{\swArr}{\mathrel}{symbolsC}{119} |
124 | \re@DeclareMathSymbol{\nequiv}{\mathrel}{symbolsC}{46} |
125 | \re@DeclareMathSymbol{\Perp}{\mathrel}{symbolsC}{121} |
126 | \re@DeclareMathSymbol{\Vbar}{\mathrel}{symbolsC}{121} |
127 | \re@DeclareMathSymbol{\sslash}{\mathrel}{stmry}{12} |
128 | \re@DeclareMathSymbol{\invamp}{\mathrel}{symbolsC}{77} |
129 | \re@DeclareMathSymbol{\parr}{\mathrel}{symbolsC}{77} |
130 | \makeatother |
131 | |
132 | % Widecheck |
133 | \makeatletter |
134 | \DeclareRobustCommand\widecheck[1]{{\mathpalette\@widecheck{#1}}} |
135 | \def\@widecheck#1#2{% |
136 | \setbox\z@\hbox{\m@th$#1#2$}% |
137 | \setbox\tw@\hbox{\m@th$#1% |
138 | \widehat{% |
139 | \vrule\@width\z@\@height\ht\z@ |
140 | \vrule\@height\z@\@width\wd\z@}$}% |
141 | \dp\tw@-\ht\z@ |
142 | \@tempdima\ht\z@ \advance\@tempdima2\ht\tw@ \divide\@tempdima\thr@@ |
143 | \setbox\tw@\hbox{% |
144 | \raise\@tempdima\hbox{\scalebox{1}[-1]{\lower\@tempdima\box |
145 | \tw@}}}% |
146 | {\ooalign{\box\tw@ \cr \box\z@}}} |
147 | \makeatother |
148 | |
149 | % udots (taken from yhmath) |
150 | \makeatletter |
151 | \def\udots{\mathinner{\mkern2mu\raise\p@\hbox{.} |
152 | \mkern2mu\raise4\p@\hbox{.}\mkern1mu |
153 | \raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern1mu}} |
154 | \makeatother |
155 | |
156 | %% Fix array |
157 | \newcommand{\itexarray}[1]{\begin{matrix}#1\end{matrix}} |
158 | |
159 | %% Renaming existing commands |
160 | \newcommand{\underoverset}[3]{\underset{#1}{\overset{#2}{#3}}} |
161 | \newcommand{\widevec}{\overrightarrow} |
162 | \newcommand{\darr}{\downarrow} |
163 | \newcommand{\nearr}{\nearrow} |
164 | \newcommand{\nwarr}{\nwarrow} |
165 | \newcommand{\searr}{\searrow} |
166 | \newcommand{\swarr}{\swarrow} |
167 | \newcommand{\curvearrowbotright}{\curvearrowright} |
168 | \newcommand{\uparr}{\uparrow} |
169 | \newcommand{\downuparrow}{\updownarrow} |
170 | \newcommand{\duparr}{\updownarrow} |
171 | \newcommand{\updarr}{\updownarrow} |
172 | \newcommand{\gt}{>} |
173 | \newcommand{\lt}{<} |
174 | \newcommand{\map}{\mapsto} |
175 | \newcommand{\embedsin}{\hookrightarrow} |
176 | \newcommand{\Alpha}{A} |
177 | \newcommand{\Beta}{B} |
178 | \newcommand{\Zeta}{Z} |
179 | \newcommand{\Eta}{H} |
180 | \newcommand{\Iota}{I} |
181 | \newcommand{\Kappa}{K} |
182 | \newcommand{\Mu}{M} |
183 | \newcommand{\Nu}{N} |
184 | \newcommand{\Rho}{P} |
185 | \newcommand{\Tau}{T} |
186 | \newcommand{\Upsi}{\Upsilon} |
187 | \newcommand{\omicron}{o} |
188 | \newcommand{\lang}{\langle} |
189 | \newcommand{\rang}{\rangle} |
190 | \newcommand{\Union}{\bigcup} |
191 | \newcommand{\Intersection}{\bigcap} |
192 | \newcommand{\Oplus}{\bigoplus} |
193 | \newcommand{\Otimes}{\bigotimes} |
194 | \newcommand{\Wedge}{\bigwedge} |
195 | \newcommand{\Vee}{\bigvee} |
196 | \newcommand{\coproduct}{\coprod} |
197 | \newcommand{\product}{\prod} |
198 | \newcommand{\closure}{\overline} |
199 | \newcommand{\integral}{\int} |
200 | \newcommand{\doubleintegral}{\iint} |
201 | \newcommand{\tripleintegral}{\iiint} |
202 | \newcommand{\quadrupleintegral}{\iiiint} |
203 | \newcommand{\conint}{\oint} |
204 | \newcommand{\contourintegral}{\oint} |
205 | \newcommand{\infinity}{\infty} |
206 | \newcommand{\bottom}{\bot} |
207 | \newcommand{\minusb}{\boxminus} |
208 | \newcommand{\plusb}{\boxplus} |
209 | \newcommand{\timesb}{\boxtimes} |
210 | \newcommand{\intersection}{\cap} |
211 | \newcommand{\union}{\cup} |
212 | \newcommand{\Del}{\nabla} |
213 | \newcommand{\odash}{\circleddash} |
214 | \newcommand{\negspace}{\!} |
215 | \newcommand{\widebar}{\overline} |
216 | \newcommand{\textsize}{\normalsize} |
217 | \renewcommand{\scriptsize}{\scriptstyle} |
218 | \newcommand{\scriptscriptsize}{\scriptscriptstyle} |
219 | \newcommand{\mathfr}{\mathfrak} |
220 | \newcommand{\statusline}[2]{#2} |
221 | \newcommand{\tooltip}[2]{#2} |
222 | \newcommand{\toggle}[2]{#2} |
223 | |
224 | % Theorem Environments |
225 | \theoremstyle{plain} |
226 | \newtheorem{theorem}{Theorem} |
227 | \newtheorem{lemma}{Lemma} |
228 | \newtheorem{prop}{Proposition} |
229 | \newtheorem{cor}{Corollary} |
230 | \newtheorem*{utheorem}{Theorem} |
231 | \newtheorem*{ulemma}{Lemma} |
232 | \newtheorem*{uprop}{Proposition} |
233 | \newtheorem*{ucor}{Corollary} |
234 | \theoremstyle{definition} |
235 | \newtheorem{defn}{Definition} |
236 | \newtheorem{example}{Example} |
237 | \newtheorem*{udefn}{Definition} |
238 | \newtheorem*{uexample}{Example} |
239 | \theoremstyle{remark} |
240 | \newtheorem{remark}{Remark} |
241 | \newtheorem{note}{Note} |
242 | \newtheorem*{uremark}{Remark} |
243 | \newtheorem*{unote}{Note} |
244 | |
245 | %------------------------------------------------------------------- |
246 | |
247 | \begin{document} |
248 | |
249 | %------------------------------------------------------------------- |
250 | |
251 | <%= @content_for_layout %> |
252 | |
253 | \end{document} |