galaaz 2.1.8 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/Rakefile +20 -2
  4. data/bin/check_gemfile_lock_version +46 -0
  5. data/bin/release_bump +26 -0
  6. data/blogs/README.md +4 -0
  7. data/blogs/galaaz_2_0/galaaz_2_0.Rmd +385 -0
  8. data/blogs/galaaz_2_0/galaaz_2_0.md +409 -0
  9. data/blogs/galaaz_2_0/galaaz_2_0.tex +756 -0
  10. data/blogs/galaaz_2_0/images/galaaz-header.png +0 -0
  11. data/blogs/galaaz_2_0/images/galaaz-lockup-stacked.png +0 -0
  12. data/blogs/galaaz_ggplot/galaaz_ggplot.Rmd +14 -1
  13. data/blogs/galaaz_ggplot/galaaz_ggplot.md +123 -103
  14. data/blogs/galaaz_ggplot/galaaz_ggplot.tex +60 -23
  15. data/blogs/galaaz_ggplot/images/galaaz-lockup-stacked.png +0 -0
  16. data/blogs/gknit/gknit.Rmd +16 -1
  17. data/blogs/gknit/gknit.md +13 -1
  18. data/blogs/gknit/gknit.tex +64 -23
  19. data/blogs/gknit/gknit_files/figure-html/bubble-1.png +0 -0
  20. data/blogs/gknit/gknit_files/figure-html/diverging_bar.png +0 -0
  21. data/blogs/gknit/gknit_files/figure-latex/bubble-1.png +0 -0
  22. data/blogs/gknit/images/galaaz-lockup-stacked.png +0 -0
  23. data/blogs/manual/images/galaaz-lockup-stacked.png +0 -0
  24. data/blogs/manual/manual.Rmd +32 -11
  25. data/blogs/manual/manual.md +30 -23
  26. data/blogs/manual/manual.tex +88 -66
  27. data/blogs/manual/manual_files/figure-html/bubble-1.png +0 -0
  28. data/blogs/manual/manual_files/figure-latex/bubble-1.png +0 -0
  29. data/blogs/nse_dplyr/images/galaaz-lockup-stacked.png +0 -0
  30. data/blogs/nse_dplyr/nse_dplyr.Rmd +14 -1
  31. data/blogs/nse_dplyr/nse_dplyr.md +697 -649
  32. data/blogs/nse_dplyr/nse_dplyr.tex +61 -24
  33. data/blogs/oh_my/images/galaaz-lockup-stacked.png +0 -0
  34. data/blogs/oh_my/oh_my.Rmd +14 -1
  35. data/blogs/oh_my/oh_my.md +36 -26
  36. data/blogs/oh_my/oh_my.tex +95 -58
  37. data/blogs/r_on_rails_ledger/images/00_portfolio_page.png +0 -0
  38. data/blogs/r_on_rails_ledger/images/01_results_panel.png +0 -0
  39. data/blogs/r_on_rails_ledger/images/02_density_tail_risk.png +0 -0
  40. data/blogs/r_on_rails_ledger/images/03_mc_cone.png +0 -0
  41. data/blogs/r_on_rails_ledger/images/04_rolling_var.png +0 -0
  42. data/blogs/r_on_rails_ledger/images/galaaz-lockup-stacked.png +0 -0
  43. data/blogs/r_on_rails_ledger/r_on_rails_ledger.Rmd +354 -0
  44. data/blogs/r_on_rails_ledger/r_on_rails_ledger.md +365 -0
  45. data/blogs/r_on_rails_ledger/r_on_rails_ledger.tex +670 -0
  46. data/blogs/ruby_plot/images/galaaz-lockup-stacked.png +0 -0
  47. data/blogs/ruby_plot/ruby_plot.Rmd +14 -1
  48. data/blogs/ruby_plot/ruby_plot.md +11 -1
  49. data/blogs/ruby_plot/ruby_plot.tex +60 -23
  50. data/blogs/ruby_plot/ruby_plot_files/figure-html/facets_with_jitter.png +0 -0
  51. data/blogs/ruby_plot/ruby_plot_files/figure-html/final_violin_plot.png +0 -0
  52. data/blogs/ruby_plot/ruby_plot_files/figure-html/violin_with_jitter.png +0 -0
  53. data/blogs/ruby_plot/ruby_plot_files/figure-latex/facets_with_jitter.png +0 -0
  54. data/blogs/ruby_plot/ruby_plot_files/figure-latex/final_violin_plot.png +0 -0
  55. data/blogs/ruby_plot/ruby_plot_files/figure-latex/violin_with_jitter.png +0 -0
  56. data/blogs/ruby_plot/ruby_plot_files/ruby_plot_files/figure-latex/facets_with_jitter.png +0 -0
  57. data/blogs/ruby_plot/ruby_plot_files/ruby_plot_files/figure-latex/final_violin_plot.png +0 -0
  58. data/blogs/ruby_plot/ruby_plot_files/ruby_plot_files/figure-latex/violin_with_jitter.png +0 -0
  59. data/lib/galaaz/cli.rb +47 -3
  60. data/logos/icon-font/README.md +27 -0
  61. data/logos/icon-font/build_font.py +130 -0
  62. data/logos/icon-font/galaaz-mark.svg +34 -0
  63. data/script/omarchy/README.md +8 -1
  64. data/script/omarchy/fonts/galaaz.ttf +0 -0
  65. data/script/omarchy/install-galaaz.sh +8 -1
  66. data/script/omarchy/omarchy-menu.jsonc +21 -9
  67. data/sty/galaaz-header.png +0 -0
  68. data/sty/galaaz-headers-from-p3.tex +4 -0
  69. data/sty/galaaz.sty +54 -23
  70. data/version.rb +1 -1
  71. metadata +30 -9
  72. data/blogs/galaaz_ggplot/galaaz_ggplot.log +0 -745
  73. data/blogs/gknit/gknit_files/gknit_files/figure-latex/bubble-1.png +0 -0
  74. data/blogs/manual/manual.log +0 -1530
  75. data/blogs/manual/manual_files/manual_files/figure-latex/bubble-1.png +0 -0
  76. data/blogs/nse_dplyr/nse_dplyr.log +0 -824
  77. data/blogs/oh_my/oh_my.log +0 -974
  78. data/blogs/ruby_plot/ruby_plot.log +0 -887
@@ -101,7 +101,7 @@
101
101
  \usepackage[utf8]{inputenc}
102
102
 
103
103
  \usepackage{geometry}
104
- \geometry{a4paper, top=1in}
104
+ \geometry{a4paper, top=1.05in, headheight=30pt, headsep=14pt}
105
105
 
106
106
  % needed for kableExtra
107
107
  \usepackage{longtable}
@@ -122,29 +122,60 @@
122
122
  \usepackage{graphicx}
123
123
 
124
124
  \usepackage{fancyhdr}
125
- % set the header and foot style
126
- % style 'fancy' adds the section name on the header
127
- % and the page number on the footer
125
+ % Header: small Galaaz mark (left); page number + section title (right),
126
+ % matching classic LaTeX style: "4 AN EXTENSION TO THE EXAMPLE"
127
+ % (upright page number, uppercase italic section name).
128
+ % Logo paths cover repo blogs (../../sty/), installed ~/sty/, and local images/.
129
+ % Blogs may delay headers with \renewcommand{\galaazheaderfrompage}{3} after this sty
130
+ % (e.g. skip title/TOC and a logo splash page).
131
+ \newcommand{\galaazheaderfrompage}{1}
132
+ \newcommand{\galaazheaderlogo}{%
133
+ \raisebox{-0.12\height}{%
134
+ \IfFileExists{../../sty/galaaz-header.png}{%
135
+ \includegraphics[height=0.32in]{../../sty/galaaz-header.png}%
136
+ }{%
137
+ \IfFileExists{galaaz-header.png}{%
138
+ \includegraphics[height=0.32in]{galaaz-header.png}%
139
+ }{%
140
+ \IfFileExists{images/galaaz-header.png}{%
141
+ \includegraphics[height=0.32in]{images/galaaz-header.png}%
142
+ }{}%
143
+ }%
144
+ }%
145
+ }%
146
+ }
147
+ % Section title only in marks (no \thesection); page number is separate.
148
+ \renewcommand{\sectionmark}[1]{\markboth{#1}{}}
149
+ \renewcommand{\subsectionmark}[1]{}% keep the current section in the header
150
+ \newcommand{\galaazmaybeheaderlogo}{%
151
+ \ifnum\value{page}<\galaazheaderfrompage\relax\else\galaazheaderlogo\fi}
152
+ \newcommand{\galaazmayberighthead}{%
153
+ \ifnum\value{page}<\galaazheaderfrompage\relax
154
+ \else
155
+ \textup{\thepage}\hspace{1em}\textit{\MakeUppercase{\leftmark}}%
156
+ \fi
157
+ }
128
158
  \pagestyle{fancy}
129
-
130
- % style 'fancyhf' leaves header and footer empty
131
- %\fancyhf{}
132
-
133
- % sets the left head element to \rightmark, which contains the
134
- % current section (\leftmark is the current chapter)
135
- %\fancyhead[L]{\rightmark} .
136
-
137
- % sets the right head element to the page number.
138
- % \fancyhead[R]{\thepage}
139
-
140
- % lets the head rule disappear.
141
- % \renewcommand{\headrulewidth}{0pt}
142
- % Possible selectors for the optional argument of \fancyhead/\fancyfoot
143
- % are L (left), C (center) or R (right) for the position of the element
144
- % and E (even) or O (odd) to distinguish even and odd pages. If you omit
145
- % E/O the element is set for all pages.
146
-
147
- % \usepackage{lipsum}
159
+ \fancyhf{}
160
+ \fancyhead[L]{\galaazmaybeheaderlogo}
161
+ \fancyhead[R]{\galaazmayberighthead}
162
+ \renewcommand{\headrulewidth}{0.3pt}
163
+ \makeatletter
164
+ \renewcommand{\headrule}{%
165
+ \ifnum\value{page}<\galaazheaderfrompage\relax
166
+ \else
167
+ \hrule\@height\headrulewidth\@width\headwidth
168
+ \vskip-\headrulewidth
169
+ \fi
170
+ }
171
+ \makeatother
172
+ % First page often uses plain; same conditional header logic.
173
+ \fancypagestyle{plain}{%
174
+ \fancyhf{}%
175
+ \fancyhead[L]{\galaazmaybeheaderlogo}%
176
+ \fancyhead[R]{\galaazmayberighthead}%
177
+ \renewcommand{\headrulewidth}{0.3pt}%
178
+ }
148
179
 
149
180
  % make available command lastpage
150
181
  \usepackage{lastpage}
@@ -189,6 +220,10 @@
189
220
 
190
221
  %
191
222
  %\newcommand{\atraso}[1]{\color{red} \textbf {Tempo desde a Assinatura do Contrato: #1 dias}}
223
+ % No header on title/TOC (p.1) or splash logo page (p.2);
224
+ % logo + page number + section title from page 3 onward.
225
+ % Load after galaaz.sty.
226
+ \renewcommand{\galaazheaderfrompage}{3}
192
227
  \usepackage{bookmark}
193
228
  \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
194
229
  \urlstyle{same}
@@ -209,6 +244,8 @@
209
244
  \setcounter{tocdepth}{2}
210
245
  \tableofcontents
211
246
  }
247
+ \begin{center}\includegraphics[width=0.45\linewidth]{images/galaaz-lockup-stacked} \end{center}
248
+
212
249
  \section{Introduction}\label{introduction}
213
250
 
214
251
  According to Steven Sagaert's answer on Quora about ``Is programming
@@ -796,7 +833,7 @@ Let's start by taking a look at this dataset:
796
833
 
797
834
  \begin{verbatim}
798
835
  ## ~(dim(flights))
799
- ## <environment: 0x57d8ad019298>
836
+ ## <environment: 0x5acac1752f98>
800
837
  \end{verbatim}
801
838
 
802
839
  Now, let's use a first verb of \emph{dplyr}: `filter'. This verb,
@@ -9,9 +9,17 @@ output:
9
9
  html_document:
10
10
  self_contained: true
11
11
  keep_md: true
12
+ toc: true
13
+ toc_float: true
14
+ toc_depth: 2
15
+ number_sections: true
16
+ includes:
17
+ before_body: _logo_before_body.html
12
18
  pdf_document:
13
19
  includes:
14
- in_header: "../../sty/galaaz.sty"
20
+ in_header:
21
+ - "../../sty/galaaz.sty"
22
+ - "../../sty/galaaz-headers-from-p3.tex"
15
23
  keep_tex: yes
16
24
  number_sections: yes
17
25
  toc: true
@@ -23,6 +31,11 @@ fontsize: 11pt
23
31
  options(width = 70)
24
32
  ```
25
33
 
34
+ ```{r brand_logo, echo=FALSE, fig.align='center', out.width='45%', eval=knitr::is_latex_output()}
35
+ # PDF only — HTML uses _logo_before_body.html (above the TOC).
36
+ knitr::include_graphics("images/galaaz-lockup-stacked.png")
37
+ ```
38
+
26
39
  # Introduction
27
40
 
28
41
  This paper introduces and compares Galaaz with R's S4. It is **modeled closely** on
data/blogs/oh_my/oh_my.md CHANGED
@@ -9,9 +9,17 @@ output:
9
9
  html_document:
10
10
  self_contained: true
11
11
  keep_md: true
12
+ toc: true
13
+ toc_float: true
14
+ toc_depth: 2
15
+ number_sections: true
16
+ includes:
17
+ before_body: _logo_before_body.html
12
18
  pdf_document:
13
19
  includes:
14
- in_header: "../../sty/galaaz.sty"
20
+ in_header:
21
+ - "../../sty/galaaz.sty"
22
+ - "../../sty/galaaz-headers-from-p3.tex"
15
23
  keep_tex: yes
16
24
  number_sections: yes
17
25
  toc: true
@@ -21,6 +29,8 @@ fontsize: 11pt
21
29
 
22
30
 
23
31
 
32
+
33
+
24
34
  # Introduction
25
35
 
26
36
  This paper introduces and compares Galaaz with R's S4. It is **modeled closely** on
@@ -104,7 +114,7 @@ puts @traj
104
114
  ```
105
115
 
106
116
  ```
107
- ## #<RC::Trajectories:0x58ea712d>
117
+ ## #<RC::Trajectories:0x3cbcf7a0>
108
118
  ```
109
119
 
110
120
  To see the contents of an object, one needs to access its components using the '.' operator:
@@ -587,27 +597,27 @@ end
587
597
  ## 32
588
598
  ## * Traj (limited to a matrix 10x10) =
589
599
  ## [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
590
- ## [1,] "16.11" "16.22" "16.57" "16.54" "16.06" "16.73" "16.52" "17.07"
591
- ## [2,] "16.22" "15.78" "16.51" "16.27" "16.78" "17.07" "16.89" "17.03"
592
- ## [3,] "16.11" "16.32" "16.17" "16.56" "16.63" "16.83" "16.76" "17.17"
593
- ## [4,] "16.28" "16.11" "16.42" "16.40" "16.54" "16.22" "16.48" "17.14"
594
- ## [5,] "16.11" "16.30" "16.12" "16.47" "16.49" "16.66" "16.98" "17.17"
595
- ## [6,] "15.63" "16.22" "16.53" "16.52" "16.50" "16.63" "17.07" "17.04"
596
- ## [7,] "16.18" "16.16" "15.89" "16.22" "16.82" "16.97" "17.16" "17.22"
597
- ## [8,] "15.53" "15.93" "16.36" "16.86" "16.26" "16.92" "16.96" "16.97"
598
- ## [9,] "15.92" "16.22" "16.22" "16.13" "16.52" "16.77" "17.14" "16.76"
599
- ## [10,] "16.45" "15.91" "16.14" "16.62" "16.53" "17.11" "16.96" "17.00"
600
+ ## [1,] "15.85" "16.10" "16.34" "16.33" "16.58" "16.91" "16.89" "16.99"
601
+ ## [2,] "15.67" "16.28" "16.37" "16.34" "16.31" "16.39" "17.19" "16.84"
602
+ ## [3,] "16.02" "16.03" "16.40" "16.52" "16.68" "16.99" "16.87" "17.26"
603
+ ## [4,] "15.99" "16.24" "16.30" "16.38" "16.76" "16.84" "16.60" "16.96"
604
+ ## [5,] "15.89" "15.96" "16.43" "16.68" "16.48" "16.68" "16.87" "16.59"
605
+ ## [6,] "16.35" "15.97" "16.04" "16.65" "16.66" "16.58" "16.95" "17.01"
606
+ ## [7,] "16.17" "16.22" "16.37" "16.34" "16.53" "16.34" "16.93" "16.96"
607
+ ## [8,] "15.98" "15.97" "16.08" "16.49" "16.91" "16.97" "16.91" "17.43"
608
+ ## [9,] "16.49" "16.26" "16.08" "16.44" "16.57" "16.92" "17.14" "17.46"
609
+ ## [10,] "16.10" "15.95" "16.19" "16.16" "16.66" "16.99" "17.03" "17.12"
600
610
  ## [,9] [,10]
601
- ## [1,] "17.24" "17.34"
602
- ## [2,] "17.60" "17.19"
603
- ## [3,] "17.63" "17.24"
604
- ## [4,] "17.18" "17.55"
605
- ## [5,] "17.25" "17.49"
606
- ## [6,] "17.19" "17.06"
607
- ## [7,] "16.90" "17.34"
608
- ## [8,] "17.32" "17.01"
609
- ## [9,] "17.46" "17.31"
610
- ## [10,] "17.29" "17.21"
611
+ ## [1,] "17.38" "17.30"
612
+ ## [2,] "17.00" "17.47"
613
+ ## [3,] "17.02" "17.28"
614
+ ## [4,] "17.06" "17.28"
615
+ ## [5,] "17.01" "17.14"
616
+ ## [6,] "16.95" "17.14"
617
+ ## [7,] "17.02" "17.08"
618
+ ## [8,] "17.15" "17.67"
619
+ ## [9,] "17.06" "17.43"
620
+ ## [10,] "17.10" "17.57"
611
621
  ## ******* End Show (trajectories) *******
612
622
  ```
613
623
 
@@ -2104,7 +2114,7 @@ puts @a
2104
2114
  ## [1] A B C B B A
2105
2115
  ## Levels: A B C
2106
2116
  ##
2107
- ## #<RC::PartitionSimple:0x666d3927>
2117
+ ## #<RC::PartitionSimple:0x5520a83a>
2108
2118
  ```
2109
2119
 
2110
2120
 
@@ -2132,7 +2142,7 @@ puts @b
2132
2142
  ## [1] A E C D B D
2133
2143
  ## Levels: A < B < C < D < E
2134
2144
  ##
2135
- ## #<RC::PartitionEval:0x22d4f3a8>
2145
+ ## #<RC::PartitionEval:0x6b85a357>
2136
2146
  ```
2137
2147
 
2138
2148
 
@@ -2174,7 +2184,7 @@ puts @a
2174
2184
  ## [1] A B C B B A
2175
2185
  ## Levels: A B C
2176
2186
  ##
2177
- ## #<RC::PartitionSimple:0x666d3927>
2187
+ ## #<RC::PartitionSimple:0x5520a83a>
2178
2188
  ```
2179
2189
 
2180
2190
  As can be seen, 'puts @a' now calls method 'to_s' defined in class PartitionSimple. This
@@ -2197,7 +2207,7 @@ puts @b
2197
2207
  ## [1] A E C D B D
2198
2208
  ## Levels: A < B < C < D < E
2199
2209
  ##
2200
- ## #<RC::PartitionEval:0x22d4f3a8>
2210
+ ## #<RC::PartitionEval:0x6b85a357>
2201
2211
  ```
2202
2212
 
2203
2213
  # Internal Modification of an Object
@@ -101,7 +101,7 @@
101
101
  \usepackage[utf8]{inputenc}
102
102
 
103
103
  \usepackage{geometry}
104
- \geometry{a4paper, top=1in}
104
+ \geometry{a4paper, top=1.05in, headheight=30pt, headsep=14pt}
105
105
 
106
106
  % needed for kableExtra
107
107
  \usepackage{longtable}
@@ -122,29 +122,60 @@
122
122
  \usepackage{graphicx}
123
123
 
124
124
  \usepackage{fancyhdr}
125
- % set the header and foot style
126
- % style 'fancy' adds the section name on the header
127
- % and the page number on the footer
125
+ % Header: small Galaaz mark (left); page number + section title (right),
126
+ % matching classic LaTeX style: "4 AN EXTENSION TO THE EXAMPLE"
127
+ % (upright page number, uppercase italic section name).
128
+ % Logo paths cover repo blogs (../../sty/), installed ~/sty/, and local images/.
129
+ % Blogs may delay headers with \renewcommand{\galaazheaderfrompage}{3} after this sty
130
+ % (e.g. skip title/TOC and a logo splash page).
131
+ \newcommand{\galaazheaderfrompage}{1}
132
+ \newcommand{\galaazheaderlogo}{%
133
+ \raisebox{-0.12\height}{%
134
+ \IfFileExists{../../sty/galaaz-header.png}{%
135
+ \includegraphics[height=0.32in]{../../sty/galaaz-header.png}%
136
+ }{%
137
+ \IfFileExists{galaaz-header.png}{%
138
+ \includegraphics[height=0.32in]{galaaz-header.png}%
139
+ }{%
140
+ \IfFileExists{images/galaaz-header.png}{%
141
+ \includegraphics[height=0.32in]{images/galaaz-header.png}%
142
+ }{}%
143
+ }%
144
+ }%
145
+ }%
146
+ }
147
+ % Section title only in marks (no \thesection); page number is separate.
148
+ \renewcommand{\sectionmark}[1]{\markboth{#1}{}}
149
+ \renewcommand{\subsectionmark}[1]{}% keep the current section in the header
150
+ \newcommand{\galaazmaybeheaderlogo}{%
151
+ \ifnum\value{page}<\galaazheaderfrompage\relax\else\galaazheaderlogo\fi}
152
+ \newcommand{\galaazmayberighthead}{%
153
+ \ifnum\value{page}<\galaazheaderfrompage\relax
154
+ \else
155
+ \textup{\thepage}\hspace{1em}\textit{\MakeUppercase{\leftmark}}%
156
+ \fi
157
+ }
128
158
  \pagestyle{fancy}
129
-
130
- % style 'fancyhf' leaves header and footer empty
131
- %\fancyhf{}
132
-
133
- % sets the left head element to \rightmark, which contains the
134
- % current section (\leftmark is the current chapter)
135
- %\fancyhead[L]{\rightmark} .
136
-
137
- % sets the right head element to the page number.
138
- % \fancyhead[R]{\thepage}
139
-
140
- % lets the head rule disappear.
141
- % \renewcommand{\headrulewidth}{0pt}
142
- % Possible selectors for the optional argument of \fancyhead/\fancyfoot
143
- % are L (left), C (center) or R (right) for the position of the element
144
- % and E (even) or O (odd) to distinguish even and odd pages. If you omit
145
- % E/O the element is set for all pages.
146
-
147
- % \usepackage{lipsum}
159
+ \fancyhf{}
160
+ \fancyhead[L]{\galaazmaybeheaderlogo}
161
+ \fancyhead[R]{\galaazmayberighthead}
162
+ \renewcommand{\headrulewidth}{0.3pt}
163
+ \makeatletter
164
+ \renewcommand{\headrule}{%
165
+ \ifnum\value{page}<\galaazheaderfrompage\relax
166
+ \else
167
+ \hrule\@height\headrulewidth\@width\headwidth
168
+ \vskip-\headrulewidth
169
+ \fi
170
+ }
171
+ \makeatother
172
+ % First page often uses plain; same conditional header logic.
173
+ \fancypagestyle{plain}{%
174
+ \fancyhf{}%
175
+ \fancyhead[L]{\galaazmaybeheaderlogo}%
176
+ \fancyhead[R]{\galaazmayberighthead}%
177
+ \renewcommand{\headrulewidth}{0.3pt}%
178
+ }
148
179
 
149
180
  % make available command lastpage
150
181
  \usepackage{lastpage}
@@ -189,6 +220,10 @@
189
220
 
190
221
  %
191
222
  %\newcommand{\atraso}[1]{\color{red} \textbf {Tempo desde a Assinatura do Contrato: #1 dias}}
223
+ % No header on title/TOC (p.1) or splash logo page (p.2);
224
+ % logo + page number + section title from page 3 onward.
225
+ % Load after galaaz.sty.
226
+ \renewcommand{\galaazheaderfrompage}{3}
192
227
  \usepackage{bookmark}
193
228
  \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
194
229
  \urlstyle{same}
@@ -209,6 +244,8 @@
209
244
  \setcounter{tocdepth}{2}
210
245
  \tableofcontents
211
246
  }
247
+ \begin{center}\includegraphics[width=0.45\linewidth]{images/galaaz-lockup-stacked} \end{center}
248
+
212
249
  \section{Introduction}\label{introduction}
213
250
 
214
251
  This paper introduces and compares Galaaz with R's S4. It is
@@ -301,7 +338,7 @@ contents as in R.
301
338
  \end{Shaded}
302
339
 
303
340
  \begin{verbatim}
304
- ## #<RC::Trajectories:0x4433c45f>
341
+ ## #<RC::Trajectories:0x7df91b21>
305
342
  \end{verbatim}
306
343
 
307
344
  To see the contents of an object, one needs to access its components
@@ -483,11 +520,11 @@ correctly set:
483
520
  \begin{verbatim}
484
521
  ## [1] 1 3 4 5
485
522
  ##
486
- ## [,1] [,2] [,3] [,4]
487
- ## g2_v7095 15.0 15.1 15.2 15.2
488
- ## g2_v7096 16.0 15.9 16.0 16.4
489
- ## g2_v7097 15.2 NA 15.3 15.3
490
- ## g2_v7098 15.7 15.6 15.8 16.0
523
+ ## [,1] [,2] [,3] [,4]
524
+ ## g2_v729 15.0 15.1 15.2 15.2
525
+ ## g2_v730 16.0 15.9 16.0 16.4
526
+ ## g2_v731 15.2 NA 15.3 15.3
527
+ ## g2_v732 15.7 15.6 15.8 16.0
491
528
  ##
492
529
  ## [1] 1 2 3 4 5 6 7 8 9 10 12 14 16 18 20 22 24 26 28 30 32
493
530
  \end{verbatim}
@@ -700,11 +737,11 @@ Trajectories's print we need to write `Kernel.print'.
700
737
  ## 4
701
738
  ## 5
702
739
  ## traj =
703
- ## [,1] [,2] [,3] [,4]
704
- ## g2_v7095 15.0 15.1 15.2 15.2
705
- ## g2_v7096 16.0 15.9 16.0 16.4
706
- ## g2_v7097 15.2 NA 15.3 15.3
707
- ## g2_v7098 15.7 15.6 15.8 16.0
740
+ ## [,1] [,2] [,3] [,4]
741
+ ## g2_v729 15.0 15.1 15.2 15.2
742
+ ## g2_v730 16.0 15.9 16.0 16.4
743
+ ## g2_v731 15.2 NA 15.3 15.3
744
+ ## g2_v732 15.7 15.6 15.8 16.0
708
745
  ## ******* End Print (trajectories) *******
709
746
  \end{verbatim}
710
747
 
@@ -831,27 +868,27 @@ we have already seen, others will be described now:
831
868
  ## 32
832
869
  ## * Traj (limited to a matrix 10x10) =
833
870
  ## [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
834
- ## [1,] "16.08" "16.63" "16.39" "16.47" "16.60" "16.90" "17.07" "17.38"
835
- ## [2,] "16.35" "15.96" "16.29" "16.41" "16.65" "16.45" "17.23" "16.84"
836
- ## [3,] "15.70" "16.08" "16.70" "16.20" "16.67" "16.67" "16.94" "17.10"
837
- ## [4,] "15.94" "16.05" "16.30" "16.57" "16.48" "16.80" "16.95" "17.06"
838
- ## [5,] "16.06" "16.07" "16.33" "16.71" "16.91" "16.92" "17.22" "16.91"
839
- ## [6,] "16.17" "15.85" "16.61" "16.78" "16.41" "16.78" "17.00" "17.09"
840
- ## [7,] "16.03" "15.86" "16.46" "16.60" "16.80" "16.79" "16.97" "17.21"
841
- ## [8,] "16.24" "16.54" "16.21" "16.46" "16.81" "17.07" "16.67" "17.34"
842
- ## [9,] "15.89" "16.24" "16.30" "16.46" "16.53" "17.11" "17.06" "17.17"
843
- ## [10,] "16.15" "16.06" "16.38" "16.10" "16.36" "16.94" "16.78" "17.08"
871
+ ## [1,] "16.25" "16.49" "16.28" "16.18" "16.59" "16.78" "16.93" "17.34"
872
+ ## [2,] "16.00" "16.39" "16.54" "16.74" "16.74" "16.69" "16.52" "16.79"
873
+ ## [3,] "16.03" "16.48" "16.21" "16.34" "16.46" "16.99" "17.07" "17.04"
874
+ ## [4,] "16.18" "16.03" "16.22" "16.38" "16.74" "16.83" "16.94" "17.04"
875
+ ## [5,] "16.11" "15.72" "16.01" "16.32" "16.27" "16.68" "17.18" "16.95"
876
+ ## [6,] "16.03" "16.17" "16.13" "16.60" "17.02" "16.57" "17.26" "16.91"
877
+ ## [7,] "15.99" "16.10" "16.51" "16.39" "16.97" "16.82" "16.74" "17.10"
878
+ ## [8,] "16.32" "15.85" "16.65" "16.33" "16.60" "15.93" "16.77" "17.19"
879
+ ## [9,] "16.13" "16.41" "16.56" "16.47" "16.71" "16.59" "16.94" "16.83"
880
+ ## [10,] "15.77" "16.23" "16.28" "16.27" "16.83" "16.32" "16.86" "16.74"
844
881
  ## [,9] [,10]
845
- ## [1,] "17.29" "17.29"
846
- ## [2,] "16.97" "17.13"
847
- ## [3,] "16.94" "17.47"
848
- ## [4,] "16.65" "17.61"
849
- ## [5,] "17.17" "17.49"
850
- ## [6,] "16.98" "17.87"
851
- ## [7,] "17.16" "17.29"
852
- ## [8,] "17.18" "17.48"
853
- ## [9,] "17.09" "17.18"
854
- ## [10,] "17.69" "17.54"
882
+ ## [1,] "17.20" "17.30"
883
+ ## [2,] "17.26" "17.50"
884
+ ## [3,] "17.10" "17.00"
885
+ ## [4,] "17.20" "17.33"
886
+ ## [5,] "17.33" "17.15"
887
+ ## [6,] "17.24" "17.45"
888
+ ## [7,] "17.07" "17.65"
889
+ ## [8,] "16.81" "17.63"
890
+ ## [9,] "17.24" "17.47"
891
+ ## [10,] "16.92" "17.42"
855
892
  ## ******* End Show (trajectories) *******
856
893
  \end{verbatim}
857
894
 
@@ -2484,7 +2521,7 @@ to show Ruby's inheritance:
2484
2521
  ## [1] A B C B B A
2485
2522
  ## Levels: A B C
2486
2523
  ##
2487
- ## #<RC::PartitionSimple:0x5f44865c>
2524
+ ## #<RC::PartitionSimple:0x6b85a357>
2488
2525
  \end{verbatim}
2489
2526
 
2490
2527
  \begin{Shaded}
@@ -2514,7 +2551,7 @@ to show Ruby's inheritance:
2514
2551
  ## [1] A E C D B D
2515
2552
  ## Levels: A < B < C < D < E
2516
2553
  ##
2517
- ## #<RC::PartitionEval:0x45e699f1>
2554
+ ## #<RC::PartitionEval:0x462891eb>
2518
2555
  \end{verbatim}
2519
2556
 
2520
2557
  \begin{Shaded}
@@ -2560,7 +2597,7 @@ name of the class:
2560
2597
  ## [1] A B C B B A
2561
2598
  ## Levels: A B C
2562
2599
  ##
2563
- ## #<RC::PartitionSimple:0x5f44865c>
2600
+ ## #<RC::PartitionSimple:0x6b85a357>
2564
2601
  \end{verbatim}
2565
2602
 
2566
2603
  As can be seen, `puts @a' now calls method `to\_s' defined in class
@@ -2584,7 +2621,7 @@ particular `to\_s' method.
2584
2621
  ## [1] A E C D B D
2585
2622
  ## Levels: A < B < C < D < E
2586
2623
  ##
2587
- ## #<RC::PartitionEval:0x45e699f1>
2624
+ ## #<RC::PartitionEval:0x462891eb>
2588
2625
  \end{verbatim}
2589
2626
 
2590
2627
  \section{Internal Modification of an