I would like to automatically insert vertical space between my paragraphs. Currently I am using \medskip
before all my paragraphs. Example:
% proposal.tex
% Based on http://www.latextemplates.com/template/simple-sectioned-essay
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[a4paper, margin=2cm]{geometry}
\usepackage[brazil]{babel}
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage{indentfirst}
\begin{document}
\section{Introdução}
In typesetting advertisement copy, a way of justifying paragraphs has
become popular in recent years that is somewhere between flushright
and raggedrightdddd setting. Lines that would stretch beyond certain limits
are set with their glue at natural width. This single paragraph is but an
example of this procedure; the macros are given next.
\medskip
Second paragraph.
\end{document}
Which generates:
After searching I found about including the package \usepackage{parskip}
. However after I do so, all my paragraphs indentations are disabled.
Therefore searching again I found I could use \setlength{\parindent}{30pt}
to reset the paragraph indentation, however I am not sure this is a nice thing to do.
% proposal.tex
% Based on http://www.latextemplates.com/template/simple-sectioned-essay
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[a4paper, margin=2cm]{geometry}
\usepackage[brazil]{babel}
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage{indentfirst}
\usepackage{parskip}
\setlength{\parindent}{30pt}
\begin{document}
\section{Introdução}
In typesetting advertisement copy, a way of justifying paragraphs has
become popular in recent years that is somewhere between flushright
and raggedrightdddd setting. Lines that would stretch beyond certain limits
are set with their glue at natural width. This single paragraph is but an
example of this procedure; the macros are given next.
Second paragraph.
\end{document}
Which generates:
I would like to know whether there is a best way which I can include the package \usepackage{parskip}
and keep the default LaTeX paragraph indentation, instead of overriding the overrode value with \setlength{\parindent}{30pt}
.
parskip
ORindention
). Are you sure that you want both? If you really want it, then here's a related question: tex.stackexchange.com/questions/181451. The answer is from Heiko Oberdiek which is a very high reputation user. – Dr. Manuel Kuehner Apr 21 '17 at 20:04