Here is my code
\documentclass[12pt,oneside,letterpaper,chapterprefix=on,numbers=noenddot,
]{scrbook}
%%%page set-up
\usepackage[none]{hyphenat} %to get rid of hyphenation
\usepackage[margin=1in,includefoot,heightrounded]{geometry}
\usepackage{mathptmx}%times new roman
\usepackage[doublespacing]{setspace}% <- changed
\usepackage{indentfirst} %indent first paragraph
\setlength{\parindent}{2em} %adjust indentation
\usepackage[document]{ragged2e} %ragged right
\setlength{\RaggedRightParindent}{\parindent}
\pagestyle{plain}
\begin{document}
standard LaTeX commands to change the text alignment. Alternativaly you can use therrrrrrrrrrrrrrrttttttttttttttt
\end{document}
I need the latex to start the long word from the new line and do not exceed the right margin of 1 inch. Could you give me some help. thank you
ragged2e
? It allows hyphenated ragged documents, but you disallowed hyphenation completely.\raggedright
in your preamble and don't listen to the sharelatex stuff. en.wikibooks.org/wiki/LaTeX/…