Tag Archives: usepackage

Insert source code with syntax highlighting in LaTeX

Use the Listings package to insert source code in LaTeX. Continue reading

Posted in LaTeX | Tagged , , , , | Leave a comment

How to set the margins of a page in LaTeX

Set the LaTeX page margin using geometry package. Using package geometry, you can set the top, bottom, left and right margin size. Continue reading

Posted in LaTeX | Tagged , , , , , | Leave a comment

How to create a matrix in LaTeX

We can create a matrix in LaTeX using the array environment, or simplematrix, matrix, pmatrix, bmatrix, vmatrix, and Vmatrix environments via amsmath package. This article provides some examples on how to create a matrix in LaTeX. Continue reading

Posted in LaTeX | Tagged , , , , , , , , , , , | 4 Comments