Math & Science ⇒ Beginner and matrices
Beginner and matrices
the way they have used in the tex examples are just by writing it in text, but I'd like to do it if it is possible. Hopefully something that can be written into a macro.
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Beginner and matrices
Please upload attachments to the forum server next time. External links can get lost with time and make the problem incomprehensible.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Beginner and matrices
Amazing - the 'gauss' package looks perfect. The only but is that it uses () and not [], I guess I can dig through the package to find out how to change that. But if you or anyone else got an idea on how to do it feel free to assist. Might not be needed, I'd just like to make it look perfectly like I want to.localghost wrote:I think the gauss package is the right one for this job. Perhaps the tkz-linknodes package (based on pgf) can also help.
Please upload attachments to the forum server next time. External links can get lost with time and make the problem incomprehensible.
Best regards and welcome to the board
Thorsten
Secondly, thanks for the upload-note. I'm just used to boards not allowing uploads. I'll do that from now on.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Beginner and matrices
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{gauss}
\begin{document}
\begin{equation}
\begin{gmatrix}[b]
1 & 2 & 3 & 4 \\
5 & 6 & 7 & 8 \\
9 & 10 & 11 & 12 \\
13 & 14 & 15 & 16
\rowops
\swap{0}{3}
\end{gmatrix}
\end{equation}
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Beginner and matrices
I felt I've read through the manual, but I apparently haven't.localghost wrote:Section 1.1 of the gauss manual mentions an optional parameter for the delimiter type of the gmatrix environment.
Thank you. As someone who just dove into the language and tries to find his way through it, I highly appreciate both the package digging and manual-help. So a big thank you to both.

-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
Beginner and matrices
Pretty much all the packages have excellent documentation/manuals, and they're easy to find, either go to www.ctan.org/okg/«name of package» or open up command prompt/terminal and type "texdoc «name of package»"moijk wrote:As someone who just dove into the language and tries to find his way through it, I highly appriciate both the package digging and manual-help. So a big thank you to both.