Page LayoutLatex does not hyphenate at all

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
nonckiewicz
Posts: 2
Joined: Sun Nov 23, 2014 2:41 pm

Latex does not hyphenate at all

Post by nonckiewicz »

I have a document written in English, which Latex refuses to hyphenate, for unknown reasons. Interestingly, I have another document with exactly the same preamble, which is perfectly hyphenated. The preamble is given below.

Code: Select all

\documentclass[parskip, a4paper, DIVcalc, 12pt, listof=totoc]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[USenglish]{babel}
\usepackage[margin=2.5cm]{geometry}
\usepackage{apacite}
\usepackage{setspace}
\usepackage{color}
\usepackage{amsmath, amsfonts, amssymb}
\usepackage{paralist}
\usepackage{bm}
\usepackage[capposition=top, captionskip = 0pt, footskip = 0pt]{floatrow}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{appendix}
\usepackage{tabularx}
\usepackage{threeparttable}
\usepackage{url}
\usepackage{array}
\usepackage[intoc]{nomencl}
\usepackage{caption}
\usepackage{adjustbox}
\renewcommand{\nomname}{List of Symbols and Abbreviations}
\renewcommand{\nomlabel}[1]{{\bf #1}}
\makenomenclature
\onehalfspacing

%\typearea[current]{calc}
%\numberwithin{equation}{section}
%\numberwithin{figure}{section}
%\numberwithin{table}{section}	

\newenvironment{rcases}
  {\left.\begin{aligned}}
  {\end{aligned}\right\rbrace} %allows to put a brace on the right in a set of equations%

\renewcommand*\appendixpagename{Appendix}
\renewcommand*\appendixtocname{Appendix}
I was trying to detect the problem and also to find a solution on the internet, but did not succeed. Perhaps the solution to the problem is trivial, but I am a Latex-beginner and cannot detect the problem for the moment. Any help would be appreciated. Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Latex does not hyphenate at all

Post by Johannes_B »

Hi and welcome,

if the preamble is the same in both cases, the reason must be within the document ;-)


You can track the cause down by using a simple algorithm. You can read about it: How to create a minimal example
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
nonckiewicz
Posts: 2
Joined: Sun Nov 23, 2014 2:41 pm

Re: Latex does not hyphenate at all

Post by nonckiewicz »

Many thanks for the advice. The problem turned out to be the use of \flushleft before the main text.
Post Reply