representation of vector and matrix in latex Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraEquation with Large Matrix DimensionHow to make this matrix in LaTeX?Diagonal text in diagonal matrixVertical Alignment of Matrix CellsMaking size of a 4x4 matrix that consist only 2 parameter of 2x2 matrix to be same size as 4x4 matrixVector vs. Raster: Is there any reason to include (larger) vector images into a LaTeX document?Circular MotionDimensional matrixHow to Typeset a Vectortypeset conjugate matrix in LaTEX

How would I use different systems of magic when they are capable of the same effects?

Is accepting an invalid credit card number a security issue?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space

How to keep bees out of canned beverages?

What's the difference between using dependency injection with a container and using a service locator?

What is it called when you ride around on your front wheel?

How to get even lighting when using flash for group photos near wall?

Does Mathematica have an implementation of the Poisson Binomial Distribution?

Putting Ant-Man on house arrest

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Retract an already submitted recommendation letter (written for an undergrad student)

What is the ongoing value of the Kanban board to the developers as opposed to management

My bank got bought out, am I now going to have to start filing tax returns in a different state?

c++ diamond problem - How to call base method only once

Will I lose my paid in full property

How would this chord from "Rocket Man" be analyzed?

Align column where each cell has two decimals with siunitx

A Paper Record is What I Hamper

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

How to not starve gigantic beasts

Are these square matrices always diagonalisable?

Is Electric Central Heating worth it if using Solar Panels?

Why did C use the -> operator instead of reusing the . operator?



representation of vector and matrix in latex



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraEquation with Large Matrix DimensionHow to make this matrix in LaTeX?Diagonal text in diagonal matrixVertical Alignment of Matrix CellsMaking size of a 4x4 matrix that consist only 2 parameter of 2x2 matrix to be same size as 4x4 matrixVector vs. Raster: Is there any reason to include (larger) vector images into a LaTeX document?Circular MotionDimensional matrixHow to Typeset a Vectortypeset conjugate matrix in LaTEX










2















i'm working on my latex thesis and i want to represent this equation, matrix is upperCase letter with 2 lines under it, and vector just one line below, see the picture attached enter image description here



can someone help me out with a way to represent it










share|improve this question



















  • 2





    that seems very much a "blackboard" notation, do you really want that in a typeset paper? (underline. and underlineunderline. probably do what you want but....

    – David Carlisle
    Apr 17 at 20:57















2















i'm working on my latex thesis and i want to represent this equation, matrix is upperCase letter with 2 lines under it, and vector just one line below, see the picture attached enter image description here



can someone help me out with a way to represent it










share|improve this question



















  • 2





    that seems very much a "blackboard" notation, do you really want that in a typeset paper? (underline. and underlineunderline. probably do what you want but....

    – David Carlisle
    Apr 17 at 20:57













2












2








2








i'm working on my latex thesis and i want to represent this equation, matrix is upperCase letter with 2 lines under it, and vector just one line below, see the picture attached enter image description here



can someone help me out with a way to represent it










share|improve this question
















i'm working on my latex thesis and i want to represent this equation, matrix is upperCase letter with 2 lines under it, and vector just one line below, see the picture attached enter image description here



can someone help me out with a way to represent it







matrices vector






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 17 at 20:52









Phelype Oleinik

26.1k54791




26.1k54791










asked Apr 17 at 20:45









sana chsana ch

133




133







  • 2





    that seems very much a "blackboard" notation, do you really want that in a typeset paper? (underline. and underlineunderline. probably do what you want but....

    – David Carlisle
    Apr 17 at 20:57












  • 2





    that seems very much a "blackboard" notation, do you really want that in a typeset paper? (underline. and underlineunderline. probably do what you want but....

    – David Carlisle
    Apr 17 at 20:57







2




2





that seems very much a "blackboard" notation, do you really want that in a typeset paper? (underline. and underlineunderline. probably do what you want but....

– David Carlisle
Apr 17 at 20:57





that seems very much a "blackboard" notation, do you really want that in a typeset paper? (underline. and underlineunderline. probably do what you want but....

– David Carlisle
Apr 17 at 20:57










2 Answers
2






active

oldest

votes


















3














The immediate problem can be solved with an array, with a local setting of arraystretch for reducing the gap between the two rows.



documentclassarticle
usepackageamsmath,bm

% old fashioned notation for the old fashioned supervisor
newcommandvect[1]underline#1
newcommandmatr[1]underlineunderline#1

% better for typesetting
%newcommandvect[1]mathbf#1 % or bm
%newcommandmatr[1]mathbf#1 % or bm

begindocument

Here $vectQ$ and $vectw$ are column vectors and $matrA$ is a matrix
[
renewcommandarraystretch0.7
beginarray@ c @ c @ c @; c @
vectQ & = & matrA & vectw \
scriptscriptstyle mtimes 1 &&
scriptscriptstyle mtimes n &
scriptscriptstyle ntimes 1
endarray
]

enddocument


enter image description here



I strongly advise to use macros for inputting matrices and vectors. When your supervisor will realize that the old-fashioned notation is also very ugly in print (it was used in the typewriter times), you can simply change the definitions. If you switch the comments in the code above, the result will be



enter image description here



without changing the code in the document body.






share|improve this answer























  • thank you so much that's exactly what i'm searching for, i appreciate your help

    – sana ch
    Apr 17 at 23:06


















1














The notational possibilities are sheer endless. Which notational practice you wish to adopt may be dictated by typographic conventions specific to a field, a language, a country, etc. LaTeX and TeX don't prescribe any particular notational practice.



The following screenshot shows five possibilities; I have no doubt that there are many more. Echoing a thought already expressed by David Carlisle, "blackboard-style" notational conventions (e.g., with one or two underlines) are not necessarily the best when applied to typeset, as opposed to hand-written, material.



enter image description here



documentclassarticle
usepackageamsmath,bm
begindocument

beginalign*
Q &= Aw \
mathrmQ &= mathrmAmathrmw\
mathbfQ &= mathbfAmathbfw\
vecQ &= Avecw\
bmQ &= bmAbmw
endalign*
enddocument





share|improve this answer


















  • 1





    thank you for your reply, i share the same opinion as you, i think it's a blaskboard notation but my supervisor insist to do it this way in my thesis

    – sana ch
    Apr 17 at 21:29






  • 1





    @sanach - If your supervisor is so strongly wedded to this borderline unsuitable typographic convention, just show him the output of underlineQ=underlineunderlineA,underlinew and ask him for permission to use a different, non-disastrous notation for vectors and matrices. :-)

    – Mico
    Apr 17 at 21:33







  • 2





    @sanach Explaining matrix multiplication in a thesis? That's what every sophomore should know!

    – egreg
    Apr 17 at 21:49











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485372%2frepresentation-of-vector-and-matrix-in-latex%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














The immediate problem can be solved with an array, with a local setting of arraystretch for reducing the gap between the two rows.



documentclassarticle
usepackageamsmath,bm

% old fashioned notation for the old fashioned supervisor
newcommandvect[1]underline#1
newcommandmatr[1]underlineunderline#1

% better for typesetting
%newcommandvect[1]mathbf#1 % or bm
%newcommandmatr[1]mathbf#1 % or bm

begindocument

Here $vectQ$ and $vectw$ are column vectors and $matrA$ is a matrix
[
renewcommandarraystretch0.7
beginarray@ c @ c @ c @; c @
vectQ & = & matrA & vectw \
scriptscriptstyle mtimes 1 &&
scriptscriptstyle mtimes n &
scriptscriptstyle ntimes 1
endarray
]

enddocument


enter image description here



I strongly advise to use macros for inputting matrices and vectors. When your supervisor will realize that the old-fashioned notation is also very ugly in print (it was used in the typewriter times), you can simply change the definitions. If you switch the comments in the code above, the result will be



enter image description here



without changing the code in the document body.






share|improve this answer























  • thank you so much that's exactly what i'm searching for, i appreciate your help

    – sana ch
    Apr 17 at 23:06















3














The immediate problem can be solved with an array, with a local setting of arraystretch for reducing the gap between the two rows.



documentclassarticle
usepackageamsmath,bm

% old fashioned notation for the old fashioned supervisor
newcommandvect[1]underline#1
newcommandmatr[1]underlineunderline#1

% better for typesetting
%newcommandvect[1]mathbf#1 % or bm
%newcommandmatr[1]mathbf#1 % or bm

begindocument

Here $vectQ$ and $vectw$ are column vectors and $matrA$ is a matrix
[
renewcommandarraystretch0.7
beginarray@ c @ c @ c @; c @
vectQ & = & matrA & vectw \
scriptscriptstyle mtimes 1 &&
scriptscriptstyle mtimes n &
scriptscriptstyle ntimes 1
endarray
]

enddocument


enter image description here



I strongly advise to use macros for inputting matrices and vectors. When your supervisor will realize that the old-fashioned notation is also very ugly in print (it was used in the typewriter times), you can simply change the definitions. If you switch the comments in the code above, the result will be



enter image description here



without changing the code in the document body.






share|improve this answer























  • thank you so much that's exactly what i'm searching for, i appreciate your help

    – sana ch
    Apr 17 at 23:06













3












3








3







The immediate problem can be solved with an array, with a local setting of arraystretch for reducing the gap between the two rows.



documentclassarticle
usepackageamsmath,bm

% old fashioned notation for the old fashioned supervisor
newcommandvect[1]underline#1
newcommandmatr[1]underlineunderline#1

% better for typesetting
%newcommandvect[1]mathbf#1 % or bm
%newcommandmatr[1]mathbf#1 % or bm

begindocument

Here $vectQ$ and $vectw$ are column vectors and $matrA$ is a matrix
[
renewcommandarraystretch0.7
beginarray@ c @ c @ c @; c @
vectQ & = & matrA & vectw \
scriptscriptstyle mtimes 1 &&
scriptscriptstyle mtimes n &
scriptscriptstyle ntimes 1
endarray
]

enddocument


enter image description here



I strongly advise to use macros for inputting matrices and vectors. When your supervisor will realize that the old-fashioned notation is also very ugly in print (it was used in the typewriter times), you can simply change the definitions. If you switch the comments in the code above, the result will be



enter image description here



without changing the code in the document body.






share|improve this answer













The immediate problem can be solved with an array, with a local setting of arraystretch for reducing the gap between the two rows.



documentclassarticle
usepackageamsmath,bm

% old fashioned notation for the old fashioned supervisor
newcommandvect[1]underline#1
newcommandmatr[1]underlineunderline#1

% better for typesetting
%newcommandvect[1]mathbf#1 % or bm
%newcommandmatr[1]mathbf#1 % or bm

begindocument

Here $vectQ$ and $vectw$ are column vectors and $matrA$ is a matrix
[
renewcommandarraystretch0.7
beginarray@ c @ c @ c @; c @
vectQ & = & matrA & vectw \
scriptscriptstyle mtimes 1 &&
scriptscriptstyle mtimes n &
scriptscriptstyle ntimes 1
endarray
]

enddocument


enter image description here



I strongly advise to use macros for inputting matrices and vectors. When your supervisor will realize that the old-fashioned notation is also very ugly in print (it was used in the typewriter times), you can simply change the definitions. If you switch the comments in the code above, the result will be



enter image description here



without changing the code in the document body.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 17 at 21:47









egregegreg

736k8919353262




736k8919353262












  • thank you so much that's exactly what i'm searching for, i appreciate your help

    – sana ch
    Apr 17 at 23:06

















  • thank you so much that's exactly what i'm searching for, i appreciate your help

    – sana ch
    Apr 17 at 23:06
















thank you so much that's exactly what i'm searching for, i appreciate your help

– sana ch
Apr 17 at 23:06





thank you so much that's exactly what i'm searching for, i appreciate your help

– sana ch
Apr 17 at 23:06











1














The notational possibilities are sheer endless. Which notational practice you wish to adopt may be dictated by typographic conventions specific to a field, a language, a country, etc. LaTeX and TeX don't prescribe any particular notational practice.



The following screenshot shows five possibilities; I have no doubt that there are many more. Echoing a thought already expressed by David Carlisle, "blackboard-style" notational conventions (e.g., with one or two underlines) are not necessarily the best when applied to typeset, as opposed to hand-written, material.



enter image description here



documentclassarticle
usepackageamsmath,bm
begindocument

beginalign*
Q &= Aw \
mathrmQ &= mathrmAmathrmw\
mathbfQ &= mathbfAmathbfw\
vecQ &= Avecw\
bmQ &= bmAbmw
endalign*
enddocument





share|improve this answer


















  • 1





    thank you for your reply, i share the same opinion as you, i think it's a blaskboard notation but my supervisor insist to do it this way in my thesis

    – sana ch
    Apr 17 at 21:29






  • 1





    @sanach - If your supervisor is so strongly wedded to this borderline unsuitable typographic convention, just show him the output of underlineQ=underlineunderlineA,underlinew and ask him for permission to use a different, non-disastrous notation for vectors and matrices. :-)

    – Mico
    Apr 17 at 21:33







  • 2





    @sanach Explaining matrix multiplication in a thesis? That's what every sophomore should know!

    – egreg
    Apr 17 at 21:49















1














The notational possibilities are sheer endless. Which notational practice you wish to adopt may be dictated by typographic conventions specific to a field, a language, a country, etc. LaTeX and TeX don't prescribe any particular notational practice.



The following screenshot shows five possibilities; I have no doubt that there are many more. Echoing a thought already expressed by David Carlisle, "blackboard-style" notational conventions (e.g., with one or two underlines) are not necessarily the best when applied to typeset, as opposed to hand-written, material.



enter image description here



documentclassarticle
usepackageamsmath,bm
begindocument

beginalign*
Q &= Aw \
mathrmQ &= mathrmAmathrmw\
mathbfQ &= mathbfAmathbfw\
vecQ &= Avecw\
bmQ &= bmAbmw
endalign*
enddocument





share|improve this answer


















  • 1





    thank you for your reply, i share the same opinion as you, i think it's a blaskboard notation but my supervisor insist to do it this way in my thesis

    – sana ch
    Apr 17 at 21:29






  • 1





    @sanach - If your supervisor is so strongly wedded to this borderline unsuitable typographic convention, just show him the output of underlineQ=underlineunderlineA,underlinew and ask him for permission to use a different, non-disastrous notation for vectors and matrices. :-)

    – Mico
    Apr 17 at 21:33







  • 2





    @sanach Explaining matrix multiplication in a thesis? That's what every sophomore should know!

    – egreg
    Apr 17 at 21:49













1












1








1







The notational possibilities are sheer endless. Which notational practice you wish to adopt may be dictated by typographic conventions specific to a field, a language, a country, etc. LaTeX and TeX don't prescribe any particular notational practice.



The following screenshot shows five possibilities; I have no doubt that there are many more. Echoing a thought already expressed by David Carlisle, "blackboard-style" notational conventions (e.g., with one or two underlines) are not necessarily the best when applied to typeset, as opposed to hand-written, material.



enter image description here



documentclassarticle
usepackageamsmath,bm
begindocument

beginalign*
Q &= Aw \
mathrmQ &= mathrmAmathrmw\
mathbfQ &= mathbfAmathbfw\
vecQ &= Avecw\
bmQ &= bmAbmw
endalign*
enddocument





share|improve this answer













The notational possibilities are sheer endless. Which notational practice you wish to adopt may be dictated by typographic conventions specific to a field, a language, a country, etc. LaTeX and TeX don't prescribe any particular notational practice.



The following screenshot shows five possibilities; I have no doubt that there are many more. Echoing a thought already expressed by David Carlisle, "blackboard-style" notational conventions (e.g., with one or two underlines) are not necessarily the best when applied to typeset, as opposed to hand-written, material.



enter image description here



documentclassarticle
usepackageamsmath,bm
begindocument

beginalign*
Q &= Aw \
mathrmQ &= mathrmAmathrmw\
mathbfQ &= mathbfAmathbfw\
vecQ &= Avecw\
bmQ &= bmAbmw
endalign*
enddocument






share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 17 at 21:03









MicoMico

288k32394782




288k32394782







  • 1





    thank you for your reply, i share the same opinion as you, i think it's a blaskboard notation but my supervisor insist to do it this way in my thesis

    – sana ch
    Apr 17 at 21:29






  • 1





    @sanach - If your supervisor is so strongly wedded to this borderline unsuitable typographic convention, just show him the output of underlineQ=underlineunderlineA,underlinew and ask him for permission to use a different, non-disastrous notation for vectors and matrices. :-)

    – Mico
    Apr 17 at 21:33







  • 2





    @sanach Explaining matrix multiplication in a thesis? That's what every sophomore should know!

    – egreg
    Apr 17 at 21:49












  • 1





    thank you for your reply, i share the same opinion as you, i think it's a blaskboard notation but my supervisor insist to do it this way in my thesis

    – sana ch
    Apr 17 at 21:29






  • 1





    @sanach - If your supervisor is so strongly wedded to this borderline unsuitable typographic convention, just show him the output of underlineQ=underlineunderlineA,underlinew and ask him for permission to use a different, non-disastrous notation for vectors and matrices. :-)

    – Mico
    Apr 17 at 21:33







  • 2





    @sanach Explaining matrix multiplication in a thesis? That's what every sophomore should know!

    – egreg
    Apr 17 at 21:49







1




1





thank you for your reply, i share the same opinion as you, i think it's a blaskboard notation but my supervisor insist to do it this way in my thesis

– sana ch
Apr 17 at 21:29





thank you for your reply, i share the same opinion as you, i think it's a blaskboard notation but my supervisor insist to do it this way in my thesis

– sana ch
Apr 17 at 21:29




1




1





@sanach - If your supervisor is so strongly wedded to this borderline unsuitable typographic convention, just show him the output of underlineQ=underlineunderlineA,underlinew and ask him for permission to use a different, non-disastrous notation for vectors and matrices. :-)

– Mico
Apr 17 at 21:33






@sanach - If your supervisor is so strongly wedded to this borderline unsuitable typographic convention, just show him the output of underlineQ=underlineunderlineA,underlinew and ask him for permission to use a different, non-disastrous notation for vectors and matrices. :-)

– Mico
Apr 17 at 21:33





2




2





@sanach Explaining matrix multiplication in a thesis? That's what every sophomore should know!

– egreg
Apr 17 at 21:49





@sanach Explaining matrix multiplication in a thesis? That's what every sophomore should know!

– egreg
Apr 17 at 21:49

















draft saved

draft discarded
















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485372%2frepresentation-of-vector-and-matrix-in-latex%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company