• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:56
CEST 01:56
KST 08:56
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team TLMC #5: Winners Announced!0[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5TL.net Map Contest #21 - Finalists4Team TLMC #5: Vote to Decide Ladder Maps!0
Community News
5.0.15 Patch Balance Hotfix (2025-10-8)15Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition245.0.15 Balance Patch Notes (Live version)118$2,500 WardiTV TL Map Contest Tournament 152
StarCraft 2
General
5.0.15 Patch Balance Hotfix (2025-10-8) 5.0.15 Balance Patch Notes (Live version) The New Patch Killed Mech! Weekly Cups (Sept 29-Oct 5): MaxPax triples up Team TLMC #5: Winners Announced!
Tourneys
Tenacious Turtle Tussle Sea Duckling Open (Global, Bronze-Diamond) $2,500 WardiTV TL Map Contest Tournament 15 RSL Offline Finals Dates + Ticket Sales! Stellar Fest
Strategy
Custom Maps
External Content
Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More Mutation # 491 Night Drive
Brood War
General
ASL20 General Discussion BW General Discussion Question regarding recent ASL Bisu vs Larva game [BSL21] - How to Qualify to Each League ? RepMastered™: replay sharing and analyzer site
Tourneys
[Megathread] Daily Proleagues [ASL20] Ro8 Day 4 Small VOD Thread 2.0 [ASL20] Ro8 Day 3
Strategy
Current Meta TvZ Theorycraft - Improving on State of the Art Proposed Glossary of Strategic Uncertainty 9 hatch vs 10 hatch vs 12 hatch
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread UK Politics Mega-thread The Games Industry And ATVI
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts The Automated Ban List BarCraft in Tokyo Japan for ASL Season5 Final
Blogs
What your "aura" says about…
Peanutsc
Mental Health In Esports: Wo…
TrAiDoS
Try to reverse getting fired …
Garnet
[ASL20] Players bad at pi…
pullarius1
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1298 users

[H!] matrix in latex?

Blogs > evanthebouncy!
Post a Reply
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-05-05 21:13:22
May 05 2009 21:12 GMT
#1
These are okay:
=================
\documentclass[12pt]{article}
%this thing is hard..
\begin{document}

\begin{center}
\textbf{ {Eigenvectors $\wedge$ Eigenvalues} $\vee$ {Characteristic Equation} }
\end{center}

Consider this 3x3 matrix:
===============


But these:
================
\left(
\begin{array}{ccc}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}\\
\end{array}
\right)
====================
Failed. What's wrong? O_o

Obviously the end is
=============
\end{document}
=============

*
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Ropid
Profile Joined March 2009
Germany3557 Posts
May 05 2009 21:24 GMT
#2
I'm guessing, you have to enclose math stuff with \[ and \], i.e. \[ before your \left( and \] after your \right.

When I used LaTeX, I always copied stuff from this:
http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/GSWLaTeX.pdf
as a HTML document:
http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/
"My goal is to replace my soul with coffee and become immortal."
ThaddeusK
Profile Joined July 2008
United States232 Posts
Last Edited: 2009-05-05 21:28:46
May 05 2009 21:28 GMT
#3
i dont know any LaTeX, but from what i can gather from a quick google, you need to add \usepackage{amsmath}
The Raurosaur
Profile Joined April 2009
198 Posts
May 05 2009 21:52 GMT
#4
It works for me. Did you remember to enable math mode by enclosing the matrix within \[ and \] (or $ and $)?
:(){:|:&};:
h3r1n6
Profile Blog Joined September 2007
Iceland2039 Posts
May 05 2009 21:57 GMT
#5
Oh, THAT latex, I was expecting something different
stet_tcl
Profile Blog Joined May 2008
Greece319 Posts
Last Edited: 2009-05-05 22:36:30
May 05 2009 22:16 GMT
#6
Edit:
Works fine for me oO
What programs are you using?
indecision
Profile Blog Joined November 2004
Germany818 Posts
May 05 2009 22:20 GMT
#7
is this the entire document?
TheYango
Profile Joined September 2008
United States47024 Posts
May 05 2009 22:58 GMT
#8
Its worth posting what error it gives you instead of just saying "this fails".
Moderator
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
May 05 2009 22:59 GMT
#9
I thought this would be about a porn movie or something.
..and then I would, ya know, check em'. (Aka SpoR)
ShOoTiNg_SpElLs
Profile Joined July 2003
Korea (South)690 Posts
Last Edited: 2009-05-05 23:08:33
May 05 2009 23:08 GMT
#10
You just forgot to start/end math mode when starting your matrix (just missing the \[ \])

\[
\left(
\begin{array}{ccc}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}\\
\end{array}
\right)
\]

should work.
404.Delirium
Profile Joined May 2008
United States1190 Posts
May 05 2009 23:37 GMT
#11
Was really expecting photos of Trinity in latex...
seriously next disrespectful comment in this blog is ip ban. Be happy or get the hell out. // SC2 is like playing with neutral-colored Play-Doh while BW is like colorful Legos.
ghermination
Profile Blog Joined April 2008
United States2851 Posts
May 05 2009 23:41 GMT
#12
On May 06 2009 08:37 404.Delirium wrote:
Was really expecting photos of Trinity in latex...


Ditto.
U Gotta Skate.
jingXD
Profile Joined May 2007
United States283 Posts
Last Edited: 2009-05-06 00:23:06
May 06 2009 00:18 GMT
#13
For matrices, it's usually easier to use pmatrix and bmatrix from the amsmath package.

\documentclass[12pt]{article}
\usepackage{amsmath}

\begin{document}
\[
\begin{pmatrix}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}
\end{pmatrix}
\]

\[
\begin{Bmatrix}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}
\end{Bmatrix}
\]

\[
\begin{bmatrix}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}
\end{bmatrix}
\]

\[
\begin{Vmatrix}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}
\end{Vmatrix}
\]

\[
\begin{vmatrix}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}
\end{vmatrix}
\]
\end{document}
imDerek
Profile Blog Joined August 2007
United States1944 Posts
May 06 2009 01:25 GMT
#14
I'm guessing the last row doesn't need the "\\"
Least favorite progamers: Leta, Zero, Mind, Shine, free, really <-- newly added
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
May 06 2009 05:04 GMT
#15
On May 06 2009 08:08 ShOoTiNg_SpElLs wrote:
You just forgot to start/end math mode when starting your matrix (just missing the \[ \])

\[
\left(
\begin{array}{ccc}
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}\\
\end{array}
\right)
\]

should work.


thx!
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
ninjafetus
Profile Joined December 2008
United States231 Posts
Last Edited: 2009-05-06 05:33:39
May 06 2009 05:32 GMT
#16
If I never need to write multiple matrices in a paper, I find it MUCH easier to add a new command at beginning so I don't have to worry about writing the structure over and over. Before the document start, put this:

\usepackage{amsmath}
\newcommand{\bm}[1]{ \ensuremath{\begin{bmatrix} #1 \end{bmatrix} }

Then if you ever need a matrix, just write the entries in \bm{} like this:

\bm{
a_{1,1} & a_{1,2} & a_{1,3}\\
a_{2,1} & a_{2,2} & a_{2,3}\\
a_{3,1} & a_{3,2} & a_{3,3}
}

The "ensure math" means you can use it inside or outside of your $'s without worrying about if you're in math mode or not. (Of course, you can use any shortcut you want instead of "\bm", and use any style matrix you want instead of "bmatrix")
GTR
Profile Blog Joined September 2004
51486 Posts
May 06 2009 06:31 GMT
#17
aww i thought this was about the movie the matrix done by people in latex suits
Commentator
Divinek
Profile Blog Joined November 2006
Canada4045 Posts
May 06 2009 09:00 GMT
#18
On May 06 2009 15:31 GTR wrote:
aww i thought this was about the movie the matrix done by people in latex suits


me too
Never attribute to malice that which can be adequately explained by stupidity.
Oh goodness me, FOX tv where do you get your sight? Can't you keep track, the puck is black. That's why the ice is white.
h3r1n6
Profile Blog Joined September 2007
Iceland2039 Posts
May 06 2009 11:29 GMT
#19
Since I am not the only one who was disappointed, I'll rescue this thread:
+ Show Spoiler +
[image loading]

[image loading]

[image loading]

[image loading]
Railxp
Profile Blog Joined February 2008
Hong Kong1313 Posts
May 06 2009 14:30 GMT
#20
YES thankyou h3r1n6. NOW thats what i was thinking.
~\(。◕‿‿◕。)/~,,,,,,,,>
Please log in or register to reply.
Live Events Refresh
Tenacious Turtle Tussle
23:00
Biweekly #33
CranKy Ducklings67
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft450
SpeCial 99
Nathanias 75
CosmosSc2 63
StarCraft: Brood War
Artosis 638
NaDa 18
Dota 2
monkeys_forever195
Counter-Strike
fl0m99
Other Games
summit1g8109
Grubby2339
shahzam731
C9.Mang0246
ViBE213
Maynarde129
UpATreeSC58
JuggernautJason1
fpsfer 1
Organizations
Other Games
gamesdonequick555
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• HeavenSC 19
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift3340
Upcoming Events
The PondCast
10h 4m
Map Test Tournament
11h 4m
OSC
16h 4m
SKillous vs Krystianer
GgMaChine vs Demi
ArT vs Creator
INexorable vs TBD
ReBellioN vs TriGGeR
UedSoldier vs Iba
sOs vs Moja
Map Test Tournament
1d 11h
OSC
1d 13h
Korean StarCraft League
2 days
CranKy Ducklings
2 days
Map Test Tournament
2 days
OSC
2 days
[BSL 2025] Weekly
2 days
[ Show More ]
Safe House 2
2 days
Sparkling Tuna Cup
3 days
Map Test Tournament
3 days
OSC
3 days
IPSL
3 days
Bonyth vs Art_Of_Turtle
Razz vs rasowy
Liquipedia Results

Completed

Acropolis #4 - TS2
Maestros of the Game
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
WardiTV TLMC #15
EC S1
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.