Skip to main content

Questions tagged [tensor]

{tensor} is for questions addressing issues related with tensors.

Filter by
Sorted by
Tagged with
4 votes
1 answer
102 views

The tensor package doesn't space indices well with some characters

I am using the tensor package to write tensors in my documents and I found that the indices aren't spaced well with some characters such as T or \mathcal{T}: \documentclass{article} % \usepackage[...
Shai Avr's user avatar
  • 983
0 votes
1 answer
64 views

How to make a tensor diagram out of quiver code?

I need to make a string/tensor diagram (something like this) out of this diagram made with https://q.uiver.app/: Here is the corresponding latex code: \documentclass{article} \usepackage{quiver} ...
rick's user avatar
  • 33
0 votes
2 answers
79 views

Remove all instances of {} interior to argument to a command

Is it possible to remove all instances of {} which are passed as parts of an argument to a command? I would like to use the Tensor package with LyX. The problem is that LyX always puts subscripts ...
Mike Pugh's user avatar
  • 399
3 votes
1 answer
178 views

Drawing teardrop to use as shape within TikZ-network

I am looking to draw a 'teardrop' or 'droplet' shape to use as a shape within TikZ-network. More specifically, I would like to recreate the following tensor network: and the teardrop with the "+&...
Johannes Nauta's user avatar
5 votes
3 answers
205 views

Typesetting bilinear operators in second quantisation

When typesetting certain operators in quantum many-body theory, I often find that they look aesthetically a bit questionable. Having a dagger on a symbol seems to shove the index down. The most ...
sondre's user avatar
  • 153
3 votes
3 answers
314 views

Is it possible to use multiple sub- or superscript syntax in math mode?

I often have to write expressions like this in math mode: L_t^pL_x^q For some reason, I am not always satisfied with typing this and I would like to define some new command with the same output. I ...
Lorenzo Pompili's user avatar
2 votes
1 answer
96 views

Why does \tensor produce errors when LaTeX Info warns about number of math fonts?

In actuarial documents we use much mathematically oriented notation, for which we need many math fonts. In What is the meaning of "No math alphabet change to frozen version normal on input line ...
Markos Mitsos's user avatar
1 vote
0 answers
66 views

How to surpress flood of LateX Infos "No math alphabet change to frozen version normal", especially when using tensor package? [duplicate]

In actuarial documents we use much mathematically oriented notation, for which we need many math fonts. In What is the meaning of "No math alphabet change to frozen version normal on input line ...
Markos Mitsos's user avatar
0 votes
1 answer
234 views

How to write a tensor with a bar or a tilde over it?

I'm trying to write a multi-index tensor with a bar or a tilde over it, usually I use: \usepackage{tensind} \tensordelimiter{?} \tensorformat{} but when i write, for example: $?\Tilde{R}...
Vittorio 's user avatar
5 votes
3 answers
365 views

Denoting higher-order tensors with a rectangle under a letter

I denote higher-order tensors using a capital letter and a rectangle under it. It basically looks like: And well, after one hour on the Internet, I simply cannot find how to do it in LaTeX. Can ...
Kal8578's user avatar
  • 175
3 votes
2 answers
831 views

How to generate representation of a tensor in an equation using nested matrices

In general a tensor is defined as an object with N superscripts and M subscripts. Each superscript and subscript can take a range of values 1,2,...,n. For example, a tensor M^[ij]_[klm] can have i=1,2,...
Ted Black's user avatar
  • 537
11 votes
3 answers
2k views

Partial tensor product sign

There is an asymmetric tensor-like binary product operation on rings, and the notation for it is informed by both the notation for semi-direct product \rtimes and that for tensor product \otimes. It ...
jackson's user avatar
  • 337
1 vote
1 answer
265 views

Tensor package with the calligraphic characters

I have seen the documentation of tensor package. It is true that are necessary only the indices....but is it possible to use with this package the calligraphic characters like this MWE? \documentclass[...
Sebastiano's user avatar
  • 57.8k
2 votes
0 answers
142 views

Adjusting horizontal spacings around product signs, in math mode

This issue may be inexistent to the eyes of most people, but it currently scroches my aesthetical eyes! I would like to adjust the spacings around the usual product signs (scalar product, vectorial ...
Cham's user avatar
  • 2,358
0 votes
0 answers
80 views

Mixed tensor macro for TeXstudio

As the title says, I'm looking for a mixed tensor macro for TeXstudio. For example, if I want to get M \indices{^a_b^{cd}_e} (using the tensor package), I would like to type M.T{uduud}{a,b,c,d,e}, the ...
AlphaBaal's user avatar
  • 131
8 votes
3 answers
2k views

Derived tensor product

I tried to write derived tensor products using semantex (copied from p. 27 in the manual). \documentclass{article} \usepackage{amsmath,semantex} \NewSymbolClass\MyBinaryOperator[ define keys={ ...
Cinque's user avatar
  • 15
2 votes
1 answer
302 views

How can I adjust the baseline alignment of the tensor package?

I have a few issues with the alignment of the baselines when using the tensor package. Here is a MWE: \documentclass[12pt, a4paper]{book} \usepackage{tensor} \begin{document} \begin{equation} \...
Pxx's user avatar
  • 179
5 votes
2 answers
467 views

Why is underaccent symbol not centered?

Here's a MWE showing my issue: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{...
Cham's user avatar
  • 2,358
0 votes
2 answers
697 views

tensor accents and sub-super-scripts

Tensor notation with subscript i and superscript j to the right of the i ${A_i}^j$ % correct ${\tilde A_i}^j$ % j is above i ${{\tilde A}_i}^j$ % ditto My question is not ...
edoverman's user avatar
3 votes
1 answer
757 views

Using Tensor double dots in Latex, with tensor package

I am currently struggling to find a way to write : I know of \cdots and \cdot but the output is one dot and 3 dots but not two. What is a possible solution to my problem? Thanks in advance.
sulphur's user avatar
  • 209
2 votes
2 answers
244 views

How to define a unique height of subscript and superscript indices?

Is there any package that fixes the height of tensor indices? For example, I'd like to horizontally align indices in the following expression representing antisymmetrization of a and b, \...
Bilbo's user avatar
  • 23
1 vote
0 answers
3k views

Tensor Notation [duplicate]

Is it possible to represent the following tensor in pdf by TeX.
Camford Oxbridge's user avatar
3 votes
3 answers
2k views

How to control the vertical space below a double-underline?

I use an edited version of the \\uline command from the ulem package to get a nice compact double underline to denote tensor variables. The used code comes from this question. My problem is that the ...
Robert's user avatar
  • 163
4 votes
2 answers
594 views

Symmetrization and antisymmetrization of tensor products

How do I achieve something like or in LaTeX? The curved lines indicate symmetrization with respect to the indices they join, and the straight lines indicate antisymmetrization.
leastaction's user avatar
7 votes
2 answers
921 views

pre-subscript alignment with tensor package

I am trying to typeset the hypergeometric function 2F3 with subscript 2 and 3. Specifically, I want the correct alignment of the pre-subscript 2, like in this example: \documentclass{article} \...
Marco's user avatar
  • 500
3 votes
2 answers
2k views

How to type 2-nd order tensor in latex?

I am a new user of latex. I have been learning to type in some math equations in latex. Does anybody know how to type 2-nd order tensor in latex with double arrows above the letter? And what package ...
song will's user avatar
1 vote
1 answer
1k views

How to change the highness of index in tensor package?

I'm having a problem with the index position in the \tensor command. When I write, for example, \tensor{A}{_\ mu}, I get a tensor with the subscript "mu" in a very low position. Is there any way I can ...
Marcos Souza's user avatar
5 votes
1 answer
526 views

Error: The newtxmath and tensor packages with subscriptcorrection

Compiling the following Minimal Broken Example \documentclass{article} \usepackage{newtxtext} \usepackage[subscriptcorrection]{newtxmath} %\usepackage[lite,subscriptcorrection]{mtpro2} \usepackage{...
Ruixi Zhang's user avatar
  • 9,673
2 votes
0 answers
207 views

Non-intrusive super/subscripts using slanted Greek with tensor?

I was quite happy with how the tensor package is able to typeset beautiful tensor expressions … until I decided to use the ISO convention for my Christoffel symbols. \documentclass{...
Ruixi Zhang's user avatar
  • 9,673
2 votes
1 answer
3k views

Double-bar notation for second-order tensors4

I found it interesting to represent a tensor with the notation normally used by my professor. Looking for respect to the mathematical symbol I found this code from this post, very interesting. I ...
Antonio's user avatar
  • 563
1 vote
1 answer
136 views

Tensor and \Bigg \rangle

consider the following code \documentclass{article} \usepackage{tensor} \begin{document} $$ \Bigg|0\Bigg\rangle_{\!\!\!\!\mathrm{g}} $$ $$ \tensor[_{\!\!\!\!\mathrm{g}}]{\Bigg\langle}{}0\Bigg| $$ \...
MaPo's user avatar
  • 1,173
1 vote
1 answer
564 views

tensind spacing

Is there anyway to switch on and off the index space formatting implemented in the tensind package? I would like to be able to switch it on and off on a whole document; for example, if I had a tensor ...
MKF's user avatar
  • 113
3 votes
1 answer
432 views

Inverse tensor with indices

I'm trying to write an inverse tensor with mixed indices, meaning I want both a {-1} and a {\lambda} in the superscript - but ideally not at the same level/size, since they are different notations. ...
wheremydoublesubscripts's user avatar
2 votes
0 answers
1k views

tensor math graphic [closed]

Is there any good packages for creating a graphic similar to this: in order to display how tensor math is working to a less mathematically skilled audience? It would be nice to have the tensor math ...
chase's user avatar
  • 225
2 votes
2 answers
653 views

How to center AVMs with subscripts in trees?

I would like to make trees with daughters that are AVMs with subscripts. The subscripts cause the AVMs to slide off to one side. How can I prevent this? Here is my code: \documentclass{article} \...
J. Bratt's user avatar
5 votes
1 answer
4k views

Creating a (tensor) network using TikZ [duplicate]

I am trying to draw a very simple network diagram. My code: \begin{tikzpicture} \node[draw, shape=circle] (v0) at (0,0) {$v_0$}; \node[draw, shape=circle] (v1) at (1,0) {$v_1$}; \...
Grim Reaper's user avatar
2 votes
3 answers
7k views

how to set vector and tensor symbols with horizontal bars above

(Newbie) hi, how do I produce vector (text symbol(s)) with horizontal bar over it? Better, if possible, would be the \rightharpoonup mark above the letter (or word) that is the vector in question.(...
jss's user avatar
  • 51
4 votes
1 answer
5k views

A letter or symbol above a tensor

I would like to put a letter, e.g. \lambda, above a tensor, e.g. Riemann tensor, by which I mean a tensor that is function of \lambda. I use \tensor and \overset command to construct this object. Here ...
Astrolabe's user avatar
  • 265
8 votes
3 answers
8k views

double tilde symbol under letter

Currently, I'm representing second and fourth order tensor with this (taken from someone, and i don't really get how it works): % tensor 2: \newcommand{\tend}[1]{\oalign{\mbox{\boldmath$#1$}\...
Napseis's user avatar
  • 530
5 votes
1 answer
906 views

Pre subscript versus tensor

What is the best way to typeset \sqcup with two subscripts left/right. For sure, 1st and 2nd are wrong. But they help us to see the baseline for the indexes. The 3rd and 4th look equal except by the ...
Sigur's user avatar
  • 37.9k
0 votes
0 answers
79 views

How to get a tensor product symbol [duplicate]

Im trying to insert a tensor product symbol (a circle with a cross through it) into my document. Anyone know how i might achieve this? Thanks
user3771983's user avatar
6 votes
2 answers
2k views

Is it wise to use \tensor for bold letters?

I want to use bold math-letters e.g. \mathbf{p_1}^2. The problem with \mathbf{p_1}^2 is that the 1 and 2 sub/superscripts are not aligned under each other. I can fix this by writing \mathbf{p_1^2} ...
Physics_maths's user avatar
8 votes
2 answers
4k views

How to get a tensor symbol like this?

As you can see, it looks like the superposition of two \rightharpoonup. I don't know how to make it.
Boyoung's user avatar
  • 81
3 votes
1 answer
300 views

How to reproduce typesetting of coupling constant in chemmacros

I am using the fonts libertine with newtxmath and beramono together with the chammacros package to typeset experimental data. This works very well and I get the desired results. This package manages ...
Vlad030691's user avatar
5 votes
3 answers
16k views

How to type tensor multiplication with vertical dots?

I want to type this equation in LaTeX. How do I type those vertical dots symbol?
LWZ's user avatar
  • 3,012
6 votes
2 answers
986 views

Double subscript error using tensor package

I have been attempting to typeset tensors using the tensor package and have come across an error when attempting to create subscripts on the subscripts of my tensors. An example of this would be the ...
James Fielder's user avatar