
Quando compilo meu documento no Overleaf, as linhas de texto têm comprimentos diferentes. Gostaria que o texto fosse alinhado da mesma forma que no Word ao usar a justified
opção de alinhamento. Devo usar \justify
para cada parágrafo ou talvez haja alguma função global, para que todo o texto seja justificado?
Aqui está um exemplo do documento. Minha língua de escrita não é o inglês e no documento real o alinhamento parece muito pior. Neste exemplo, o recuo irregular não é tão aparente. Adicionei tudo o que tenho antes do início do documento, porque não tenho ideia do que faz com que o texto fique tão irregular.
\documentclass[12pt]{article}
\date{}
\renewcommand{\contentsname}{Contents}
\usepackage{blindtext}
\usepackage[document]{ragged2e}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{babel,etoolbox, lineno}
\renewcommand*\contentsname{Contents}
\usepackage{amsmath}
\usepackage{babel,graphicx}
\usepackage[english]{biblatex}
\newtheorem{definition}{Definiton}
\addbibresource{bibliography.bib}
\setstretch{1.5}
\usepackage{geometry}
\geometry{a4paper, portrait, margin=20mm, bmargin=20mm, tmargin=30mm}
\setlength{\parindent}{4em}
\begin{document}
\newpage
\section{Introduction}
The trimming proportion is selected as follows. Consider a characteristic $Sn(a, F)$ of the distribution of $T(a, Fn)$, usually a measure of spread. Here we either mean the finite-sample distribution or the asymptotic distribution. In the latter case, the subscript n will later be omitted. As a concrete example, suppose $Sn(a, F)$ is the exact variance under$F$ of $T(a, Fn)$. The idea consists of estimating $Sn(a, F)$
\newpage
\renewcommand{\refname}{References}
\printbibliography
\end{document}
Responder1
Simplesmente pare de usar o ragged2e
pacote. Ao usá-lo, você está perguntando ao LaTeXnãopara justificar as linhas.