[Core] add preliminary support for multicols
This commit is contained in:
@@ -42,3 +42,9 @@
|
|||||||
|
|
||||||
% The colour-saturation of the shade command (default = 20)
|
% The colour-saturation of the shade command (default = 20)
|
||||||
\setcounter{shadeStrength}{20}
|
\setcounter{shadeStrength}{20}
|
||||||
|
|
||||||
|
% Whether or not to use landscape orientation for the cheat sheet
|
||||||
|
\boolfalse{cheatSheetLandscape}
|
||||||
|
|
||||||
|
% Set the number of columns to use (only affects the CheatSheet style and only if cheatSheetLandscape is set to true)
|
||||||
|
\setcounter{colCount}{3}
|
||||||
|
|||||||
24
dist/full.tex
vendored
24
dist/full.tex
vendored
@@ -30,6 +30,7 @@
|
|||||||
\usepackage[export]{adjustbox}
|
\usepackage[export]{adjustbox}
|
||||||
\usepackage[most]{tcolorbox}
|
\usepackage[most]{tcolorbox}
|
||||||
\usepackage{cancel}
|
\usepackage{cancel}
|
||||||
|
\usepackage{etoolbox}
|
||||||
\usepackage{dsfont}
|
\usepackage{dsfont}
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{mathrsfs}
|
\usepackage{mathrsfs}
|
||||||
@@ -90,6 +91,8 @@
|
|||||||
\newcounter{numberSubsections}
|
\newcounter{numberSubsections}
|
||||||
\newcounter{descriptorShadeStrength}
|
\newcounter{descriptorShadeStrength}
|
||||||
\newcounter{shadeStrength}
|
\newcounter{shadeStrength}
|
||||||
|
\newcounter{colCount}
|
||||||
|
\newbool{cheatSheetLandscape}
|
||||||
|
|
||||||
% ── Setup ───────────────────────────────────────────────────────────
|
% ── Setup ───────────────────────────────────────────────────────────
|
||||||
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
||||||
@@ -141,7 +144,20 @@
|
|||||||
\newcommand{\setupCheatSheet}[1]{
|
\newcommand{\setupCheatSheet}[1]{
|
||||||
\typeout{[Setup] Using CheatSheet setup}
|
\typeout{[Setup] Using CheatSheet setup}
|
||||||
\loadLang
|
\loadLang
|
||||||
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
\edef\valtrue{true}
|
||||||
|
\ifbool{cheatSheetLandscape}{
|
||||||
|
\typeout{[Setup] Using landscape with \arabic{colCount} columns}
|
||||||
|
\usepackage[landscape,a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
|
||||||
|
|
||||||
|
\usepackage{flowfram}
|
||||||
|
\allowdisplaybreaks
|
||||||
|
\ffvadjustfalse
|
||||||
|
\setlength{\columnsep}{1cm}
|
||||||
|
\Ncolumn{\arabic{colCount}}
|
||||||
|
}{
|
||||||
|
\typeout{[Setup] Using portrait}
|
||||||
|
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
||||||
|
}
|
||||||
\title{\Huge \textbf{#1}}
|
\title{\Huge \textbf{#1}}
|
||||||
\author{\authorTitle}
|
\author{\authorTitle}
|
||||||
}
|
}
|
||||||
@@ -214,6 +230,12 @@
|
|||||||
% The colour-saturation of the shade command (default = 20)
|
% The colour-saturation of the shade command (default = 20)
|
||||||
\setcounter{shadeStrength}{20}
|
\setcounter{shadeStrength}{20}
|
||||||
|
|
||||||
|
% Whether or not to use landscape orientation for the cheat sheet
|
||||||
|
\boolfalse{cheatSheetLandscape}
|
||||||
|
|
||||||
|
% Set the number of columns to use (only affects the CheatSheet style and only if cheatSheetLandscape is set to true)
|
||||||
|
\setcounter{colCount}{3}
|
||||||
|
|
||||||
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||||
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
||||||
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
||||||
|
|||||||
24
dist/minimal.tex
vendored
24
dist/minimal.tex
vendored
@@ -30,6 +30,7 @@
|
|||||||
\usepackage[export]{adjustbox}
|
\usepackage[export]{adjustbox}
|
||||||
\usepackage[most]{tcolorbox}
|
\usepackage[most]{tcolorbox}
|
||||||
\usepackage{cancel}
|
\usepackage{cancel}
|
||||||
|
\usepackage{etoolbox}
|
||||||
\usepackage{dsfont}
|
\usepackage{dsfont}
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{mathrsfs}
|
\usepackage{mathrsfs}
|
||||||
@@ -90,6 +91,8 @@
|
|||||||
\newcounter{numberSubsections}
|
\newcounter{numberSubsections}
|
||||||
\newcounter{descriptorShadeStrength}
|
\newcounter{descriptorShadeStrength}
|
||||||
\newcounter{shadeStrength}
|
\newcounter{shadeStrength}
|
||||||
|
\newcounter{colCount}
|
||||||
|
\newbool{cheatSheetLandscape}
|
||||||
|
|
||||||
% ── Setup ───────────────────────────────────────────────────────────
|
% ── Setup ───────────────────────────────────────────────────────────
|
||||||
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
||||||
@@ -141,7 +144,20 @@
|
|||||||
\newcommand{\setupCheatSheet}[1]{
|
\newcommand{\setupCheatSheet}[1]{
|
||||||
\typeout{[Setup] Using CheatSheet setup}
|
\typeout{[Setup] Using CheatSheet setup}
|
||||||
\loadLang
|
\loadLang
|
||||||
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
\edef\valtrue{true}
|
||||||
|
\ifbool{cheatSheetLandscape}{
|
||||||
|
\typeout{[Setup] Using landscape with \arabic{colCount} columns}
|
||||||
|
\usepackage[landscape,a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
|
||||||
|
|
||||||
|
\usepackage{flowfram}
|
||||||
|
\allowdisplaybreaks
|
||||||
|
\ffvadjustfalse
|
||||||
|
\setlength{\columnsep}{1cm}
|
||||||
|
\Ncolumn{\arabic{colCount}}
|
||||||
|
}{
|
||||||
|
\typeout{[Setup] Using portrait}
|
||||||
|
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
||||||
|
}
|
||||||
\title{\Huge \textbf{#1}}
|
\title{\Huge \textbf{#1}}
|
||||||
\author{\authorTitle}
|
\author{\authorTitle}
|
||||||
}
|
}
|
||||||
@@ -214,6 +230,12 @@
|
|||||||
% The colour-saturation of the shade command (default = 20)
|
% The colour-saturation of the shade command (default = 20)
|
||||||
\setcounter{shadeStrength}{20}
|
\setcounter{shadeStrength}{20}
|
||||||
|
|
||||||
|
% Whether or not to use landscape orientation for the cheat sheet
|
||||||
|
\boolfalse{cheatSheetLandscape}
|
||||||
|
|
||||||
|
% Set the number of columns to use (only affects the CheatSheet style and only if cheatSheetLandscape is set to true)
|
||||||
|
\setcounter{colCount}{3}
|
||||||
|
|
||||||
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||||
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
||||||
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
||||||
|
|||||||
24
dist/most.tex
vendored
24
dist/most.tex
vendored
@@ -30,6 +30,7 @@
|
|||||||
\usepackage[export]{adjustbox}
|
\usepackage[export]{adjustbox}
|
||||||
\usepackage[most]{tcolorbox}
|
\usepackage[most]{tcolorbox}
|
||||||
\usepackage{cancel}
|
\usepackage{cancel}
|
||||||
|
\usepackage{etoolbox}
|
||||||
\usepackage{dsfont}
|
\usepackage{dsfont}
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{mathrsfs}
|
\usepackage{mathrsfs}
|
||||||
@@ -90,6 +91,8 @@
|
|||||||
\newcounter{numberSubsections}
|
\newcounter{numberSubsections}
|
||||||
\newcounter{descriptorShadeStrength}
|
\newcounter{descriptorShadeStrength}
|
||||||
\newcounter{shadeStrength}
|
\newcounter{shadeStrength}
|
||||||
|
\newcounter{colCount}
|
||||||
|
\newbool{cheatSheetLandscape}
|
||||||
|
|
||||||
% ── Setup ───────────────────────────────────────────────────────────
|
% ── Setup ───────────────────────────────────────────────────────────
|
||||||
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
||||||
@@ -141,7 +144,20 @@
|
|||||||
\newcommand{\setupCheatSheet}[1]{
|
\newcommand{\setupCheatSheet}[1]{
|
||||||
\typeout{[Setup] Using CheatSheet setup}
|
\typeout{[Setup] Using CheatSheet setup}
|
||||||
\loadLang
|
\loadLang
|
||||||
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
\edef\valtrue{true}
|
||||||
|
\ifbool{cheatSheetLandscape}{
|
||||||
|
\typeout{[Setup] Using landscape with \arabic{colCount} columns}
|
||||||
|
\usepackage[landscape,a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
|
||||||
|
|
||||||
|
\usepackage{flowfram}
|
||||||
|
\allowdisplaybreaks
|
||||||
|
\ffvadjustfalse
|
||||||
|
\setlength{\columnsep}{1cm}
|
||||||
|
\Ncolumn{\arabic{colCount}}
|
||||||
|
}{
|
||||||
|
\typeout{[Setup] Using portrait}
|
||||||
|
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
||||||
|
}
|
||||||
\title{\Huge \textbf{#1}}
|
\title{\Huge \textbf{#1}}
|
||||||
\author{\authorTitle}
|
\author{\authorTitle}
|
||||||
}
|
}
|
||||||
@@ -214,6 +230,12 @@
|
|||||||
% The colour-saturation of the shade command (default = 20)
|
% The colour-saturation of the shade command (default = 20)
|
||||||
\setcounter{shadeStrength}{20}
|
\setcounter{shadeStrength}{20}
|
||||||
|
|
||||||
|
% Whether or not to use landscape orientation for the cheat sheet
|
||||||
|
\boolfalse{cheatSheetLandscape}
|
||||||
|
|
||||||
|
% Set the number of columns to use (only affects the CheatSheet style and only if cheatSheetLandscape is set to true)
|
||||||
|
\setcounter{colCount}{3}
|
||||||
|
|
||||||
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||||
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
||||||
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
||||||
|
|||||||
24
dist/recommended.tex
vendored
24
dist/recommended.tex
vendored
@@ -30,6 +30,7 @@
|
|||||||
\usepackage[export]{adjustbox}
|
\usepackage[export]{adjustbox}
|
||||||
\usepackage[most]{tcolorbox}
|
\usepackage[most]{tcolorbox}
|
||||||
\usepackage{cancel}
|
\usepackage{cancel}
|
||||||
|
\usepackage{etoolbox}
|
||||||
\usepackage{dsfont}
|
\usepackage{dsfont}
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{mathrsfs}
|
\usepackage{mathrsfs}
|
||||||
@@ -90,6 +91,8 @@
|
|||||||
\newcounter{numberSubsections}
|
\newcounter{numberSubsections}
|
||||||
\newcounter{descriptorShadeStrength}
|
\newcounter{descriptorShadeStrength}
|
||||||
\newcounter{shadeStrength}
|
\newcounter{shadeStrength}
|
||||||
|
\newcounter{colCount}
|
||||||
|
\newbool{cheatSheetLandscape}
|
||||||
|
|
||||||
% ── Setup ───────────────────────────────────────────────────────────
|
% ── Setup ───────────────────────────────────────────────────────────
|
||||||
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
||||||
@@ -141,7 +144,20 @@
|
|||||||
\newcommand{\setupCheatSheet}[1]{
|
\newcommand{\setupCheatSheet}[1]{
|
||||||
\typeout{[Setup] Using CheatSheet setup}
|
\typeout{[Setup] Using CheatSheet setup}
|
||||||
\loadLang
|
\loadLang
|
||||||
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
\edef\valtrue{true}
|
||||||
|
\ifbool{cheatSheetLandscape}{
|
||||||
|
\typeout{[Setup] Using landscape with \arabic{colCount} columns}
|
||||||
|
\usepackage[landscape,a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
|
||||||
|
|
||||||
|
\usepackage{flowfram}
|
||||||
|
\allowdisplaybreaks
|
||||||
|
\ffvadjustfalse
|
||||||
|
\setlength{\columnsep}{1cm}
|
||||||
|
\Ncolumn{\arabic{colCount}}
|
||||||
|
}{
|
||||||
|
\typeout{[Setup] Using portrait}
|
||||||
|
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
||||||
|
}
|
||||||
\title{\Huge \textbf{#1}}
|
\title{\Huge \textbf{#1}}
|
||||||
\author{\authorTitle}
|
\author{\authorTitle}
|
||||||
}
|
}
|
||||||
@@ -214,6 +230,12 @@
|
|||||||
% The colour-saturation of the shade command (default = 20)
|
% The colour-saturation of the shade command (default = 20)
|
||||||
\setcounter{shadeStrength}{20}
|
\setcounter{shadeStrength}{20}
|
||||||
|
|
||||||
|
% Whether or not to use landscape orientation for the cheat sheet
|
||||||
|
\boolfalse{cheatSheetLandscape}
|
||||||
|
|
||||||
|
% Set the number of columns to use (only affects the CheatSheet style and only if cheatSheetLandscape is set to true)
|
||||||
|
\setcounter{colCount}{3}
|
||||||
|
|
||||||
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
%░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||||
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
%░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░░░░░░░
|
||||||
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
%▒ ▒▒▒▒ ▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒▒
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
\usepackage[export]{adjustbox}
|
\usepackage[export]{adjustbox}
|
||||||
\usepackage[most]{tcolorbox}
|
\usepackage[most]{tcolorbox}
|
||||||
\usepackage{cancel}
|
\usepackage{cancel}
|
||||||
|
\usepackage{etoolbox}
|
||||||
\usepackage{dsfont}
|
\usepackage{dsfont}
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{mathrsfs}
|
\usepackage{mathrsfs}
|
||||||
@@ -81,6 +82,8 @@
|
|||||||
\newcounter{numberSubsections}
|
\newcounter{numberSubsections}
|
||||||
\newcounter{descriptorShadeStrength}
|
\newcounter{descriptorShadeStrength}
|
||||||
\newcounter{shadeStrength}
|
\newcounter{shadeStrength}
|
||||||
|
\newcounter{colCount}
|
||||||
|
\newbool{cheatSheetLandscape}
|
||||||
|
|
||||||
% ── Setup ───────────────────────────────────────────────────────────
|
% ── Setup ───────────────────────────────────────────────────────────
|
||||||
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
% Set up the latex document, configure author, title (as first argument), as well as headers and footers
|
||||||
@@ -132,7 +135,20 @@
|
|||||||
\newcommand{\setupCheatSheet}[1]{
|
\newcommand{\setupCheatSheet}[1]{
|
||||||
\typeout{[Setup] Using CheatSheet setup}
|
\typeout{[Setup] Using CheatSheet setup}
|
||||||
\loadLang
|
\loadLang
|
||||||
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
\edef\valtrue{true}
|
||||||
|
\ifbool{cheatSheetLandscape}{
|
||||||
|
\typeout{[Setup] Using landscape with \arabic{colCount} columns}
|
||||||
|
\usepackage[landscape,a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
|
||||||
|
|
||||||
|
\usepackage{flowfram}
|
||||||
|
\allowdisplaybreaks
|
||||||
|
\ffvadjustfalse
|
||||||
|
\setlength{\columnsep}{1cm}
|
||||||
|
\Ncolumn{\arabic{colCount}}
|
||||||
|
}{
|
||||||
|
\typeout{[Setup] Using portrait}
|
||||||
|
\usepackage[a4paper,textwidth=20cm,textheight=28.5cm]{geometry}
|
||||||
|
}
|
||||||
\title{\Huge \textbf{#1}}
|
\title{\Huge \textbf{#1}}
|
||||||
\author{\authorTitle}
|
\author{\authorTitle}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user