How to enter the following two equations in Latex?

enter image description here

enter image description here

  • 5
    Please mention that what you tried so far?
    – MadyYuvi
    Jun 24 at 3:35

1 Answer 1


I guess there are (at least) two ways to interpret your question:

  • mimic the "look" of the screenshot you posted, with its turgid arrow symbols, needlessly oversized delimiter symbols, and unnecessary other symbols (e.g., \times)

  • give up on mimicing the screenshot's bloated look and, instead, write down some code that results in a streamlined yet easy-to-read look for both equations.

The following answer tries its hand at both looks. I hope you'll agree that the second look is a whole lot more appealing than the first.

enter image description here

\usepackage{mathtools} % for \DeclarePairedDelimiter macro
\usepackage{old-arrows} % to keep arrow heads from becoming too large
&\overrightarrow{t} =
 \norm[\Big]{\,\overrightarrow{h} +
               \overrightarrow{e} -
               \overrightarrow{t} }^2\biggr) \\
&\mathit{SEM\_D} \bigl( \,
       \overrightarrow{t_2} \bigr)
       \overrightarrow{t_{1i}} \times 
       \overrightarrow{t_{2i}} }{%
           \bigl(\overrightarrow{t_{1i}}\bigr)^2} \times

&\vec{t} =
 \argmin\bigl(\norm{\vec{h} +\vec{e} -\vec{t}\,}^2\bigr) \\
&\SEMD \bigl( \, \vec{t}_1, \vec{t}_2 \bigr)
=\frac{\vec{t}_1\cdot \vec{t}_2}{%
       \norm{\vec{t}_1} \norm{\vec{t}_2}}
       \vec{t}_{1i} \, \vec{t}_{2i} }{%
       \sqrt{\sum_{i=1}^n(\vec{t}_{1i})^2} \,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.