Re: [RISOLTO]Parentesi graffe – sistemi matematici

#38357
Up
0
Down
::

No, non mi hai dato tutte le informazioni. Un documento minimale è un documento tex completo di preambolo.
Poi non è chiara una cosa. Se usi latex, l’output è un file con estensione .dvi; se usi pdf latex, l’output è un file .pdf.
Forse stai usando la procedura latex=>dvi=>pdf? o latex=>dvi=>ps=>pdf? Se si, ti consiglio di abbandonarle. Compila direttamente con pdflatex e vivi felice.

Ciao
Ivan

No, uso pdflatex, il dvi l’avevo nominato per dirti che ho tentato anche con quello ma mi dava lo stesso problema.
ti dò allora il documento minimale:

\documentclass[a4paper,14pt,twoside]{extbook}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage{latexsym}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{pstricks}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{epsfig}
\usepackage{microtype}
\usepackage{indentfirst}
\usepackage{wrapfig}
\usepackage{xcolor}
\usepackage{yhmath}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{slashed}
\usepackage{frcursive}
\usepackage{cancel}
\usepackage{color}
\usepackage{fancybox}
\usepackage{numprint}
\usepackage{moresize}
\usepackage[a4paper,top=4cm,bottom=4cm,left=4.5cm,right=4.5cm,bindingoffset=5mm]{geometry}
\usepackage{caption}
\captionsetup{labelformat=empty,textfont=sl}
\usepackage{natbib}
\usepackage[resetlabels]{multibib}
\newcites{web}{Siti Web consultati}
\usepackage{url}
\usepackage{theorem}
\theoremstyle{plain}
\newtheorem{teor}{Teorema}[section]
\theoremstyle{change}
\newtheorem{teo}[teor]{Teorema}
\newtheorem{cor}[teor]{Corollario}
\newtheorem{prop}[teor]{Proposizione}
\newtheorem{lemma}[teor]{Lemma}
\newtheorem{defin}[teor]{Definizione}
\newtheorem{es}[teor]{Esercizio}
\newtheorem{ese}[teor]{Esempio}
\newtheorem{cost}[teor]{Costruzione}
\newtheorem{oss}[teor]{Osservazione}
\newenvironment{proof}{\trivlist\item[]\emph{Dimostrazione \ }}%
{\nobreak\hskip 1em plus 1fil\nobreak$\Box$
\parfillskip=0pt%
\endtrivlist}
\newenvironment{svolg}{\trivlist\item[]\emph{Svolgimento \ }}%
{\nobreak\hskip 1em plus 1fil\nobreak
\parfillskip=0pt%
\endtrivlist}
\newcommand{\fncyblank}{\fancyhf{}}
\newenvironment{abstract}%
{\fncyblank \null \vfill \begin{center}%
\bfseries \end{center}}%
{\vfill \null }

\setlength{\unitlength}{2em}
\newcommand{\R}{\ensuremath{\mathbb{R}}}
\newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
\newcommand{\F}{\ensuremath{\mathbb{F}}}
\newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\N}{\ensuremath{\mathbb{N}}}
\newcommand{\PP}{\ensuremath{\mathbb{P}}}
\renewcommand{\leq}{\leqslant}
\renewcommand{\geq}{\geqslant}
\definecolor{lightblue}{rgb}{0.1,124,4}

\newcommand{\asterismo}{\smash{%
\raisebox{-.4ex}{%
\setlength{\tabcolsep}{-.4pt}%
\begin{tabular}{@{}cc@{}}%
\multicolumn2c*\\[-1.5ex]*&*%
\end{tabular}}}}

\newenvironment{changemargin}[2]{%
\begin{list}{}{%
% \setlength{\topsep}{0.1pt}%
\setlength{\leftmargin}{#1}%
\setlength{\rightmargin}{#2}%
% \setlength{\listparindent}{\parindent}%
% \setlength{\itemindent}{\parindent}%
% \setlength{\parsep}{\parskip}%
}%
\item[]}{
\end{list}}

\newenvironment{sistema}%
{\left\lbrace \begin{array}{@{}l@{}}}%
{\end{array}\right.}

\begin{document}

\[
\begin{sistema}
a-b=1 \\
a+b=n
\end{sistema}
\]
\[
\begin{sistema}
a=\dfrac{n+1}{2} \\
b=\dfrac{n-1}{2}
\end{sistema}
\]
\end{document}

ps: a proposito di latex – pdflatex; perchè nella compilazione ( latex+dvips+ps2pdf+view pdf o semplicemente pdflatex) danno in output due file pdf con impaginazione differente?
Grazie

Go to top