I am looking for long division symbol for inline use. For US style there are several choices.

For displayed long division, French style, there is xlop package.

I am looking for the inline version, French style, which, for $x \div y$, would look something like an $x\ L y$ with $y$ inside $L$.


I'd use an array without intercolumn space:




enter image description here

  • What is \vline? Is it similar to |? From your code I understand it is being used as a column separator, right?
    – azetina
    Dec 14 '13 at 19:15
  • @azetina Using \vline avoids undesirable spaces.
    – egreg
    Dec 14 '13 at 20:17

Just for fun. Of course the link @Werner gave you is a good start. Notice that what I did was just to play around with someone else's code. See MWE below:

enter image description here






Taking now the following code an playing around with the node anchors, we have the following MWE:


  \tikz[baseline=(n.base)]{\node(n)[inner sep=1pt]{$#2$};
    \draw[line cap=round](n.north west)--(n.south west)--(n.south east);




Note that this command may not be robust. So, wait for other possible responses and choose the best that suites your needs.

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.