Math & Science ⇒ Long square root sign
-
- Posts: 6
- Joined: Thu Mar 03, 2011 10:48 pm
Long square root sign
I got a problem with latex for which I can't find help with goolge. I have written equation with long square root sign in math mode between other text. It looks like this:
...data vector is: ${d_{i} = \sqrt{(x_{i}-x)^2+(y_{i}-y)^2+(z_{i}-z)^2}/v + t}$. So we can...
Problem is that this square root sign goes out of the margin border and I don't know how to solve this. Any help will be appreciated.
Sincerely,
Nikola
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
Re: Long square root sign
rephrase the sentence that contains the formula, so that it wont extend pass the margin.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Long square root sign
Code: Select all
\documentclass[11pt,a4paper]{article}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\begin{document}\ldots data vector is\[d_i=\frac{1}{v}\,\sqrt{(x_i-x)^2+(y_i-y)^2+(z_i-z)^2}+t\]So we can \ldots\end{document}
Best regard and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10