My aim is to write the body text and only the body with a big left skip; theorems, titles and display math starting from the very left, without skips.

I use the command \leftskip=4cm, which works good on the body ignoring all the environments, but works also for titles. I'm putting it into the preamble.

What do you suggest me?

Although LaTeX is the best in organizing text, I want it to write my personal notes and I absolutely need to use my personal typeset.


Here is an example of what I've done till now (I hope not-English examples are allowed, just for the sake of typesetting):

and here is an example of what I'd like to make:

Here is a minimal executible code:

    \usepackage{geometry} %typography
    \usepackage{lipsum}% http://ctan.org/pkg/lipsum

\newtheorem{teo}{Teorema}   %theorems:  unindented environment
\newenvironment{proof.} %proofs:    indented environment
    {\begin{dimostratio}  \leftskip=4.5cm   \mbox{} \noindent\ignorespaces  }

    \geometry{a4paper, top=2cm, bottom=2cm, left=2cm, right=2cm,  bindingoffset=5mm}
    \leftskip = 4.5cm           % indentation of everythingh isn't a theorem. 

    Here is the indented body.       %indented as I like.
\section{Indented (sic) title}       %indented but I don't like.
\begin{teo} Here is an unindented environment, as I like.
    And here is an indented environment, as I like.

  • Try putting \begin{trivlist} ... \end{trivlist} around anything you want to NOT be shifted. Commented Jul 15, 2020 at 12:11
  • 1
    Welcome to TeX.SE... If possible can you post a reference image of your requirement for easy understanding...
    – MadyYuvi
    Commented Jul 15, 2020 at 13:01
  • @JohnKormylo thank you for the suggestion. It's a bit baroque but works and is very useful! Commented Jul 15, 2020 at 13:36
  • @MadyYuvi thank you for the welcome. Here you are images. :) Commented Jul 15, 2020 at 13:36
  • 1
    @Sebastiano here you is =) thank you for your interest. the matter is that I don't want to indent a whole paragraph, but all the text exept for titles and theorems. I want to have a standard indentation all over my writes. Hoping the code is a good exempla, although without John Kormylo's useful trick. Commented Jul 17, 2020 at 11:50


Browse other questions tagged .