From 2edd4b026f527ee8e2575ad27804a06dcc54570c Mon Sep 17 00:00:00 2001 From: Moustafa Mahmoud Date: Tue, 4 Jun 2024 19:23:54 +0100 Subject: [PATCH] optimize the packages --- .github/workflows/build.yml | 2 +- preamble/preamble.tex | 7 +------ preamble/presentation-mode.tex | 5 ----- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d221108..093d17a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Set up Git repository - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Compile LaTeX document uses: dante-ev/latex-action@master with: diff --git a/preamble/preamble.tex b/preamble/preamble.tex index 35f54de..b838723 100644 --- a/preamble/preamble.tex +++ b/preamble/preamble.tex @@ -20,11 +20,9 @@ \usepackage[utf8]{inputenc} \usepackage{multicol} \usepackage{xspace} -\usepackage[utf8]{inputenc} \usepackage{textcomp}% for '\textdegree' macro \usepackage{utopia} %font utopia imported \usepackage{fontawesome5} -\usepackage[center]{caption} \usepackage{subcaption} \usepackage{gensymb} \usepackage{adjustbox} @@ -32,14 +30,13 @@ \usepackage{makecell} \usepackage{textpos} \usepackage[default]{lato} -\usepackage[font=small,skip=0pt]{caption} +\usepackage[font=small,skip=0pt,center]{caption} \usepackage{xcolor,colortbl} \usepackage{import} \usepackage{marvosym} \usepackage{ulem} %Strikethrough \usepackage[inkscapelatex=false]{svg} \usepackage{tcolorbox} -\usepackage{graphicx} \usepackage{etoolbox} %\BeforeBeginEnvironment{figure}{\vspace{-1em}} %\BeforeBeginEnvironment{lstlisting}{\vspace{-1em}} @@ -60,7 +57,6 @@ \renewcommand{\href}[2]{\oldhref{#1}{\uline{#2}}} % Underline hyperlinks %\usepackage{enumitem} -\usepackage{caption} \DeclareCaptionLabelFormat{nospace}{#1#2} \captionsetup[table]{skip=1pt,font=footnotesize,labelfont={color=blue,footnotesize,bf},name=Table T-,labelformat=nospace,labelsep=colon} \captionsetup[figure]{skip=1pt,font=footnotesize,labelfont={color=blue,footnotesize,bf},name=Figure F-,labelformat=nospace,labelsep=colon} @@ -82,7 +78,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{tikz,lipsum,fontspec} \usetikzlibrary{shapes.callouts,decorations.pathmorphing} -\newfontfamily\comic{Comic Sans MS} \input{preamble/presentation-mode.tex} \AtBeginDocument{ diff --git a/preamble/presentation-mode.tex b/preamble/presentation-mode.tex index 45ac5d4..b7f9dd6 100644 --- a/preamble/presentation-mode.tex +++ b/preamble/presentation-mode.tex @@ -2,9 +2,4 @@ \setbeamersize{text margin left=5pt,text margin right=3.5cm} %\setbeamersize{text margin left=5pt} -%%remove logo for publishing -%\logo{% -% \includegraphics[width=4cm,height=3.5cm]{./Figures/chapter-00/logos.png}% -%}'\mode { -