How would one implement Euclidean distance in LaTeX. Please some one help me. Here is the below link:
|
I am not sure what exactly do you want to write; does the following help?
|
||||
|
|
|
Here are some tips if you're looking for symbols:
1 In Internet Explorer, it roughly translates to right clicking on the image and clicking on "View Source". In Chrome, this translates to "Inspect Element" after the element. In chrome, it is much more pleasant too. In Firefox, go to the page you want to view and then press Ctrl+U. A new Window appears with the HTML code visible and colored appropriately. (In Internet Explorer, you can press Alt+V to open the View menu, then press C to select the Source command. A Notepad window appears with the HTML code available for editing.) |
|||
|
|
|
Building on @GonzaloMedina's answer, I suggest you create a command called
which will place double vertical bars around the command's argument. Note the use of the If need be, you can indicate whether the norm is supposed to be an $L_2$, $L_1$, or $L_p$ norm by adding a suffix $_2$, $_1$, $_p$, etc to the expression. |
|||
|
|

\documentclass{article}\begin{document}Euclidean Distance\end{document}? What exactly do you want to implement? – percusse Sep 4 '12 at 0:55$\mathbf{\overline{pq}}$? – Harish Kumar Sep 4 '12 at 0:56Editlink on the right upper part on Wiki you can see the source code of the page. – percusse Sep 4 '12 at 0:56