{vector} is for questions dealing with vectors in TeX.
7
votes
1answer
88 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
103 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
113 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 ...
7
votes
1answer
80 views
A small problem with originating vectors from one point
I have a simple picture - three vectors, originating from the (0, 0) point.
\documentclass[a4paper,12pt,oneside,titlepage,makeidx]{article}
\usepackage[pdftex]{graphicx}
\usepackage{tikz}
...
4
votes
1answer
321 views
MikTeX for MS Windows seems to use Type3 (raster) fonts when instructed to use Type1 (vector)
I use MikTeX as my compiler for Windows. The problem is that it uses Type3 (raster) fonts even though I've stated:
\usepackage[T1]{fontenc}
in the preamble.
As far as I've understood, this will ...
1
vote
1answer
337 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
237 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
38 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
164 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 ...
11
votes
3answers
186 views
In a tikzpicture, how can I “shift” by a multiple of the current x-vector (say)?
Suppose that I have a tikzpicture begun like this:
\begin{tikzpicture}[x = 20mm, y = 10mm]
Now let us suppose that I want to put a subpart of the picture inside a "scope" environment and I want all ...
2
votes
1answer
96 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
1k 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?
...
11
votes
2answers
199 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 ...
12
votes
3answers
304 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 ...
0
votes
2answers
243 views
Including LaTeX vector output in input to Graphviz (dot)
Graphviz (http://www.graphviz.org/) is an exceptionally effective package for drawing graphs of all kinds. Its internal node labelling facility is relatively primitive, but as it allows images to be ...
6
votes
1answer
468 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
184 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)}
...
7
votes
1answer
708 views
How to produce Latex QR-Code (or in general 2d codes) as Vector graphic?
The pst-barcode package is great to produce bar-codes in all flavors.
And it does 1d bar-codes like a charm. Also it is capable of generating 2d bar-codes with a command like this for a qrcode:
...
3
votes
1answer
187 views
How to export vector images from TeXworks
I use TeXworks to write pseudo-codes. How can I export the codes into a vector image such as in .emf? The image should have a size fit for the codes. For example, if the codes only takes half page, ...
1
vote
1answer
315 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 ...
7
votes
1answer
423 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
330 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
votes
2answers
1k 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.
0
votes
0answers
272 views
How to use psfrag command to replace the text in EPS exported from AutoCAD? [closed]
The usage of \psfrag package is easy. But I tried several times, the text in EPS has nothing changed.
I wonder if there is anything I should pay more attention during the export process of AutoCAD ?
4
votes
1answer
218 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 ...
3
votes
2answers
1k 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
417 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
509 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
380 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 ...
12
votes
1answer
1k 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
2answers
723 views
WYSIWYG Editor for drawing trees (and export them as vector images)
Is there a good WYSIWYG solution out there for quickly drawing tree-like structures (e.g. in combination with graphviz)? The nodes may contain arbitrary text and should be positioned automatically. I ...
3
votes
1answer
344 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
117 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 ...
8
votes
3answers
2k views
TikZ Drawing a changing vector field in a grid
So far I succeeded in drawing a simple grid along with it's centres using grid and nodes.
\draw[step=1] (0, 0) grid (4, 3);
\coordinate (a) at (0.4, 0.3);
\coordinate (b) at (3.8, 0.8);
...
6
votes
3answers
716 views
How do I swich between Vector and Raster (bitmap) Fonts?
Q. What do you exactly need?
A. I need to compile twice one and the same document in PDFLaTeX using
vector fonts from CM-Super package
standard raster Computer Modern fonts
Q. Why do you need ...
3
votes
3answers
599 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 ...
11
votes
2answers
3k 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
657 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
2k 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 ...
12
votes
2answers
3k 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 ...
5
votes
3answers
2k views
Replacing fonts in EPS/PDF files
I would like to have a vector graphic with the font I'm using for my captions in my PDF file.
I normally create my graphics in DIA and save them as .eps files. In my .tex file I use following
...
1
vote
3answers
3k views
String/vector concatenation symbol
I'm looking for a math symbol to represent the concatenation of two vectors: if x = (x1, x2) and y = (y1, y2) then x ? y = (x1, x2, y1, y2).
I'm not very much at home in vector calculus, so I don't ...
12
votes
6answers
3k views
A good tool to make electronic schematics and export them vectorially?
I have to make a relative simple diagram and import it to latex vectorially. What would you recommend me to do this?
This question might not be best asked here, but I suspect a lot of you have ...
3
votes
4answers
2k views
vertically aligning vectors and matrices
What are your techniques to make what's below look better? Thanks.
\documentclass{article}
\usepackage{amsmath}
\newcommand{\ud}{\mathop{\mathrm{{}d}}\mathopen{}}
\begin{document}
...
17
votes
3answers
14k views
typesetting column vector
I would like to define a command which typesets a column vector.
For one vector I can have something like:
\left(
\begin{array}{c}
a\\
b\\
\end{array}
\right)
I would like the command to produce ...
4
votes
2answers
231 views
How to specify an arbitrary slope with the vector command?
i want to draw a vector with the vector command, but it seems like that the slope must be specified in integers less than some limit, thus commands like
\put(0,10){\vector(8,7){200}}
will failed to ...
