0

How can I change only the text margins to be inside the equation and section numbers?

Something Like thisenter image description here

1

Here is a way to go, using the titlesec and etoolbox packages:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{lipsum}% just to generate text for the example
\usepackage[pagestyles]{titlesec}
\titleformat{\section}{\normalsize\bfseries\MakeUppercase}%
{\llap{\arabic{section}\hskip1cm}}{0pt}{}
\usepackage{mathtools, etoolbox}
\BeforeBeginEnvironment{equation}{\rightskip=1.25cm}

\begin{document}

\section{Sets}

\begin{equation}
  x +y = a + b
\end{equation}

\section{Mappings}
\lipsum[1]

enter image description here \end{document}

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.