Skip to content

Commit

Permalink
Modificati import necessari
Browse files Browse the repository at this point in the history
Eliminati import non necessari per il template.
Aggiunta configurazione per i listing di codice
  • Loading branch information
ncvescera committed Dec 3, 2021
1 parent 4755ae1 commit 56d340d
Showing 1 changed file with 24 additions and 33 deletions.
57 changes: 24 additions & 33 deletions template/settings/prelude.tex
Original file line number Diff line number Diff line change
@@ -1,39 +1,30 @@
\documentclass[answers, 12 pt]{exam}
%pacchetti matematica
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathrsfs}

\renewcommand{\qedsymbol}{$\blacksquare$}


\renewcommand{\solutiontitle}
{\noindent\textbf{\large Soluzione}\enspace}

%sezioni in soluzione es
\newcommand{\mysection}[1]% #1 = title
{\stepcounter{section}%
\setcounter{question}{0}%
\fullwidth{\smallskip\textbf{\normalsize #1}}}

\usepackage[italian]{babel}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}


\usepackage[table,xcdraw]{xcolor}
\usepackage{setspace}
\usepackage{amssymb}

%mappe di karnaugh
\usepackage{karnaugh-map}

%disegno del circuito
\usepackage{circuitikz}





%% configurazione per i listing di codice
\usepackage{xcolor}
\usepackage{listings}
\colorlet{mycoolgray}{gray!40}

\lstdefinestyle{output}{
numbers=none, % where to put the line-numbers
numberstyle=\tiny, % the size of the fonts that are used for the line-numbers
backgroundcolor=\color{darkgray},
basicstyle=\ttfamily\color{white},
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=false,
}

\lstdefinestyle{cmd}{
numbers=none, % where to put the line-numbers
numberstyle=\tiny, % the size of the fonts that are used for the line-numbers
backgroundcolor=\color{mycoolgray},
basicstyle=\ttfamily\color{black},
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=false,
}

0 comments on commit 56d340d

Please sign in to comment.