I'm trying write this two equations
with this code:
\documentclass[a4paper, 11pt]{article}
\usepackage[top=3cm, bottom=3cm, left=3cm, right=3cm]{geometry}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}anglosajones
\usepackage[none]{hyphenat}
\usepackage{float}
\usepackage{changepage}
\usepackage{booktabs}
\usepackage{pgfplots}
\usepackage{layouts}
\usepackage{caption}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{listings}
\begin{document}
\begin{align*}
Y_{1t}& + \beta_{12}Y_{2t}& + \gamma_{11} &+ \gamma_{12}X_{2t}& &+ \gamma_{14}X_{4t} = \mu_{1t}\\ \beta_{21}Y_{1t}& + Y_{2t}& + \gamma_{21} & &+ \gamma_{23}X_{3t} &+ \gamma_{24}X_{4t} = \mu_{2t}
\end{align*}
\end{document}
Any one can help me, please? I wanna reduce the space between the terms. I few a lot of time trying and I do not get it
\documentclass{
, finishing with\end{document}
. Makes it easier for all of us, as many times answers depend on your preamble.array
is usually a more easily controlled alternative thanalign
(or evenalignat
). Some suggestions are given in answers to this question: tex.stackexchange.com/q/45568