mirror of
https://codeberg.org/Yael-II/LaTeX-Package.git
synced 2026-03-15 04:16:27 +01:00
Compare commits
3 Commits
e14067536f
...
feature/pa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45bb3595c7 | ||
|
|
fce4e7d1b4 | ||
|
|
900d0fc463 |
@@ -31,20 +31,12 @@
|
||||
|
||||
\ProvidesClass{manchot-article}[2025-05-03]
|
||||
|
||||
\LoadClass[10pt, a4paper]{article}
|
||||
|
||||
% Required Packages
|
||||
% Initial packages
|
||||
|
||||
\RequirePackage[utf8]{inputenc} % input encoding
|
||||
\RequirePackage[T1]{fontenc} % font encoding
|
||||
\RequirePackage{geometry} % page geometry
|
||||
\RequirePackage{paracol} % multiple columns
|
||||
\RequirePackage{fancyhdr} % header and footer
|
||||
\RequirePackage{xcolor} % colours
|
||||
\RequirePackage{pagecolor} % page colours
|
||||
\RequirePackage{setspace} % spacing between lines
|
||||
\RequirePackage{cuted} % full width strip environment
|
||||
\RequirePackage{hyperref} % links, references, etc. - must be the last package
|
||||
|
||||
% Definitions
|
||||
|
||||
@@ -68,13 +60,27 @@
|
||||
\newlength\varparindent
|
||||
\newlength\varparskip
|
||||
|
||||
|
||||
\input{src/common_palette.tex}
|
||||
|
||||
% Options
|
||||
|
||||
\PassOptionsToClass{10pt}{article}
|
||||
\PassOptionsToClass{a4paper}{article}
|
||||
|
||||
\input{src/article_options.tex}
|
||||
|
||||
\LoadClass{article}
|
||||
|
||||
% Additional packages
|
||||
|
||||
\RequirePackage{geometry} % page geometry
|
||||
\RequirePackage{paracol} % multiple columns
|
||||
\RequirePackage{fancyhdr} % header and footer
|
||||
\RequirePackage{pagecolor} % page colours
|
||||
\RequirePackage{setspace} % spacing between lines
|
||||
\RequirePackage{cuted} % full width strip environment
|
||||
\RequirePackage{hyperref} % links, references, etc. - must be the last package
|
||||
|
||||
% Settings
|
||||
|
||||
\input{src/article_settings.tex}
|
||||
|
||||
@@ -31,20 +31,11 @@
|
||||
|
||||
\ProvidesClass{manchot-beamer}[2025-05-03]
|
||||
|
||||
\LoadClass[aspectratio=32, compress, 10pt]{beamer}
|
||||
|
||||
% Required Packages
|
||||
% Initial packages
|
||||
|
||||
\RequirePackage[utf8]{inputenc} % input encoding
|
||||
\RequirePackage[T1]{fontenc} % font encoding
|
||||
\RequirePackage{geometry} % page geometry
|
||||
\RequirePackage{paracol} % multiple columns
|
||||
\RequirePackage{fancyhdr} % header and footer
|
||||
\RequirePackage{xcolor} % colours
|
||||
\RequirePackage{pagecolor} % page colours
|
||||
\RequirePackage{setspace} % spacing between lines
|
||||
\RequirePackage{cuted} % full width strip environment
|
||||
\RequirePackage{hyperref} % links, references, etc. - must be the last package
|
||||
|
||||
% Definitions
|
||||
|
||||
@@ -84,8 +75,24 @@
|
||||
|
||||
% Options
|
||||
|
||||
\PassOptionsToClass{aspectratio=32}{beamer}
|
||||
\PassOptionsToClass{compress}{beamer}
|
||||
\PassOptionsToClass{10pt}{beamer}
|
||||
|
||||
\input{src/beamer_options.tex}
|
||||
|
||||
\LoadClass{beamer}
|
||||
|
||||
% Additional packages
|
||||
|
||||
\RequirePackage{geometry} % page geometry
|
||||
\RequirePackage{paracol} % multiple columns
|
||||
\RequirePackage{fancyhdr} % header and footer
|
||||
\RequirePackage{pagecolor} % page colours
|
||||
\RequirePackage{setspace} % spacing between lines
|
||||
\RequirePackage{cuted} % full width strip environment
|
||||
\RequirePackage{hyperref} % links, references, etc. - must be the last package
|
||||
|
||||
% Settings
|
||||
|
||||
\input{src/beamer_settings.tex}
|
||||
@@ -94,5 +101,3 @@
|
||||
|
||||
\input{src/beamer_commands.tex}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -76,21 +76,18 @@
|
||||
}
|
||||
|
||||
\DeclareOption{onecolumn}{
|
||||
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
|
||||
\setlength\parindent{0cm} % No paragraph indent
|
||||
\setlength\parskip{\bigskipamount} % Make bigskip at each new paragraph
|
||||
\twocolumnfalse
|
||||
}
|
||||
|
||||
\DeclareOption{twocolumn}{
|
||||
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
|
||||
\setlength\parindent{1em}
|
||||
\setlength\parskip{0cm}
|
||||
\twocolumntrue
|
||||
}
|
||||
|
||||
\DeclareOption*{
|
||||
\PassOptionsToClass{\CurrentOption}{article}
|
||||
}
|
||||
|
||||
\ExecuteOptions{onecolumn, white, colour}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
|
||||
|
||||
@@ -45,6 +45,16 @@
|
||||
\author{\yii@author\\\yii@institution\\\yii@division}
|
||||
\date{\yii@date}
|
||||
|
||||
\iftwocolumn
|
||||
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
|
||||
\setlength\parindent{1em}
|
||||
\setlength\parskip{0cm}
|
||||
\else
|
||||
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
|
||||
\setlength\parindent{0cm} % No paragraph indent
|
||||
\setlength\parskip{\bigskipamount} % Make bigskip at each new paragraph
|
||||
\fi
|
||||
|
||||
|
||||
\ifbright
|
||||
\ifdark
|
||||
|
||||
@@ -254,8 +254,11 @@
|
||||
\orangefalse
|
||||
}
|
||||
|
||||
\DeclareOption*{
|
||||
\PassOptionsToClass{\CurrentOption}{beamer}
|
||||
}
|
||||
|
||||
\ExecuteOptions{onecolumn, white, colour, default, berlin, cold}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user