{vector} is about the typesetting of vector notation, e.g. symbols or row vectors/column vectors. For questions about creating vector graphics in a (La)TeX document, use {diagrams}, or a package specific tag. For questions about including externally created graphics in a document, use {graphics}.

learn more… | top users | synonyms

1
vote
0answers
32 views

Remove off-page vertices in PDF [closed]

I have asked a similar question before, but this time my goal is different: I have a PDF containing blueprints on a single page. There object it depicts is drawn a couple of times: from the side, ...
6
votes
1answer
107 views

Why would esvect produce pixelated arrows?

When using esvect (MiKTeX, pdflatex) I get the following undesirable result: From this: \documentclass{article} \usepackage{esvect} \begin{document} \[\vv{u}\] \end{document} The arrows are ...
9
votes
2answers
66 views

Consistent macro for bold upright vectors in both latin and greek

I’m using pdfLaTeX, and I want all vectors I typeset to be in bold, upright font. Unfortunately, based on whether the symbol is latin, lowercase greek, or uppercase greek, there are different commands ...
4
votes
2answers
39 views

Array within Align*

LaTeX fresh beginner here. Using TexStudio. In the second row of an equation array (using align*), I am trying to multiply a row vector by a column vector, using the array command. Apparently the ...
1
vote
1answer
49 views

Code compilation problem - example on Tikz vectors

I would like to use the following code segment: Code \usetikzlibrary{arrows} \usetikzlibrary{calc} \begin{tikzpicture}[line/.style={>=latex}] \coordinate (V1) at (1, 1.3); \coordinate (V2) ...
6
votes
2answers
357 views

2D and 3D vectors in Tikz

I would like to draw some 2D and 3D vectors in Tikz with certain properties. The following primitive graph sums what I desire: I just need the first quadrant of the Cartesian coordinate system for ...
6
votes
1answer
191 views

“Double headed” vector

I want to have a double headed vector. I tried \overleftright, but the appearance is all but pretty. I would like to get the same kind of symbol, but with \vec appearance. Is it possible?
7
votes
6answers
673 views

derivative with respect to a vector

\[ \frac{\partial f} {\partial \left( \begin{array}{l} x \\ y \\ z \end{array} \right) } \] gives Can you help me to improve this by reducing the size of the denominator?
1
vote
0answers
108 views

Bold bracket row vector/matrix

i want to define a matrix-vector product, which is defined something like this: \left[\begin{array}{cccc} A & B & C & D \end{array}\right] \left[\begin{array}{c} u \\ v \\ w \\ y ...
4
votes
1answer
68 views

In standard, interpret characters as vectors

I need to write many equations with way more matrices and vectors than scalars and I would like to have LaTeX interpret "normal" characters as vectors and matrices. Consequently I need to mark the ...
3
votes
2answers
165 views

Typesetting a Row Vector - Vol 2

If one would just read the question, one could easily understand that this is not a duplicate. Previously in this question, it was asked how to typeset a column vector. Two answers were present, ...
7
votes
2answers
139 views

Non-slanted vector sign for numbers

I recently begun to worry about using \vec on numbers. The arrow is both off-center and slanted, which only works for italics. Is there a simple command to typeset number vectors properly? $\vec{x}$ ...
7
votes
2answers
318 views

Block matrix with vectors

I'm trying to typeset matrices composed of row vectors like this: It uses a bar to represent row vectors. I'd also like vertical bars to represent column vectors. What is the best way to achieve ...
4
votes
1answer
94 views

Import \vec from fouriernc?

I am wondering how to import the \vec font from fouriernc (which is much better designed than that in other fonts families, but I don't like other designs in fouriernc) without affecting the font ...
6
votes
1answer
168 views

Crop off-page vertices in vector graphic PDF

I have a PDF that contains one page, with a vector image on it. I want to use the left half of the image on the backside of the front cover-page of my work, and the right half on the front of the ...
0
votes
0answers
27 views

Undefined control sequence error when using \abs [duplicate]

I have the following line of code that is throwing up an undefined control sequence error: \begin{equation} \vec{N} = \frac{\vec{T'}(t)}{\abs{\vec{T'}(t)}} \end{equation} The problem is with the ...
0
votes
1answer
241 views

The bearing angle between two vectors?

What is the best way of showing the angle between two vectors defined by start and end points? E.g., Vector 1 points from point A to point B. Vector 2 points from point C to point D. I have tried: ...
11
votes
1answer
288 views

Telling Tikz/Tex to produce raster instead of vector in resulting PDF

I am using MikTeX and Tikz package to generate images (playing cards on A4 paper). The result is nice, but slow (too many vector objects, printing is hell slow). Is there a way to directly tell TeX ...
14
votes
2answers
335 views

How to typeset a primed vector

I write a vector with an arrow above the letter using \vec{p} and sometimes the vector needs to be primed using ' (or ^{\prime}, equivalently). However, neither \vec{p}' nor \vec{p'} looks ...
2
votes
1answer
364 views

Vector Formulas Representation in Latex

I want to write different formulas related vectors like subtraction, addition in latex, but don't know how to do this as I am new to Latex. I searched a lot but did not find any useful result.
11
votes
2answers
2k views

Extensible \vec instead of \overrightarrow

Instead of changing to \overrightarrow{}, which uses a usual extensible arrow and puts it above the argument, I would like to get an extensible \vec{} symbol. My intention is to obtain a new command ...
4
votes
1answer
203 views

LaTeX 'Missing $' Cannot find the reason

So i am writing up some maths definitions for my exams and for some reason Texworks says that I have a 'missing $' in my line of work, however I cannot see anything wrong with it. ...
-1
votes
1answer
274 views

Vector Notation in optimization problems [closed]

I am typing optimization problems in latex. Half of the variables are vectors. First I used bold to mention vectors, but it looked ugly. Now I am using $\mathbbmss{p}$ but I am not sure if this looks ...
1
vote
1answer
2k views

How to use harpoon-style arrows over vectors, like this? [duplicate]

How do I typeset harpoon arrows that look like this in LaTeX? I've tried the harpoon package's \overrightharpoon feature, but its arrowhead is too big/prominent... I'm hoping for something that ...
6
votes
2answers
438 views

Vector notation in siunitx

I'm trying to use the siunitx package to format a number which is a vector (using \hat{x} to represent a vector in the x direction). Using \hat{x} leads to complaints about invalid tokens. After ...
3
votes
0answers
44 views

How to improve row vector appearance inside paragraph? [duplicate]

Possible Duplicate: Parentheses size around matrix When using a row vector inside paragraph with double line spacing the output looks ugly (imo) because the brackets are too tall and much ...
4
votes
1answer
287 views

Too long/short pipe (absolute value) in math mode with certain letters

In the question Absolute Value Symbols I read about the best ways to write absolute values. I found the accepted answer pretty good and it works in almost all cases. Sadly, only in almost. For example ...
2
votes
1answer
133 views

esvect with transparency makes part of the arrow darker

When using the esvect package in a transparency context, one can see that the arrow is built by superposing two "blocks": a line and an arrowhead. But as the line overrides the arrow head, the center ...
9
votes
2answers
5k views

How do you write a vector with an underline instead of an arrow?

I don't like the way the vector with an arrow $\vec{x}$ looks. I would prefer to indicate it with a line underline but when I google it nothing comes up to show me how to do it. Does anyone know? ...
12
votes
2answers
280 views

smart vector command

I need to make a smart vector command that meets the following criteria: There are three arguments: an optional first argument specifying a delimiter (comma by default), a mandatory second argument ...
13
votes
3answers
604 views

Writing a macro in LaTeX for getting a vector i,j,k representation by passing parameters

I want to create a newcommand \vecty to create a vector which will take 3 parameters like \vecty{1}{2}{3} and this should display as $\hat{i}+2\hat{j}+3\hat{k}$ and if I give \vecty{0}{3}{-3} then it ...
6
votes
1answer
929 views

Why does \dot over \vec over {\bf E} gives a tilde?

When using AMSmath and trying to put a \dot over a \vec of a bold symbol it works, but subsequent instances have a tilde instead of a vector over the bold symbol, and strangely my partial wrt become ...
4
votes
2answers
245 views

How to build macros for vector-matrix operators?

Can anybody build macros for doing the following vector operations? Or are there already such macros? For example, 1) Example data: \def\a{(5,3,0)} \def\b{(5,1,6)} ...
1
vote
1answer
631 views

Can I make a greek letter extra-bold, e.g. make strokes 1.5 times as thick as \bm does, in math mode? [duplicate]

Possible Duplicate: How can I get bold math symbols? I would like to distinguish between a vector of betas and the individual betas I want to use bold, rather than an error, to indicate ...
8
votes
1answer
823 views

TIKZ drawing vector field from external file

I would like to draw a vector field from a data file. I tried to adapt code from Manual for Package pgfplots but this doesn't work \documentclass{standalone} \usepackage{pgfplots} ...
10
votes
4answers
540 views

Typesetting coordinates

I'm trying to typeset coordinates like: (0 0 0) or (0, 0, 0) I'm not sure if LaTeX offers a package which can make the notation a bit more professional than just manually inserting spaces between ...
1
vote
2answers
4k views

How do I embed vector graphics to LaTeX document

I have a vector grahpics file. Could someone please help me embed a image into my LaTeX document ? I have no clue.
4
votes
1answer
288 views

How do I add a \vector to a table?

I am trying to make a table that shows how an element moves from location in the table to another. I would like to add a vector that starts at the first element and goes to the second element. How do ...
4
votes
2answers
2k views

Replacing vector images in a PDF with raster images [closed]

Is there any easy (scriptable) way to convert a PDF with vector images into a PDF with raster images? In other words, I want to generate a PDF with the exact same text but with each vector image ...
2
votes
1answer
482 views

Diagonal arrows/vectors not working

For some reason I can't get diagonal arrows/vectors to work. Only the arrowhead shows up - the line is missing. For example, in the following, the first vector is fine (horizontal) but the second just ...
13
votes
2answers
904 views

What's the proper way to write a vector with a single character subscript?

I've always(-ish) thought that the proper way to typeset a vector which is labeled by a letter with a single character subscript, like v1, was to set the arrow over just the letter, like \vec{v}_1 (I ...
5
votes
2answers
574 views

Conventions for typesetting complex vectors and vectors with complex components

I was wondering if there were conventions for typesetting vectors and complex numbers. I grew up in France and I'm used to putting an arrow on my vectors ($\vec{v}$) and a bar on my complex numbers ...
16
votes
3answers
2k views

Typesetting a Row Vector

In the question typesetting a column vector, a very nice solution was given for typesetting a column vector with an arbitrary number of rows. I am attempting to modify the code to produce row vectors ...
3
votes
1answer
477 views

Vector images in PDF

I use latexmk to automatically generate my LaTeX files. I want to use vector graphics, exported from Matlab (*.eps) but I know, that this is not possible (for some reason) - just image files like ...
1
vote
0answers
124 views

How to use trigonometric functions in tikz coordinates [duplicate]

Possible Duplicate: Problems with TikZ calculations I am trying to get the following arrows to get lengths defined by a trigonometric function, in this case cos. This was my attempt, but it ...
3
votes
3answers
773 views

Labeling Drawing of Euclidean Vector

I would like to know how I would go about labeling the Euclidean vectors in a diagram. For example, if I use the code provided below to draw a diagram which depicts three vectors, how would I label ...
15
votes
3answers
17k views

vector arrow with superscript

I want to have a vector with a superscript: \vec{o}^t But this gives very bad results: the t is overlapping with the vector arrow. How do I fix this (and why does this give bad results in the first ...
4
votes
2answers
1k views

Alignment accross multiple arrays/vectors

I want to align multiple vectors (horizontal arrays), each on a separate line. Specifically, some values are negative and some positive, and some have a decimal part and some not. I want to align ...
11
votes
4answers
4k views

\vec{x} but with arrow from right to left?

I have two variables: \vec{x} and another one which is somehow dual to the first. Therefore I would like to symbolize the second with something similar but a leftarrow on top of the x. I already tried ...
18
votes
3answers
6k views

Bold italic vectors

I am trying to display vectors as bold and italic. The command \mathbf sets the letters non-italic. I also googled a bit and stumbled upon \mathbf{\em y} or \mathbfit{y}, which all didn't work. I ...