LyX ⇒ Long division
Long division
Can anyone give me some guidance on how to enter long division on Lyx 1.6 (for win XP)
I have found reference to the latex command \longdiv
I think I may have to add a package ?
I downloaded longdiv from http://ctan.org/pkg/ which gives me a tex package but I am unsure if Lyx can use it and if so where to put it.
best regards
Jim
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
Long division
Code: Select all
\documentclass[11pt,a4paper]{article}
\begin{document}
\include{longdiv}
\longdiv{45}{3}
\end{document}
Re: Long division
thanks for feedback
now you mention it I did also come across a longdiv.sty but cant remember from where.
though it is now located in the LYX/resources/tex directory
but will not show up in the document class menu, although other styles in that directory seem to ?
MWE ? is that minimal working example ?
I tried entering your code in lyx
selecting tex and pasting it but an error saying Latex error :can only be used in preamle
\maketitle your command was ignored
best regards
Jim
Long division
Code: Select all
$ sudo texhashI don't understand that error message, but yes MWE is minimal working example. If you post your code others may be able to help.