mergeron 2024.739125.3__py3-none-any.whl → 2024.739127.0__py3-none-any.whl
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.
Potentially problematic release.
This version of mergeron might be problematic. Click here for more details.
- mergeron/__init__.py +1 -1
- mergeron/gen/data_generation.py +21 -21
- mergeron/gen/enforcement_stats.py +3 -538
- mergeron/gen/upp_tests.py +16 -17
- {mergeron-2024.739125.3.dist-info → mergeron-2024.739127.0.dist-info}/METADATA +1 -1
- mergeron-2024.739127.0.dist-info/RECORD +24 -0
- mergeron/data/jinja2_LaTeX_templates/clrrate_cis_summary_table_template.tex.jinja2 +0 -121
- mergeron/data/jinja2_LaTeX_templates/ftcinvdata_byhhianddelta_table_template.tex.jinja2 +0 -82
- mergeron/data/jinja2_LaTeX_templates/ftcinvdata_summary_table_template.tex.jinja2 +0 -57
- mergeron/data/jinja2_LaTeX_templates/ftcinvdata_summarypaired_table_template_tabularray.tex.jinja2 +0 -81
- mergeron/data/jinja2_LaTeX_templates/ftcinvdata_summarypaired_table_template_tikz.tex.jinja2 +0 -142
- mergeron/data/jinja2_LaTeX_templates/mergeron.cls +0 -155
- mergeron/data/jinja2_LaTeX_templates/mergeron_table_collection_template.tex.jinja2 +0 -93
- mergeron/data/jinja2_LaTeX_templates/setup_tikz_tables.sty +0 -129
- mergeron-2024.739125.3.dist-info/RECORD +0 -32
- {mergeron-2024.739125.3.dist-info → mergeron-2024.739127.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
mergeron/License.txt,sha256=7iX-y0EyjkbVJKJLS4ZKzuuE1wd0lryfsD_IytLG8lQ,1246
|
|
2
|
+
mergeron/__init__.py,sha256=bTcTGdrdd0aHh_uD3Pl84q1uw-13oAwbGOXHqpK6vI8,1479
|
|
3
|
+
mergeron/core/__init__.py,sha256=KtjBlZOl7jwBCAUhrTJB9PdrN39YLYytNiSUSM_gRmA,62
|
|
4
|
+
mergeron/core/damodaran_margin_data.py,sha256=rMrgN1Qtw572a0ftY97OOj4otq8ldlLrcOi-bcE-org,8554
|
|
5
|
+
mergeron/core/ftc_merger_investigations_data.py,sha256=Q8d2N4brY2cwJClibwxOVfLE3WV0XZABssblGN6nOdA,28639
|
|
6
|
+
mergeron/core/guidelines_boundaries.py,sha256=sEvIIaOvWl6tMDYeZCIr8EsBioXOn9RSXKyKlmxnH-k,15610
|
|
7
|
+
mergeron/core/guidelines_boundary_functions.py,sha256=GGn5mwBWmxkqcat4Ya0D-J6-7ujosgCCK3eJ9RFWASI,29749
|
|
8
|
+
mergeron/core/guidelines_boundary_functions_extra.py,sha256=HDwwKZDWlrj3Tw-I0gHm0TCSDcIyb9jDfwbuDvK55B8,11322
|
|
9
|
+
mergeron/core/pseudorandom_numbers.py,sha256=cJEWDTfy9CUTzR_di6Fm1Vl1Le6xWoU8wFHbYVMEuLI,9225
|
|
10
|
+
mergeron/data/__init__.py,sha256=KtjBlZOl7jwBCAUhrTJB9PdrN39YLYytNiSUSM_gRmA,62
|
|
11
|
+
mergeron/data/damodaran_margin_data.xls,sha256=Qggl1p5nkOMJI8YUXhkwXQRz-OhRSqBTzz57N0JQyYA,79360
|
|
12
|
+
mergeron/data/damodaran_margin_data_dict.msgpack,sha256=sr6s4L69kposEpzGI7jpPb4ULz0UpY-bEYfeNi6UlRA,57621
|
|
13
|
+
mergeron/data/ftc_invdata.msgpack,sha256=WBFHgi7Ld4R-h2zL2Zc3TOIlKqVrbVFMH1LoI4-T-M0,264664
|
|
14
|
+
mergeron/demo/__init__.py,sha256=KtjBlZOl7jwBCAUhrTJB9PdrN39YLYytNiSUSM_gRmA,62
|
|
15
|
+
mergeron/demo/visualize_empirical_margin_distribution.py,sha256=v1xFJumBX2Ooye82kSSgly-_GpFVkYSDqBwM__rcmZY,2363
|
|
16
|
+
mergeron/gen/__init__.py,sha256=0rfcWpKDhYE_jNsw6xKTGFJqgNtfJ-5JFxHS89CIEuI,16575
|
|
17
|
+
mergeron/gen/data_generation.py,sha256=jSpwB2BHBDPVTsT1-NZhTSCcUV6816qn5oZBe6S0Hio,16797
|
|
18
|
+
mergeron/gen/data_generation_functions.py,sha256=bP3E0IPXINRc8s0dUxS_Wqo1byVzheZLX811A17WNbU,28571
|
|
19
|
+
mergeron/gen/enforcement_stats.py,sha256=ZjrV_VkFMF0D1myc-fj-W99M1EhJMA9-nCfyE5g9e54,10890
|
|
20
|
+
mergeron/gen/upp_tests.py,sha256=PtPOcu1zPDoHJUi06ytDUPNk21rzMwnfeGqUhvYXZs0,12607
|
|
21
|
+
mergeron/py.typed,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
22
|
+
mergeron-2024.739127.0.dist-info/METADATA,sha256=rvQUQmlBT2ECLY4t9Dy4fnUN1-A_sn_5f09z_IYNPE4,13976
|
|
23
|
+
mergeron-2024.739127.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
24
|
+
mergeron-2024.739127.0.dist-info/RECORD,,
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
\begin{table}[bt]
|
|
2
|
-
%# jinja2 code blocks for creating variables here
|
|
3
|
-
%# Spurious blank lines don't matter?
|
|
4
|
-
((* if tmpl_data.obs_merger_class == 'Entry Difficult' *))
|
|
5
|
-
((* set table_ref, obs_merger_class_desc = "9.2", "Markets with Strong Entry Barriers (``" + tmpl_data.obs_merger_class + "'')" *))
|
|
6
|
-
((* else *))
|
|
7
|
-
((* set table_ref, obs_merger_class_desc = "3.1", tmpl_data.obs_merger_class *))
|
|
8
|
-
((* endif *))
|
|
9
|
-
|
|
10
|
-
((* if tmpl_data.test_res == 'Enforcement' *))
|
|
11
|
-
((* set prop_title = "Proportion Enforced" *))
|
|
12
|
-
((* else *))
|
|
13
|
-
((* set prop_title = "Proportion Cleared" *))
|
|
14
|
-
((* endif *))
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
\centering
|
|
18
|
-
\caption{
|
|
19
|
-
\JINVAR{ prop_title } and Simulated \JINVAR{ tmpl_data.PolicySelector} Rates
|
|
20
|
-
for FTC Investigated Mergers
|
|
21
|
-
}\label{tbl:clearanceRates_\JINVAR{ tmpl_data.obs_summary_type|replace(" ", "") -}_\JINVAR{ tmpl_data.obs_merger_class|replace(" ", "") -}_\JINVAR{ tmpl_data.obs_period|last -}}
|
|
22
|
-
{\footnotesize
|
|
23
|
-
\JINVAR{ tmpl_data.obs_summary_type_title } \\
|
|
24
|
-
\JINVAR{ obs_merger_class_desc +", " + tmpl_data.obs_period|join('--') } \\[0.5\baselineskip]
|
|
25
|
-
}
|
|
26
|
-
\begin{tikzpicture}[auto, font = \sffamily]
|
|
27
|
-
\begin{pgfonlayer}{background}
|
|
28
|
-
\matrix[datatable,
|
|
29
|
-
column 1/.style = {nodes = {align=right, text width = 27pt,},},
|
|
30
|
-
column 2/.style = {nodes = {align=right, text width = 77pt,},},
|
|
31
|
-
] (stats_cis) {
|
|
32
|
-
\JINVAR{ tmpl_data.stats_cis -}
|
|
33
|
-
};
|
|
34
|
-
\draw[color = OBSHDRFill, line width = 1pt,] (stats_cis-\JINVAR{- tmpl_data.stats_numrows -}-1.north west) -- (stats_cis-\JINVAR{- tmpl_data.stats_numrows -}-2.north east);
|
|
35
|
-
\end{pgfonlayer}
|
|
36
|
-
% Header row - column heads
|
|
37
|
-
\matrix[hrow,
|
|
38
|
-
above = 0 pt of stats_cis,
|
|
39
|
-
column 1/.style = {
|
|
40
|
-
nodes = {
|
|
41
|
-
minimum height = 33pt,
|
|
42
|
-
text width = 60pt,
|
|
43
|
-
text depth = 8pt,
|
|
44
|
-
align = left,
|
|
45
|
-
inner sep = 3pt,
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
column 2/.style = {
|
|
49
|
-
nodes = {
|
|
50
|
-
minimum height = 83pt,
|
|
51
|
-
text width = 60pt,
|
|
52
|
-
text depth = 8pt,
|
|
53
|
-
align = left,
|
|
54
|
-
inner sep = 3pt,
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
] (hdrrow_cis) {
|
|
58
|
-
\node[rotate = 90] (hdr1) {Relative \\ Frequency \\}; &
|
|
59
|
-
\node[rotate = 90] (hdr2) {\JINVAR{ prop_title|replace(" ", "\\\\") } \\ {[95\% CI]} \\}; \\
|
|
60
|
-
};
|
|
61
|
-
% Header row - columns description
|
|
62
|
-
\matrix[hrow,
|
|
63
|
-
above = 0pt of hdrrow_cis,
|
|
64
|
-
nodes = {minimum height = 12.5pt, text width = 115.6pt,}
|
|
65
|
-
] (descrow_cis) {
|
|
66
|
-
Observed Data \\
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
% Header column - row heads
|
|
70
|
-
\matrix[hcol, left = 0pt of stats_cis, nodes = {
|
|
71
|
-
text width = \JINVAR{ tmpl_data.hdrcol_cis_width -},
|
|
72
|
-
inner xsep = 3 pt,
|
|
73
|
-
},] (hdrcol_cis) {
|
|
74
|
-
\JINVAR{ tmpl_data.stats_hdrstr -}
|
|
75
|
-
};
|
|
76
|
-
% Header column - row heads - description
|
|
77
|
-
\JINVAR{ tmpl_data.hdrcoldescstr }
|
|
78
|
-
|
|
79
|
-
% Fill along header
|
|
80
|
-
\draw[color = OBSHDRFill, fill = OBSHDRFill,]
|
|
81
|
-
(hdrcoldesc_cis.north west |- descrow_cis.north west)
|
|
82
|
-
rectangle
|
|
83
|
-
(hdrcoldesc_cis.north east); % (x1, y2); -| gives (x2, y1)
|
|
84
|
-
|
|
85
|
-
% Notes below table
|
|
86
|
-
\matrix[anytable,
|
|
87
|
-
below right = 4pt and 8pt of hdrcol_cis.south west,
|
|
88
|
-
nodes = {notetext, minimum height = 10pt, text width = \JINVAR{ tmpl_data.stats_cis_notewidth -}\linewidth,},
|
|
89
|
-
] (notestext) {
|
|
90
|
-
NOTES: \\
|
|
91
|
-
\JINVAR{ tmpl_data.stats_cis_notestr -}
|
|
92
|
-
\\
|
|
93
|
-
SOURCES: \\
|
|
94
|
-
\(\cdot\) See notes to Table~\ref{tbl:FTCInvData_\JINVAR{ tmpl_data.obs_summary_type|replace(" ", "") -}} for Observed Data \\
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
% === Simulated clearance rate data and headers ===
|
|
98
|
-
\begin{pgfonlayer}{background}
|
|
99
|
-
\matrix[datatable, right = 3pt of stats_cis, nodes = {text width = 27pt,},
|
|
100
|
-
] (stats_sim) {
|
|
101
|
-
\JINVAR{ tmpl_data.stats_sim -}
|
|
102
|
-
};
|
|
103
|
-
\draw[color = SIMHDRFill, line width = 1pt,] (stats_sim-\JINVAR{- tmpl_data.stats_numrows -}-1.north west) -- (stats_sim-\JINVAR{- tmpl_data.stats_numrows -}-4.north east);
|
|
104
|
-
\end{pgfonlayer}
|
|
105
|
-
% Header row - column heads
|
|
106
|
-
\matrix[hrow,
|
|
107
|
-
above = 0pt of stats_sim,
|
|
108
|
-
nodes = {fill = SIMHDRFill, minimum height = 33pt, text width = 60pt, text depth = 16pt, align = left, inner sep = 3pt,}, %
|
|
109
|
-
column 1/.style = {nodes = {text depth = 8pt, },},
|
|
110
|
-
] (hdrrow_sim) {
|
|
111
|
-
\node [rotate = 90, pos = 0.0] {Relative \\ Frequency \\}; &
|
|
112
|
-
\node [rotate = 90, pos = 0.0] {\JINVAR{tmpl_data.PolicySelector -} \\ Rate \\ {\tiny \(\safeharb{g} = \JINVAR{ tmpl_data.guppi_bound -}; \safeharb{d} = \JINVAR{ tmpl_data.rbar -}\)} \\}; &
|
|
113
|
-
\node [rotate = 90, pos = 0.0] {\JINVAR{tmpl_data.PolicySelector -} \\ Rate \\ {\tiny \(\safeharb{g} = \JINVAR{ tmpl_data.guppi_bound -}; \safeharb{d} = \JINVAR{ tmpl_data.dbar -}\)} \\}; &
|
|
114
|
-
\node [rotate = 90, pos = 0.0] {\JINVAR{tmpl_data.PolicySelector -} \\ Rate \\ {\tiny \(\safeharb{CMCR} = \JINVAR{ tmpl_data.cmcr_bound -}\)} \\}; \\
|
|
115
|
-
};
|
|
116
|
-
\matrix[hrow, above = 0pt of hdrrow_sim,
|
|
117
|
-
nodes = {fill = SIMHDRFill, minimum height = 12.5pt, text width = 130.8pt}] (hdrrowdesc_sim) {
|
|
118
|
-
Generated Data \\
|
|
119
|
-
};
|
|
120
|
-
\end{tikzpicture}
|
|
121
|
-
\end{table}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
\begin{table}[bt]
|
|
2
|
-
((* set obs_period_last = tmpl_data.obs_period|last *))
|
|
3
|
-
((* if tmpl_data.obs_merger_class == 'Entry Difficult' *))
|
|
4
|
-
((* set table_ref, obs_merger_class_desc = "9.2", "Markets with Strong Entry Barriers (``" + tmpl_data.obs_merger_class + "'')" *))
|
|
5
|
-
((* else *))
|
|
6
|
-
((* set table_ref, obs_merger_class_desc = "3.1", tmpl_data.obs_merger_class *))
|
|
7
|
-
((* endif *))
|
|
8
|
-
|
|
9
|
-
((* if obs_period_last == "2003" *))
|
|
10
|
-
((* set data_pub_year = "2004" *))
|
|
11
|
-
((* elif obs_period_last == "2011" *))
|
|
12
|
-
((* set data_pub_year = "2013" *))
|
|
13
|
-
((* else *))
|
|
14
|
-
((* set data_pub_year = "" *))
|
|
15
|
-
((* endif *))
|
|
16
|
-
|
|
17
|
-
\centering
|
|
18
|
-
\caption{FTC Merger Investigations Data, Fiscal Years \JINVAR{ tmpl_data.obs_period|join('--') }}\label{tbl:FTCInvData_ByConc_\JINVAR{ tmpl_data.obs_merger_class|replace(" ", "") -}_\JINVAR{ obs_period_last -}}
|
|
19
|
-
|
|
20
|
-
{\footnotesize
|
|
21
|
-
Odds ratio --- Enforced to Closed, by Post-Merger HHI and Change in Concentration \\
|
|
22
|
-
\JINVAR{ obs_merger_class_desc } \\[0.5\baselineskip]
|
|
23
|
-
}
|
|
24
|
-
\begin{tikzpicture}[font = \sffamily]
|
|
25
|
-
\matrix[datatable, nodes = {align = center, inner xsep = 0pt, text width = 40pt,}] (datamtrx) {
|
|
26
|
-
\JINVAR{ tmpl_data.invdata_byhhianddelta -}
|
|
27
|
-
};
|
|
28
|
-
% Demarcate totals row (#9) and totals column (#9)
|
|
29
|
-
\draw[color = OBSHDRFill, line width = 1pt,] (datamtrx-1-9.north west) -- (datamtrx-9-9.south west);
|
|
30
|
-
\draw[color = OBSHDRFill, line width = 1pt,] (datamtrx-9-1.north west) -- (datamtrx-9-9.north east);
|
|
31
|
-
% Header row - column heads
|
|
32
|
-
\matrix[hrow, above = 0pt of datamtrx, nodes = {minimum height = 36pt}] (hdrrow) {
|
|
33
|
-
{0 -- \\ 99} & {100 -- \\ 199} & {200 -- \\ 299} & {300 -- \\ 499} & {500 -- \\ 799} & {800 -- \\ 1,199} & {1,200 -- \\ 2,499} & 2,500 -- 5,000 & TOTAL \\
|
|
34
|
-
};
|
|
35
|
-
% Header column - row headings
|
|
36
|
-
\matrix[hcol, left = 0pt of datamtrx] (hdrcol) {
|
|
37
|
-
0 -- 1,799 \\
|
|
38
|
-
1,800 -- 1,999 \\
|
|
39
|
-
2,000 -- 2,399 \\
|
|
40
|
-
2,400 -- 2,999 \\
|
|
41
|
-
3,000 -- 3,999 \\
|
|
42
|
-
4,000 -- 4,999 \\
|
|
43
|
-
5,000 -- 6,999 \\
|
|
44
|
-
7,000 -- 10,000 \\
|
|
45
|
-
TOTAL \\
|
|
46
|
-
};
|
|
47
|
-
% Notes below table
|
|
48
|
-
\matrix[anytable, below right = 4pt and -4pt of hdrcol.south west, nodes = {notetext, minimum height = 10pt, text width = 0.92*\linewidth,},] (notestext) {%
|
|
49
|
-
\JINVAR{ tmpl_data.invdata_notestr -}
|
|
50
|
-
SOURCES: \\
|
|
51
|
-
\JINVAR{ tmpl_data.invdata_sourcestr -}
|
|
52
|
-
\(\cdot\) Guidelines standards from (a.) \fullcite{USHMG1992} and (b.) \fullcite{USHMG2010} \\
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
% Demarcate the yellow(?) and red zones in 1992 Guidelines standards
|
|
56
|
-
\draw[draw = VibrRed, line width = 1.25pt]
|
|
57
|
-
(datamtrx-9-1.south east)
|
|
58
|
-
-- (datamtrx-1-1.south east)
|
|
59
|
-
-- (datamtrx-1-9.south east)
|
|
60
|
-
;
|
|
61
|
-
\draw[draw = VibrRed, line width = 1.25pt, dashed]
|
|
62
|
-
(datamtrx-9-2.south east)
|
|
63
|
-
-- (datamtrx-3-2.south east)
|
|
64
|
-
-- (datamtrx-3-9.south east)
|
|
65
|
-
;
|
|
66
|
-
|
|
67
|
-
% Text height for descriptive titles is defined as 12pt (at two places below, one for each descriptor)
|
|
68
|
-
% Header (first) row - description of column heads
|
|
69
|
-
\draw[hdrtext, draw = OBSHDRFill] %
|
|
70
|
-
($(hdrrow.north west) + (0pt, +12pt)$) node (hdrrowdescNW) {}
|
|
71
|
-
rectangle
|
|
72
|
-
(hdrrow.north east) node[pos=0.5, anchor = north] {Change in Concentration (\Deltah{})};
|
|
73
|
-
% Header (first) colum - description of row heads
|
|
74
|
-
\draw[hdrtext, draw = OBSHDRFill]
|
|
75
|
-
($(hdrcol.north west) + (-12pt, 0pt)$) node (hdrcoldescNW) {}
|
|
76
|
-
rectangle
|
|
77
|
-
(hdrcol.south west) node[pos=0.5, rotate = 90] {Post-merger HHI \(\left(\mathrm{HHI}_{post}\right)\)};
|
|
78
|
-
|
|
79
|
-
% Fill top left corner, with more or fewer header/descriptor rows, only the top-left coordinates change
|
|
80
|
-
\draw[hdrtext, draw = OBSHDRFill] (hdrcoldescNW |- hdrrowdescNW) rectangle (datamtrx.north west); % (x1, y2); -| gives (x2, y1)
|
|
81
|
-
\end{tikzpicture}
|
|
82
|
-
\end{table}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
\begin{table}[bt]
|
|
2
|
-
%# jinja2 code blocks for creating variables here
|
|
3
|
-
%# Spurious blank lines don't matter?
|
|
4
|
-
((* if tmpl_data.obs_merger_class == 'Entry Difficult' *))
|
|
5
|
-
((* set table_ref, obs_merger_class_desc = "9.2", "Markets with Strong Entry Barriers (``" + tmpl_data.obs_merger_class + "'')" *))
|
|
6
|
-
((* else *))
|
|
7
|
-
((* set table_ref, obs_merger_class_desc = "3.1", tmpl_data.obs_merger_class *))
|
|
8
|
-
((* endif *))
|
|
9
|
-
|
|
10
|
-
\centering
|
|
11
|
-
\caption{FTC Merger Investigations Data}\label{tbl:FTCInvData_\JINVAR{ tmpl_data.obs_summary_type|replace(" ", "") -}_\JINVAR{ tmpl_data.obs_merger_class|replace(" ", "") -}}
|
|
12
|
-
{\footnotesize \JINVAR{ tmpl_data.obs_summary_type_title } \\
|
|
13
|
-
\JINVAR{ obs_merger_class_desc } \\[0.5\baselineskip]}
|
|
14
|
-
\begin{tikzpicture}[auto, font = \sffamily]
|
|
15
|
-
\begin{pgfonlayer}{background}
|
|
16
|
-
\matrix[datatable, nodes = {text width = 42pt,},] (clr_rate_raw) {
|
|
17
|
-
\JINVAR{ tmpl_data.invdata_datstr|replace("nan\%", "---") -}
|
|
18
|
-
};
|
|
19
|
-
\draw[color = OBSHDRFill, line width = 1pt] (clr_rate_raw-11-1.north west) -- (clr_rate_raw-11-4.north east);
|
|
20
|
-
\draw[color = OBSHDRFill, line width = 1pt] (clr_rate_raw-1-2.north east) -- (clr_rate_raw-11-2.south east);
|
|
21
|
-
\end{pgfonlayer}
|
|
22
|
-
|
|
23
|
-
% Header row - column heads
|
|
24
|
-
\matrix[hrow, above = 0 pt of clr_rate_raw, nodes = {align = right, inner xsep = 3pt, minimum height = 12.5pt, text width = 42pt},] (hdrrow_raw) {
|
|
25
|
-
Relative & Proportion & Relative & Proportion \\
|
|
26
|
-
Frequency & Cleared & Frequency & Cleared \\
|
|
27
|
-
};
|
|
28
|
-
% Header row - columns description -- period 1
|
|
29
|
-
\matrix[hrow, above right = 0pt of hdrrow_raw.north west, nodes = {minimum height = 12.5pt, text width = 95.6pt,},] (descrow_raw_pd1) {
|
|
30
|
-
1996--2003 \\
|
|
31
|
-
};
|
|
32
|
-
% Header row - columns description -- period 2
|
|
33
|
-
\matrix[hrow, above left = 0pt of hdrrow_raw.north east, nodes = {minimum height = 12.5pt, text width = 95.6pt,},] (descrow_raw_pd2) {
|
|
34
|
-
2004--2011 \\
|
|
35
|
-
};
|
|
36
|
-
% Header row - columns description
|
|
37
|
-
\matrix[hrow, above left = 0pt of descrow_raw_pd2.north east, nodes = {minimum height = 12.5pt, text width = 190.8pt},] (descrow_raw) {
|
|
38
|
-
Observed Data \\
|
|
39
|
-
};
|
|
40
|
-
% Header column - row heads
|
|
41
|
-
\matrix[hcol, left = 0pt of clr_rate_raw, nodes = {text width = 108pt},] (hdrcol_raw) {
|
|
42
|
-
\JINVAR{ tmpl_data.invdata_hdrstr -}
|
|
43
|
-
};
|
|
44
|
-
% Header column - row heads - description
|
|
45
|
-
\JINVAR{ tmpl_data.invdata_hdrcoldescstr }
|
|
46
|
-
|
|
47
|
-
% Notes below table
|
|
48
|
-
\matrix[anytable, below right = 4pt and 4pt of hdrcol_raw.south west, nodes = {notetext, minimum height = 10pt, text width = 0.72*\linewidth,},] (notestext) {
|
|
49
|
-
\JINVAR{ tmpl_data.invdata_notestr }
|
|
50
|
-
SOURCES: \\
|
|
51
|
-
% \(\cdot\) Fed. Trade Comm'n (2004), \textit{supra} note~\ref{fn:FTCInvData1996to2003}, Table~4.1 and Table~10.2 \\
|
|
52
|
-
\JINVAR{ tmpl_data.invdata_sourcestr }
|
|
53
|
-
% \(\cdot\) Fed. Trade Comm'n (2013), \textit{supra} note~\ref{fn:FTCInvData1996to2011}, Table~4.1 and Table~10.2 \\
|
|
54
|
-
};
|
|
55
|
-
\end{tikzpicture}
|
|
56
|
-
\end{table}
|
|
57
|
-
|
mergeron/data/jinja2_LaTeX_templates/ftcinvdata_summarypaired_table_template_tabularray.tex.jinja2
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
\begin{table}[t]
|
|
2
|
-
|
|
3
|
-
((* if tmpl_data.obs_merger_class_0 == 'All Markets' *))
|
|
4
|
-
((* set obs_merger_class_0 = "All Markets" *))
|
|
5
|
-
((* else *))
|
|
6
|
-
((* set obs_merger_class_0 = "Markets with, ``" + tmpl_data.obs_merger_class_0 + "''" *))
|
|
7
|
-
((* endif *))
|
|
8
|
-
|
|
9
|
-
((* set obs_merger_class_1 = "Markets with, ``" + tmpl_data.obs_merger_class_1 + "''" *))
|
|
10
|
-
|
|
11
|
-
\centering
|
|
12
|
-
\caption{FTC Merger Investigations Data}\label{tbl:FTCInvData_\JINVAR{- tmpl_data.obs_summary_type }_alt}
|
|
13
|
-
{\footnotesize
|
|
14
|
-
\JINVAR{ tmpl_data.obs_summary_type_title } \\
|
|
15
|
-
Grouped by Entry Conditions and Reporting Period \\[0.5\baselineskip]
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
\sffamily\scriptsize\addfontfeatures{Numbers={Monospaced,Lining}}
|
|
19
|
-
\SetTblrInner{stretch=0, rowsep=3pt, colsep=3pt, hspan=even}
|
|
20
|
-
\begin{tikzpicture}[auto, font = \sffamily]
|
|
21
|
-
\begin{tblr}{
|
|
22
|
-
baseline=T,
|
|
23
|
-
width=\textwidth,
|
|
24
|
-
colspec = {%
|
|
25
|
-
Q[c,m,wd=\JINVAR{ tmpl_data.hdrcol_width }]%
|
|
26
|
-
Q[r,m]%
|
|
27
|
-
Q[r,m]%
|
|
28
|
-
Q[r,m]%
|
|
29
|
-
Q[r,m]%
|
|
30
|
-
Q[r,m]%
|
|
31
|
-
Q[r,m]%
|
|
32
|
-
Q[r,m]%
|
|
33
|
-
Q[r,m]%
|
|
34
|
-
},
|
|
35
|
-
row{odd[6]} = {bg=table_bar_green},
|
|
36
|
-
row{1-5} = {fg=white, bg=OBSHDRFill},
|
|
37
|
-
column{1} = {fg=white, bg=OBSHDRFill},
|
|
38
|
-
cell{1}{1} = {r=5, c=1}{c, f},
|
|
39
|
-
cell{1}{2} = {r=1, c=8}{c},
|
|
40
|
-
cell{2}{2,6} = {r=1, c=4}{c},
|
|
41
|
-
cell{3,4}{2,4,6,8} = {r=1, c=2}{c},
|
|
42
|
-
cell{5}{2-9} = {r, m, cmd=\rothead},
|
|
43
|
-
vline{4,8} = {3-5}{1pt, white},
|
|
44
|
-
vline{6} = {2-5}{1pt, white},
|
|
45
|
-
vline{4,6,8} = {6-Z}{1pt, OBSHDRFill},
|
|
46
|
-
hline{Y} = {1-Z}{1pt, OBSHDRFill},
|
|
47
|
-
}
|
|
48
|
-
{ \JINVAR{- tmpl_data.hdrcol_desc_text } } &
|
|
49
|
-
Observed Data & & & & & & & \\
|
|
50
|
-
sp0 &
|
|
51
|
-
\JINVAR{ obs_merger_class_0 } & sp0 & sp0 & sp0 &
|
|
52
|
-
\JINVAR{ obs_merger_class_1 } & sp0 & sp0 & sp0 \\
|
|
53
|
-
sp0 &
|
|
54
|
-
\JINVAR{ tmpl_data.obs_periods_str|replace(" & ", " & sp0 & ") } & sp0 &
|
|
55
|
-
\JINVAR{ tmpl_data.obs_periods_str|replace(" & ", " & sp0 & ") } & sp0 \\
|
|
56
|
-
sp0 &
|
|
57
|
-
\JINVAR{ tmpl_data.mkt_counts_str_class_0|replace(" & ", " & sp0 & ") } & sp0 &
|
|
58
|
-
\JINVAR{ tmpl_data.mkt_counts_str_class_0|replace(" & ", " & sp0 & ") } & sp0 \\
|
|
59
|
-
sp0 &
|
|
60
|
-
{Relative \\ Frequency} &
|
|
61
|
-
{Proportion \\ Enforced} &
|
|
62
|
-
{Relative \\ Frequency} &
|
|
63
|
-
{Proportion \\ Enforced} &
|
|
64
|
-
{Relative\\ Frequency} &
|
|
65
|
-
{Proportion \\ Enforced} &
|
|
66
|
-
{Relative \\ Frequency} &
|
|
67
|
-
{Proportion \\ Enforced} \\
|
|
68
|
-
%
|
|
69
|
-
\JINVAR{ tmpl_data.invdata_datstr -}
|
|
70
|
-
\end{tblr}
|
|
71
|
-
\end{tikzpicture}
|
|
72
|
-
|
|
73
|
-
\setlist{nosep}
|
|
74
|
-
\vspace{\baselineskip}
|
|
75
|
-
{\raggedright\sffamily\tiny
|
|
76
|
-
\JINVAR{ tmpl_data.invdata_notestr }
|
|
77
|
-
\vspace{\baselineskip}
|
|
78
|
-
\JINVAR{ tmpl_data.invdata_sourcestr }
|
|
79
|
-
}
|
|
80
|
-
\vspace{\baselineskip}
|
|
81
|
-
\end{table}
|
mergeron/data/jinja2_LaTeX_templates/ftcinvdata_summarypaired_table_template_tikz.tex.jinja2
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
\begin{table}[bt]
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
((* if tmpl_data.test_regime == 'Enforcement' *))
|
|
5
|
-
((* set prop_title = "Proportion Enforced" *))
|
|
6
|
-
((* else *))
|
|
7
|
-
((* set prop_title = "Proportion Cleared" *))
|
|
8
|
-
((* endif *))
|
|
9
|
-
((* set prop_title = prop_title|replace(" ", "\\\\") *))
|
|
10
|
-
|
|
11
|
-
((* if tmpl_data.obs_merger_class_0 == 'All Markets' *))
|
|
12
|
-
((* set obs_merger_class_0 = "All Markets" *))
|
|
13
|
-
((* else *))
|
|
14
|
-
((* set obs_merger_class_0 = "Markets with, ``" + tmpl_data.obs_merger_class_0 + "''" *))
|
|
15
|
-
((* endif *))
|
|
16
|
-
|
|
17
|
-
((* if tmpl_data.obs_summary_type == 'ByConcZone' *))
|
|
18
|
-
((* set hdrcol_align = "left" *))
|
|
19
|
-
((* else *))
|
|
20
|
-
((* set hdrcol_align = "center" *))
|
|
21
|
-
((* endif *))
|
|
22
|
-
|
|
23
|
-
((* set obs_merger_class_1 = "Markets with, ``" + tmpl_data.obs_merger_class_1 + "''" *))
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
\centering
|
|
28
|
-
\caption{FTC Merger Investigations Data}\label{tbl:FTCInvData_\JINVAR{- tmpl_data.obs_summary_type }}
|
|
29
|
-
{\footnotesize
|
|
30
|
-
\JINVAR{ tmpl_data.obs_summary_type_title } \\
|
|
31
|
-
Grouped by Entry Conditions and Reporting Period \\[0.5\baselineskip]
|
|
32
|
-
}
|
|
33
|
-
\begin{tikzpicture}[auto, font = \sffamily]
|
|
34
|
-
\matrix[
|
|
35
|
-
datatable,
|
|
36
|
-
nodes = {text width = 27pt,},
|
|
37
|
-
column 1/.style = {nodes = {
|
|
38
|
-
hdrtext,
|
|
39
|
-
text width=\JINVAR{ tmpl_data.hdrcol_width -}, fill=OBSHDRFill,
|
|
40
|
-
align=\JINVAR{ hdrcol_align -},
|
|
41
|
-
},},
|
|
42
|
-
record matrix dimensions,
|
|
43
|
-
] (invres_rate_raw) {
|
|
44
|
-
\JINVAR{ tmpl_data.invdata_datstr -}
|
|
45
|
-
};
|
|
46
|
-
% Horizontal scoring for totals
|
|
47
|
-
\draw[color = OBSHDRFill, line width = 1pt]
|
|
48
|
-
($(invres_rate_raw-\the\tnr-2.north west) + (- \JINVAR{ tmpl_data.hdrcol_width } - 6pt + 0.25\pgflinewidth, 0pt)$)
|
|
49
|
-
-- (invres_rate_raw-\the\tnr-\the\tnc.north east)
|
|
50
|
-
;
|
|
51
|
-
% Vertical scoring for column groups
|
|
52
|
-
\draw[color = OBSHDRFill, line width = 1pt] (invres_rate_raw-1-3.north east) -- (invres_rate_raw-\the\tnr-3.south east);
|
|
53
|
-
\draw[color = OBSHDRFill, line width = 1pt] (invres_rate_raw-1-5.north east) -- (invres_rate_raw-\the\tnr-5.south east);
|
|
54
|
-
\draw[color = OBSHDRFill, line width = 1pt] (invres_rate_raw-1-7.north east) -- (invres_rate_raw-\the\tnr-7.south east);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
%% Header column - row heads - description
|
|
58
|
-
\matrix[
|
|
59
|
-
hcol,
|
|
60
|
-
above right=0pt of invres_rate_raw.north west,
|
|
61
|
-
nodes = {
|
|
62
|
-
text width=\JINVAR{- tmpl_data.hdrcol_width -},
|
|
63
|
-
text depth=10pt,
|
|
64
|
-
},
|
|
65
|
-
] (hdrcol_desc) {
|
|
66
|
-
\node[align = center,] { \JINVAR{- tmpl_data.hdrcol_desc_text } \\ }; \\
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
% Header row - column heads
|
|
70
|
-
\matrix[
|
|
71
|
-
hrow,
|
|
72
|
-
above right = 0 pt of hdrcol_desc.south east,
|
|
73
|
-
nodes = {
|
|
74
|
-
rotate = 90,
|
|
75
|
-
minimum height = 33pt,
|
|
76
|
-
text depth = 10pt,
|
|
77
|
-
align = left,
|
|
78
|
-
}, %
|
|
79
|
-
] (hdrrow_raw) {
|
|
80
|
-
{Relative \\ Frequency} &
|
|
81
|
-
{\JINVAR{ prop_title }} &
|
|
82
|
-
{Relative \\ Frequency} &
|
|
83
|
-
{\JINVAR{ prop_title }} &
|
|
84
|
-
{Relative \\ Frequency} &
|
|
85
|
-
{\JINVAR{ prop_title }} &
|
|
86
|
-
{Relative \\ Frequency} &
|
|
87
|
-
{\JINVAR{ prop_title }} \\
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
%% Header row - columns description -- Markets 0 - period 1-2
|
|
91
|
-
\matrix[hrow, above right = 0pt of hdrrow_raw.north west, nodes = {minimum height = 12.5pt, text width = 59.6pt,},] (descrow_pds) {
|
|
92
|
-
\JINVAR{ tmpl_data.obs_periods_str } & \JINVAR{ tmpl_data.obs_periods_str } \\
|
|
93
|
-
\JINVAR{ tmpl_data.mkt_counts_str_class_0 } & \JINVAR{ tmpl_data.mkt_counts_str_class_1 } \\
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
% Header row - Market-1
|
|
97
|
-
\matrix[hrow, above right = 0pt of descrow_pds.north west, nodes = {minimum height = 12.5pt, text width = 124.8pt},] (descrow_mkts) {
|
|
98
|
-
\JINVAR{ obs_merger_class_0 } & \JINVAR{ obs_merger_class_1 } \\
|
|
99
|
-
};
|
|
100
|
-
% Header row - columns description
|
|
101
|
-
\matrix[hrow, above right = 0pt of descrow_mkts.north west, nodes = {minimum height = 12.5pt, text width = 255.2pt},] (descrow_obs) {
|
|
102
|
-
Observed Data \\
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
%% Vertical scoring delineating column groups
|
|
106
|
-
\draw[color = white, line width = 1pt] (descrow_pds-1-1.north east) -- (invres_rate_raw-1-3.north east);
|
|
107
|
-
\draw[color = white, line width = 1pt] (descrow_mkts-1-1.north east) -- (invres_rate_raw-1-5.north east);
|
|
108
|
-
\draw[color = white, line width = 1pt] (descrow_pds-1-3.north east) -- (invres_rate_raw-1-7.north east);
|
|
109
|
-
|
|
110
|
-
%% Fill along header
|
|
111
|
-
\draw[color = OBSHDRFill, fill = OBSHDRFill,]
|
|
112
|
-
(hdrcol_desc.north west |- descrow_obs.north west)
|
|
113
|
-
rectangle
|
|
114
|
-
(hdrcol_desc.north east)
|
|
115
|
-
;
|
|
116
|
-
|
|
117
|
-
\end{tikzpicture}
|
|
118
|
-
|
|
119
|
-
\setlist{nosep}
|
|
120
|
-
\vspace{\baselineskip}
|
|
121
|
-
{\raggedright\sffamily\tiny%
|
|
122
|
-
%
|
|
123
|
-
% NOTES:
|
|
124
|
-
% \begin{itemize}
|
|
125
|
-
% \item Data for period, 2004--2011 calculated by subtracting reported figures for 1996--2003 from reported figures for 1996--2011
|
|
126
|
-
% \item Ranges of $\Delta HHI$ are defined as half-open intervals with \(\Delta_L \leqslant \Delta HHI < \Delta_H\), except that \(2500 \text{ pts.} \leqslant \Delta HHI \leqslant 5000 \text{ pts.}\) in the closed interval [2500, 5000] pts.
|
|
127
|
-
% \end{itemize}
|
|
128
|
-
|
|
129
|
-
% SOURCES:
|
|
130
|
-
% \begin{itemize}
|
|
131
|
-
% % \item \fullcite{FTCInvData2003}, Table~4.1 and Table~10.2
|
|
132
|
-
% \item Fed. Trade Comm'n (2003), at note~\cref{fn:FTCInvData1996to2003}
|
|
133
|
-
% \item Fed. Trade Comm'n (2011), at note~\cref{fn:FTCInvData1996to2011}
|
|
134
|
-
% \end{itemize}
|
|
135
|
-
\JINVAR{ tmpl_data.invdata_notestr }
|
|
136
|
-
\vspace{\baselineskip}
|
|
137
|
-
\JINVAR{ tmpl_data.invdata_sourcestr }
|
|
138
|
-
}
|
|
139
|
-
\vspace{\baselineskip}
|
|
140
|
-
\end{table}
|
|
141
|
-
|
|
142
|
-
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
\ProvidesClass{mergeron}
|
|
2
|
-
|
|
3
|
-
\LoadClass{scrartcl}
|
|
4
|
-
\RequirePackage[singlespacing=true]{scrlayer-scrpage}
|
|
5
|
-
\KOMAoptions{
|
|
6
|
-
draft=off,
|
|
7
|
-
fontsize=12pt,
|
|
8
|
-
paper=letter,
|
|
9
|
-
DIV=12,
|
|
10
|
-
footnotes=multiple,
|
|
11
|
-
numbers=withendperiod,
|
|
12
|
-
headsepline=on,
|
|
13
|
-
footsepline=off,
|
|
14
|
-
abstract=on,
|
|
15
|
-
headheight=36pt,
|
|
16
|
-
footheight=48pt,
|
|
17
|
-
}
|
|
18
|
-
\RequirePackage[l2tabu, orthodox]{nag}
|
|
19
|
-
|
|
20
|
-
\RequirePackage{polyglossia}
|
|
21
|
-
\setdefaultlanguage[variant=american]{english}
|
|
22
|
-
% Appendix prefix for scrartcl
|
|
23
|
-
\newcommand*{\appendixmore}{%
|
|
24
|
-
\renewcommand*{\sectionformat}{%
|
|
25
|
-
\appendixname~\thesection\autodot\enskip%
|
|
26
|
-
}%
|
|
27
|
-
\renewcommand*{\sectionmarkformat}{%
|
|
28
|
-
\appendixname~\thesection\autodot\enskip%
|
|
29
|
-
}%
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
\RequirePackage[doublespacing]{setspace}
|
|
33
|
-
\RequirePackage[noorphans, listvskip, font=singlespacing]{quoting}
|
|
34
|
-
\RequirePackage{csquotes}
|
|
35
|
-
\AtBeginEnvironment{quoting}{\vspace{-1\baselineskip}}
|
|
36
|
-
|
|
37
|
-
\RequirePackage[en-US,calc]{datetime2}
|
|
38
|
-
\RequirePackage{fontawesome5}
|
|
39
|
-
\RequirePackage{etoolbox}
|
|
40
|
-
\RequirePackage{auxhook}
|
|
41
|
-
\RequirePackage{xurl}
|
|
42
|
-
\RequirePackage[table]{xcolor}
|
|
43
|
-
\RequirePackage{tikz}
|
|
44
|
-
\usetikzlibrary{backgrounds, calc, matrix, positioning}
|
|
45
|
-
|
|
46
|
-
\RequirePackage{titling}
|
|
47
|
-
\setlength{\droptitle}{-1.0in}
|
|
48
|
-
|
|
49
|
-
% Define CAP Economics official color
|
|
50
|
-
\definecolor{CAPEconPurple}{HTML}{200054}
|
|
51
|
-
% https://htmlcolorcodes.com/color-picker/
|
|
52
|
-
\definecolor{CAPEconPurpleTint4}{HTML}{9080aa}
|
|
53
|
-
\definecolor{CAPEconPurpleTint6}{HTML}{c7bfd4}
|
|
54
|
-
\definecolor{CAPEconPurpleTint7}{HTML}{e3dfea}
|
|
55
|
-
|
|
56
|
-
% Fonts and math
|
|
57
|
-
\RequirePackage{fontspec}
|
|
58
|
-
\setmonofont[Scale=MatchLowercase,]{Roboto Mono}
|
|
59
|
-
\setsansfont{Roboto}
|
|
60
|
-
\setmainfont{STIXTwoText}
|
|
61
|
-
|
|
62
|
-
\RequirePackage[standard]{ntheorem}
|
|
63
|
-
\RequirePackage{mathtools}
|
|
64
|
-
\RequirePackage{unicode-math}
|
|
65
|
-
\setmathfont{STIXTwoMath}[math-style=ISO]
|
|
66
|
-
% Separate \mathscr from \mathcal
|
|
67
|
-
\setmathfont{STIXTwoMath}[range={scr,bfscr},StylisticSet=01]
|
|
68
|
-
|
|
69
|
-
\defaultfontfeatures[\rmfamily,\sffamily]{
|
|
70
|
-
Ligatures={TeX, Common},
|
|
71
|
-
Numbers={proportional, lining}
|
|
72
|
-
}
|
|
73
|
-
\RequirePackage[
|
|
74
|
-
activate={true,nocompatibility},
|
|
75
|
-
tracking=true,
|
|
76
|
-
]{microtype}
|
|
77
|
-
|
|
78
|
-
\RequirePackage{tabularray}
|
|
79
|
-
\UseTblrLibrary{booktabs}
|
|
80
|
-
%% Tables need sansserif font
|
|
81
|
-
%% https://tex.stackexchange.com/questions/286733/change-content-font-in-tabular-environments
|
|
82
|
-
\makeatletter
|
|
83
|
-
\appto\@floatboxreset{%
|
|
84
|
-
\ifx\@captype\andy@table
|
|
85
|
-
\sffamily\addfontfeatures{Numbers={Monospaced, Lining},}
|
|
86
|
-
\fi
|
|
87
|
-
}
|
|
88
|
-
\def\andy@table{table}
|
|
89
|
-
\makeatother
|
|
90
|
-
|
|
91
|
-
%% Don't want full page figures to be vertically centered
|
|
92
|
-
%% https://tex.stackexchange.com/questions/28067/automatic-vertical-alignment-of-a-single-float-on-a-dedicated-page
|
|
93
|
-
\makeatletter
|
|
94
|
-
\setlength{\@fptop}{0pt}
|
|
95
|
-
\setlength{\@fpbot}{0pt plus 1fil}
|
|
96
|
-
\makeatother
|
|
97
|
-
|
|
98
|
-
%% Captions in Sans Serif
|
|
99
|
-
\addtokomafont{caption}{\sffamily}
|
|
100
|
-
\addtokomafont{caption}{\fontsize{10pt}{12pt}\selectfont}
|
|
101
|
-
|
|
102
|
-
%% Tweak footnotes
|
|
103
|
-
\setlength{\footnotesep}{1.5ex}
|
|
104
|
-
% \interfootnotelinepenalty=10000 % Force note text together
|
|
105
|
-
%% Read KOMA-Script documentation
|
|
106
|
-
\setfootnoterule[0.4pt]{\linewidth}
|
|
107
|
-
\deffootnote{2.5em}{2.5em}{%
|
|
108
|
-
\makebox[2.5em][l]{\hspace{1ex}\thefootnotemark.}%
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
%% For highlighting text with a colored background, soul
|
|
112
|
-
\RequirePackage{soul}
|
|
113
|
-
\sethlcolor{yellow}
|
|
114
|
-
|
|
115
|
-
%% Properly typset intervals, and avoid messages about unmatched parentheses
|
|
116
|
-
\RequirePackage{interval}
|
|
117
|
-
\intervalconfig{
|
|
118
|
-
soft open fences,
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
%%% custom commands, environments and symbols
|
|
122
|
-
\renewcommand{\ge}{\geqslant}\renewcommand{\geq}{\geqslant}
|
|
123
|
-
\renewcommand{\le}{\leqslant}\renewcommand{\leq}{\leqslant}
|
|
124
|
-
\DeclarePairedDelimiter\abs{\lvert}{\rvert}%
|
|
125
|
-
\DeclarePairedDelimiter\norm{\lVert}{\rVert}%
|
|
126
|
-
|
|
127
|
-
%% Define a paired-delimiter for defining sets
|
|
128
|
-
%% https://tex.stackexchange.com/questions/268766/curly-braces-in-math-mode
|
|
129
|
-
\DeclarePairedDelimiter\set\{\}
|
|
130
|
-
%% http://mirrors.ctan.org/macros/latex/contrib/mathtools/mathtools.pdf, 27--28
|
|
131
|
-
\DeclarePairedDelimiterX\SetSuchThat[2]{\lbrace}{\rbrace}{%
|
|
132
|
-
#1 \, \delimsize\vert \, \mathopen{}#2
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
%% Sometimes, you just want to comment out several lies of text
|
|
136
|
-
%% https://tex.stackexchange.com/questions/44282/multiline-comment
|
|
137
|
-
\newcommand{\mycomment}[1]{}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
%% Need a datetime package for various date related inserts
|
|
141
|
-
\RequirePackage[en-US,calc]{datetime2}
|
|
142
|
-
|
|
143
|
-
\RequirePackage{xurl}
|
|
144
|
-
\RequirePackage{hyperref}
|
|
145
|
-
\ProcessOptions\relax
|
|
146
|
-
\hypersetup{%
|
|
147
|
-
bookmarksnumbered=false,
|
|
148
|
-
hidelinks,
|
|
149
|
-
}
|
|
150
|
-
\RequirePackage[capitalize, noabbrev]{cleveref}
|
|
151
|
-
|
|
152
|
-
\AtBeginDocument{%
|
|
153
|
-
\SetBlockEnvironment{quoting}
|
|
154
|
-
}
|
|
155
|
-
|