representation of vector and matrix in latexEquation with Large Matrix DimensionDiagonal text in diagonal matrixMaking size of a 4x4 matrix that consist only 2 parameter of 2x2 matrix to be same size as 4x4 matrixTrouble in alignment of matrix in subquestionsVector vs. Raster: Is there any reason to include (larger) vector images into a LaTeX document?Circular Motiontypeset conjugate matrix in LaTEXDrawing a matrix

Could a small private island protect its sovereignty?

AD823 current sense

An employee has low self-confidence, and is performing poorly. How can I help?

How are steel imports supposed to threaten US national security?

Translate "iconoclast" to classical Latin

How to temporarily replace Latin characters with Greek

Translation Golf XLVIII — We're sorry to see you go

Is sleeping on the ground in cold weather better than on an air mattress?

Why can I ping 10.0.0.0/8 addresses from a 192.168.1.0/24 subnet?

Why is matter-antimatter asymmetry surprising, if asymmetry can be generated by a random walk in which particles go into black holes?

Rasterio reprojection doesn't seem to work

Why CMYK & PNG is not possible?

How could "aggressor" pilots fly foreign aircraft without speaking the language?

Tool to get dual problem from any linear optimization problem (.lp)

Can a surprised monster use lair actions if they roll an initiative above 20?

Is there a reason behind the 'Ending' joke?

Should a grammatical article be a part of a web link anchor

A demigod among men

My first random password generator

Is self-defense mutually exclusive of murder?

Water Bottle Rocket Thrust - two calculation methods not matching

What is this plane with its thick cockpit?

Why did Batman design Robin's suit with only the underwear without pants?

What is the meaning of "log" in this sentence?



representation of vector and matrix in latex


Equation with Large Matrix DimensionDiagonal text in diagonal matrixMaking size of a 4x4 matrix that consist only 2 parameter of 2x2 matrix to be same size as 4x4 matrixTrouble in alignment of matrix in subquestionsVector vs. Raster: Is there any reason to include (larger) vector images into a LaTeX document?Circular Motiontypeset conjugate matrix in LaTEXDrawing a matrix






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









3

















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

















3

















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













3












3








3








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



share|improve this question








edited Apr 17 at 20:52









Phelype Oleinik

34.8k7 gold badges61 silver badges117 bronze badges




34.8k7 gold badges61 silver badges117 bronze badges










asked Apr 17 at 20:45









sana chsana ch

183 bronze badges




183 bronze badges










  • 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


















4


















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


















2


















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/4.0/"u003ecc by-sa 4.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









4


















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















4


















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













4














4










4









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



share|improve this answer










answered Apr 17 at 21:47









egregegreg

773k91 gold badges2016 silver badges3377 bronze badges




773k91 gold badges2016 silver badges3377 bronze badges















  • 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













2


















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















2


















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













2














2










2









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



share|improve this answer










answered Apr 17 at 21:03









MicoMico

307k33 gold badges423 silver badges835 bronze badges




307k33 gold badges423 silver badges835 bronze badges










  • 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

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?