Crystal” post=96056Salve a tutti,
da quando ho cominciato a scrivere la tesi su latex voi siete i miei migliori consiglieri! quindi eccovi l’ennesima richiesta di aiuto!
avrei bisogno di ridurre le dimensioni di matrice, ho già impostato il codice per ridurne le dimensioni, ma continua ad uscire dai margini (e non posso di certo spezzarla), quindi dovrei ridurla finchè non rientra nei margini!!! allego il codice (che ho impostato) e una foto del testo:`
\begin{center}
\footnotesize
$\displaystyle
\begin{bmatrix}
\frac{(h_0+h_1)(h_0+2h_1)}{h_1} & \frac{h_1^2-h_0^2}{h} & & & & \\
h_1 & 2(h_1+h_2) & h_2 & & & \\
& h_2 & 2(h_2+h_3) & h_3 & & & \\
& & h_2 & 2(h_2+h_3) & h_3 & & \\
& & & \vdots & & &\\
& & & & & &\\
& & & & &\frac{h_{n-2}^2+h_{n-1}^2}{h_{n-2}}&\frac{(h_{n-1}+h_{n-2})(h_{n-1}+ 2h_{n-2})}{h_{n-1}} \\
\end{bmatrix} $
\end{center}`
grazie!
Sono d’accordo con Roberto, eliminando colonna 4 non si inficia la comprensione della matrice e non ci sono problemi di margini (a meno che tu non usi classi/impostazioni diverse da quelle standard).
`% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
\documentclass{article} % use larger type; default would be 10pt
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
%%% PAGE DIMENSIONS
\usepackage{geometry}
\geometry{a4paper}
\usepackage{amsmath}
\usepackage{booktabs} % for much better looking tables
\usepackage{array} % for better arrays (eg matrices) in maths
\title{Brief Article}
\author{The Author}
%\date{} % Activate to display a given date or no date (if empty),
% otherwise the current date is printed
\begin{document}
\maketitle
\section{First section}
{\footnotesize
\[{\centering
\begin{bmatrix}
\dfrac{(h_0+h_1)(h_0+2h_1)}{h_1} & \dfrac{h_1^2-h_0^2}{h} & & & & \\
h_1 & 2(h_1+h_2) & h_2 & & & \\
& h_2 & 2(h_2+h_3) & h_3 & & & \\
% & & h_2 & 2(h_2+h_3) & h_3 & & \\
& & & \vdots & & &\\
& & & & & &\\
& & & & &\dfrac{h_{n-2}^2+h_{n-1}^2}{h_{n-2}}&\dfrac{(h_{n-1}+h_{n-2})(h_{n-1}+ 2h_{n-2})}{h_{n-1}} \\
\end{bmatrix}
}\]
}
\subsection{A subsection}
More text.
\end{document}
`
Saluti