Solves a system of linear equations showing step by step solution and writing results to pdf using LaTeX tools.