-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminati import non necessari per il template. Aggiunta configurazione per i listing di codice
- Loading branch information
Showing
1 changed file
with
24 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |