Page Layout ⇒ Stopping automatic line breaks in latex
Stopping automatic line breaks in latex
Here's an example of my code
\documentclass{article}[10pt]
\usepackage{mathrsfs}
\setlength\parindent{0in}
\begin{document}
Then operator T defined in (3) has unique fixed point v$\in H(X)$ in addition $\|T^nv_0 - v\| leq (\alpha\beta)^n\|v_0 -v\| \forall v_0 \in H(X)$ \nolinebreak[2] %%problem: I want to separate the code to make more readible, but I want the line to keep on going without any breaks
\textbf{$\sigma$ algebra} Let S be a set $\mathscr{C}$ be family subset.
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Stopping automatic line breaks in latex
your own post contains the answer. Comment out the blank lines in your code:
Code: Select all
\documentclass{article}[10pt]
\usepackage{mathrsfs}
\setlength\parindent{0in}
\begin{document}
Then operator T defined in (3) has unique fixed point v$\in H(X)$ in addition $\|T^nv_0 - v\| leq (\alpha\beta)^n\|v_0 -v\| \forall v_0 \in H(X)$
%
\textbf{$\sigma$ algebra} Let S be a set $\mathscr{C}$ be family subset.
\end{document}