3

I am trying to draw an Integral where the parameter of the integral is to the left of the integral sign as it is here: My desired Integral

However, I have found nothing online for how to achieve this. Is there a (preferably easy) way to set the Integration parameter to the left of the symbol?

2
  • Maybe \sideset from amsmath, but it is a bit strange notation.
    – mickep
    Jan 28 at 13:41
  • @mickep That does work, but the distance is a little too large. Is there a way to make the side-symbols closer to the center of the wrapped symbol? Jan 28 at 13:58

1 Answer 1

5

For single letter in the left superscript, you can use \prescript and \mathrlap from mathtools package. For multi characters, try leftindex package.

\documentclass{article}
\usepackage{mathtools} % can be deleted since leftindex preloads mathtools
\usepackage{fixdif} % for \d
\usepackage{leftindex}
\begin{document}
\[
  \prescript{\mathrlap{\gamma}}{}{\int} f \d x \quad
  \prescript{\partial V}{}{\int} f \d x \quad
  \leftindex^{\partial V} {\int} f \d x \quad
  \leftindex^\gamma {\int} f \d x \quad
  \leftindex^{\alpha\beta\gamma\partial V} {\int} f \d x
\]
\end{document}

enter image description here

For more information about left and right scripts, have a look at this post Left and right subscript / superscript

3
  • That works well for single symbols, but as soon as I use more than one (something like $\partial V$), it overlaps the Integral symbol. Jan 28 at 13:58
  • That's true. The solution above is for single symbol. What's the maximum length of the contents in left superscript for your use case? @lan
    – Stephen
    Jan 28 at 14:06
  • In my case, the maximum length would be two. I think leftindex looks good, so I accepted your answer. Thank your for helping :) Jan 28 at 14:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .