From 53f4a6d2ed227aad94bf1ad3289cdfdb74ecab8e Mon Sep 17 00:00:00 2001 From: Elia Pasquali <45105755+eliapasquali@users.noreply.github.com> Date: Wed, 3 Jan 2024 10:28:55 +0100 Subject: [PATCH] Aggiornato subfig -> subcaption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Da CTAN subcaption è un pacchetto più aggiornato Viene distribuito con caption, aggiornato README --- config/packages.tex | 6 +++--- readme.md | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/config/packages.tex b/config/packages.tex index 3c9a1c5..bbd92b9 100644 --- a/config/packages.tex +++ b/config/packages.tex @@ -27,7 +27,7 @@ \usepackage{emptypage} % pagine vuote senza testatina e piede di pagina -\usepackage{epigraph} % per epigrafi +\usepackage{epigraph} % per epigrafi \usepackage{eurosym} % simbolo dell'euro @@ -41,12 +41,12 @@ \usepackage{microtype} % microtipografia -\usepackage{mparhack,relsize} % finezze tipografiche +\usepackage{mparhack,relsize} % finezze tipografiche \usepackage{nameref} % visualizza nome dei riferimenti \usepackage[font=small]{quoting} % citazioni -\usepackage{subfig} % sottofigure, sottotabelle +\usepackage{subcaption} % sottofigure, sottotabelle \usepackage[italian]{varioref} % riferimenti completi della pagina diff --git a/readme.md b/readme.md index 169ebdb..f6ab8f8 100644 --- a/readme.md +++ b/readme.md @@ -49,7 +49,6 @@ Here's the complete list of packages that you'll need, in order to be able to su - mparhack - relsize - quoting -- subfig - booktabs - glossaries - glossaries-italian @@ -69,7 +68,7 @@ Just copy and paste the following command in your terminal. ```bash sudo tlmgr update --self sudo tlmgr update --all -sudo tlmgr install pdfx xcolor xmpincl caption changepage csquotes emptypage epigraph nextpage eurosym layaureo listings microtype mparhack relsize quoting subfig booktabs glossaries glossaries-italian glossaries-english biber biblatex babel babel-italian cm-super greek-fontenc latexmk fancyhdr +sudo tlmgr install pdfx xcolor xmpincl caption changepage csquotes emptypage epigraph nextpage eurosym layaureo listings microtype mparhack relsize quoting booktabs glossaries glossaries-italian glossaries-english biber biblatex babel babel-italian cm-super greek-fontenc latexmk fancyhdr ``` As you can see `tlmgr` asks for admin rights, so you'll need to use `sudo` on Linux/macOS, while on Windows you have to [open a command prompt instance as admin](https://www.makeuseof.com/windows-run-command-prompt-admin/) and omit the `sudo` at the beginning of the lines.