• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:37
CEST 19:37
KST 02:37
  • 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
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed14Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
The GOAT ranking of GOAT rankings Who will win EWC 2025? RSL Revival patreon money discussion thread Server Blocker Weekly Cups (July 7-13): Classic continues to roll
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Soulkey Muta Micro Map? Flash Announces (and Retracts) Hiatus From ASL [ASL19] Finals Recap: Standing Tall BW General Discussion
Tourneys
Starcraft Superstars Winner/Replays [Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece Movie Discussion! Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 622 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 States231 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
51441 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
Big Brain Bouts
16:00
#99
sebesdes vs TBD
Harstem vs YoungYakov
GgMaChine vs uThermal
RotterdaM1048
IndyStarCraft 201
Liquipedia
Epic.LAN
12:00
Epic.LAN 45 Group Stage
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 944
Hui .322
IndyStarCraft 189
SpeCial 184
mcanning 119
UpATreeSC 76
BRAT_OK 72
StarCraft: Brood War
EffOrt 1011
Larva 833
Hyuk 758
firebathero 500
Snow 62
Mind 47
Aegong 43
sas.Sziky 38
scan(afreeca) 27
Bale 5
Dota 2
qojqva4129
syndereN544
NeuroSwarm76
Counter-Strike
flusha251
Other Games
FrodaN2793
Beastyqt520
Scarlett`353
Lowko292
Fuzer 189
oskar137
KnowMe136
ArmadaUGS123
Trikslyr65
ROOTCatZ43
Skadoodle38
Sick20
Organizations
Other Games
gamesdonequick2678
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• poizon28 32
• tFFMrPink 14
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• lizZardDota281
League of Legends
• Nemesis6869
• Jankos1803
Other Games
• imaqtpie997
• Shiphtur228
Upcoming Events
CranKy Ducklings
16h 23m
Epic.LAN
18h 23m
CSO Contender
23h 23m
Sparkling Tuna Cup
1d 16h
Online Event
1d 22h
Esports World Cup
3 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
4 days
Esports World Cup
5 days
Esports World Cup
6 days
Liquipedia Results

Completed

JPL Season 2
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
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
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.