Code: Select all
$\log\left(3\right)+\log(3)$
Thanks,
Máté
Code: Select all
$\log\left(3\right)+\log(3)$
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
Code: Select all
$\log{\left(3\right)}+\log{(3)}$
Code: Select all
$\log(3)$
Code: Select all
$a\left(3\right)\,a(3)$
These commands have no arguments. Their only purpose is to typeset the according math function name in upright shape inside math environments.emime wrote:The right use of a math function is by enclosing the arguments within {}. [...]
At the moment I can't comprehend the problem. Perhaps the "Math mode" document gives some useful hints.zaradek wrote:Why are there different horizontal spaces after the two log functions in the result of the following code? [...]
I'd say you've given the answer with the second line by adjusting the parenthesis manually. Despite the wrong explanation the method of emime could be a solution. A good example for eliminating horizontal space is the following code.zaradek wrote:[...] Do you know how to fix the first line? [...]
Code: Select all
$E=mc^2$
$E{=}mc^2$
Code: Select all
$\log{\left(3\right)}$
I don't think so. I consider the bigger space as the better one. But perhaps the document I mentioned earlier can give a hint. Search it for "delimiter spaces".zaradek wrote:So, can we consider this issue as a bug in the latex? [...]
Code: Select all
\[a^23\neq a^{23}\]
Code: Select all
\[\log\hspace{-3pt}{\left(k\right)\cdot x}\]
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