Re: teoria dei grafi

#52346
Up
0
Down
::


Ringrazio tutti e soprattutto egreg9, finalmente ho trovato il font che cercavo, e così:

`\documentclass[a4paper]{article}
\usepackage{mathrsfs }
\usepackage{amsmath}
\usepackage{amsfonts}
\begin{document}
$\mathcal{G}$
$\mathcal{X}$
\end{document}`

riesco ad ottene il carattere che voglio, però ci sono due problemi
1) $\mathrsfs{X}$ me lo da come errore, controllo non definito

2) con il mio preambolo:
`
\documentclass[a4paper,12pt ,titlepage]{book}
\usepackage[english,italian]{babel}
\usepackage[nouppercase]{frontespizio}
%\usepackage{front-th}%{noadvisor}
\usepackage{natbib}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage[vcentering,hcentering]{geometry}
\usepackage{fancyhdr}
\usepackage{url}
\usepackage{varioref}
\usepackage{amsmath}
%\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{mathrsfs }%per le lettere dei grafi
\usepackage{cases}
\usepackage{subfigure}
\usepackage{textcomp}
\usepackage{enumerate}
%\usepackage{indentfirst}
%\usepackage{amsthm}
\usepackage[amsmath,thmmarks,standard]{ntheorem}
\usepackage{bm} %boldmath
\usepackage{xcolor}
\usepackage{array} % vedi sotto
\usepackage{dcolumn} % per allineare i decimali nelle tabelle
\usepackage{tabularx} % per tabelle con celle multiriga-latex.pdf pag.95
\usepackage{afterpage}
\usepackage{eucal}
%per numerare solo le equazioni richiamate
%\usepackage{mathtools}
%\mathtoolsset{showonlyrefs}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage[pdftex,hypertexnames=false]{hyperref}
\hypersetup{pdftitle=tesi di dottorato,pdfauthor=r} % Queste informazioni non vengono stampate, ma sono conservate nel documento pdf (premere command-D per vederle sotto AdobeReader/AcrobatReader). Tornano buone a scopi archivistici.

% definizione ambiente teorema
\theoremstyle{plain}
\theoremheaderfont{\normalfont\bfseries}\theorembodyfont{\slshape}
\theoremsymbol{\ensuremath{\diamondsuit}}
\theoremseparator{.}
\newtheorem{teorema}{Teorema}[chapter]
% definizione ambiente esempio
\theoremstyle{plain}
\theorembodyfont{\upshape}
\theoremsymbol{\ensuremath{\blacktriangle}}
\theoremseparator{}
\newtheorem{esempio}{Esempio}[chapter]

% definizione ambiente definizione
\theoremstyle{plain}
\newtheorem{defn}{Definizione}[chapter]

%definizione ambiente proprietà
\theoremstyle{plain}
\theorembodyfont{\upshape}
\theoremsymbol{\ensuremath{\blacktriangle}}
\theoremseparator{}
\newtheorem{prop}{Proprietà}[chapter]

\hyphenation{boot-strap}
\newcommand{\vdashv}{\mathbin{\ooalign{$\vdash$\cr$\dashv$}}}%da mettere sopra

\renewcommand{\sectionmark}[1]{%
\renewcommand{\listalgorithmname}{Elenco degli algoritmi}
\renewcommand{\algorithmicif}{\textbf{SE}}
\renewcommand{\algorithmicthen}{\textbf{ALLORA}}
\renewcommand{\algorithmicelse}{\textbf{ALTRIMENTI}}
\renewcommand{\algorithmicendif}{}
}\begin{document}
$\mathcal{G}$

$\mathcal{X}$
\end{document}`

continua ad usare il carattere che avevo precedentemente. Ho provato a cambiare un po’ l’ordine dei pacchetti ma per il resto non ho idea di quale possa essere il problema.
So che è un po’ lungo, ma avreste qualche idea di quale potrebbe essere l’errore?
grazie
ciao

Go to top