representation of vector and matrix in latex Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Equation 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

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

Is it common practice to audition new musicians 1-2-1 before rehearsing with the entire band?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Using audio cues to encourage good posture

What do you call a floor made of glass so you can see through the floor?

How to compare two different files line by line in unix?

How to Make a Beautiful Stacked 3D Plot

How do I make this wiring inside cabinet safer? (Pic)

Is it a good idea to use CNN to classify 1D signal?

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

また usage in a dictionary

How to down pick a chord with skipped strings?

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

Do square wave exist?

Why aren't air breathing engines used as small first stages

Why do we bend a book to keep it straight?

What is the escape velocity of a neutron particle (not neutron star)

Does classifying an integer as a discrete log require it be part of a multiplicative group?

An adverb for when you're not exaggerating

Is it fair for a professor to grade us on the possession of past papers?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

How would a mousetrap for use in space work?

Did MS DOS itself ever use blinking text?



representation of vector and matrix in latex



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Equation 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









New contributor




sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 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
    4 hours ago















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









New contributor




sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 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
    4 hours ago













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









New contributor




sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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









New contributor




sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 4 hours ago









Phelype Oleinik

25.5k54690




25.5k54690






New contributor




sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 5 hours ago









sana chsana ch

133




133




New contributor




sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






sana ch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 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
    4 hours ago












  • 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
    4 hours ago







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
4 hours ago





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
4 hours ago










2 Answers
2






active

oldest

votes


















1














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
    2 hours ago


















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
    4 hours ago






  • 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
    4 hours ago







  • 1





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

    – egreg
    3 hours ago











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
);



);






sana ch is a new contributor. Be nice, and check out our Code of Conduct.









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









1














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
    2 hours ago















1














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
    2 hours ago













1












1








1







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 4 hours ago









egregegreg

735k8919343257




735k8919343257












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

    – sana ch
    2 hours ago

















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

    – sana ch
    2 hours ago
















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

– sana ch
2 hours ago





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

– sana ch
2 hours ago











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
    4 hours ago






  • 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
    4 hours ago







  • 1





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

    – egreg
    3 hours ago















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
    4 hours ago






  • 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
    4 hours ago







  • 1





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

    – egreg
    3 hours ago













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 4 hours ago









MicoMico

287k32392781




287k32392781







  • 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
    4 hours ago






  • 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
    4 hours ago







  • 1





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

    – egreg
    3 hours ago












  • 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
    4 hours ago






  • 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
    4 hours ago







  • 1





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

    – egreg
    3 hours ago







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
4 hours ago





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
4 hours ago




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
4 hours ago






@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
4 hours ago





1




1





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

– egreg
3 hours ago





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

– egreg
3 hours ago










sana ch is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















sana ch is a new contributor. Be nice, and check out our Code of Conduct.












sana ch is a new contributor. Be nice, and check out our Code of Conduct.











sana ch is a new contributor. Be nice, and check out our Code of Conduct.














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

Are there any AGPL-style licences that require source code modifications to be public? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Force derivative works to be publicAre there any GPL like licenses for Apple App Store?Do you violate the GPL if you provide source code that cannot be compiled?GPL - is it distribution to use libraries in an appliance loaned to customers?Distributing App for free which uses GPL'ed codeModifications of server software under GPL, with web/CLI interfaceDoes using an AGPLv3-licensed library prevent me from dual-licensing my own source code?Can I publish only select code under GPLv3 from a private project?Is there published precedent regarding the scope of covered work that uses AGPL software?If MIT licensed code links to GPL licensed code what should be the license of the resulting binary program?If I use a public API endpoint that has its source code licensed under AGPL in my app, do I need to disclose my source?

2013 GY136 Descoberta | Órbita | Referências Menu de navegação«List Of Centaurs and Scattered-Disk Objects»«List of Known Trans-Neptunian Objects»

Button changing it's text & action. Good or terrible? The 2019 Stack Overflow Developer Survey Results Are Inchanging text on user mouseoverShould certain functions be “hard to find” for powerusers to discover?Custom liking function - do I need user login?Using different checkbox style for different checkbox behaviorBest Practices: Save and Exit in Software UIInteraction with remote validated formMore efficient UI to progress the user through a complicated process?Designing a popup notice for a gameShould bulk-editing functions be hidden until a table row is selected, or is there a better solution?Is it bad practice to disable (replace) the context menu?