Math & ScienceLong square root sign

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
nikolamilevski
Posts: 6
Joined: Thu Mar 03, 2011 10:48 pm

Long square root sign

Post by nikolamilevski »

Dear Latex Community,

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

Recommended reading 2024:

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

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

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: Long square root sign

Post by gmedina »

Hi,

rephrase the sentence that contains the formula, so that it wont extend pass the margin.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Long square root sign

Post by localghost »

Consider to write this math expression as an unnumbered displayed equation.

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