
Overleaf で文書をコンパイルすると、テキストの行の長さがそれぞれ異なります。justified
配置オプションを使用する場合、Word と同じようにテキストを配置したいと思います。\justify
段落ごとに を使用する必要があるのでしょうか、それともすべてのテキストが両端揃えになるようにグローバル関数があるのでしょうか。
ここに文書の例を示します。私が書いている言語は英語ではないため、実際の文書では配置がはるかに悪く見えます。この例では、インデントの不均一さはそれほど目立ちません。テキストが不均一になる原因がわからないため、文書の先頭の前にすべてを追加しました。
\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}
答え1
パッケージの使用をやめるだけでいいragged2e
。それを使うことで、あなたはLaTeXにない行を揃えます。