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
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
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