Questions tagged [subscripts]

{subscripts} are smaller characters appearing set slightly below the normal line.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

Looking for a faster way to write subscripts

today I wrote something with quite a few indices and I think it's a bit annoying to always have to write the underscore. It really has a big impact on the typing speed. Therefore I was wondering if I ...
4
votes
3answers
104 views

What is the best way to stacked subscripts for a matrix?

I use this code to generate subscript indexes for a matrix but stacked thanks to substack: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} $(v_j^h)_{\...
2
votes
1answer
27 views

Changing vertical spacing of text under an underbrace?

New to all this, still lots of learning. I've been able to modify the vertical spacing between the underbrace and the equation, but when I try to put text underneath the brace it seems to be hugging ...
2
votes
2answers
69 views

Text under an arrow without braces

Problem: Placing text under rightarrow without using solutions such as \underbrace. Minimal Working Example (MWE) \documentclass{article} \begin{document} \noindent \textit{x} = 2 $\Rightarrow$ 2 $\...
2
votes
1answer
61 views

math mode - subscripts in upright font by default

The majority of math subscripts I am writing are not variables, but rather names (it's engineering). It is therefore appropriate to typeset them upright. My code would look much, much cleaner, if the ...
0
votes
0answers
34 views

Typesetting superscripts and subscripts with system fonts in Xelatex

My document is required to be typeset in a font called DINPro. I need to use both subscripts and superscripts within the text. I would like to use \textsubscript and \textsuperscript, howerver \...
4
votes
2answers
82 views

bmatrix: how to align elements' subscripts?

For example with the code below: \begin{bmatrix} \mathbf{P}^-_{k} & \mathbf{C}_k\\ \mathbf{C}_k & \mathbf{S}_k \end{bmatrix} you will get a result looking like this: It is apparent that ...
5
votes
2answers
63 views

It possible to have subscript and super script that does not shrink the font size?

It possible to have subscript and super script that does not shrink the font size? Usually the font size becomes smaller: e.g. Is it possible to have the subscript and superscript in normal font ...
10
votes
2answers
430 views

How do employ ' (“prime”) in math mode at the correct depth?

How does one use the ' symbol ("apostrophe") in math mode without letting it change the depth of subscripts? For example the following tex code: \[ \int_{G^d} \varphi_{\ul,\ui} \varphi_{\ul',\ui'} \...
0
votes
0answers
20 views

subscript next to sum in equation environment [duplicate]

I have a sum with a subscript placed in an equation environment. The subscript is placed down the sum in this way: However I want the subscript to be placed next to the sum, like this other sum: The ...
0
votes
0answers
18 views

Do the eurosym as indexing

Having trouble doing the indexing for example: A_{rör}, where "rör" should be indexed. This is my code. \documentclass[10pt,oneside,swedish]{lips} \bibliographystyle{IEEEtran} \usepackage{todonotes} ...
5
votes
2answers
449 views

Put R under double integral

When I use $\iint_R f(x,y)dA$ the letter $R$ is to the right of the double integral sign. How to make it under the sign? This is a simple question but I couldn't find a related question.
5
votes
2answers
124 views

How to write dimensions below a matrix

I would like to write the dimensions of a matrix below the matrix itself, but I managed only to either: write the dimensions below the matrix with underbrace (see matrix A in my code) write the ...
2
votes
1answer
26 views

Put subscript text below text and align

I am trying to put the subscript text {m=1/3\\n=1.9-2} below the text AF and then align the two lines at the "=" sign. Can you assist me in accomplishing this task? CODE \documentclass{article} \...
1
vote
0answers
174 views

Tensor Notation [duplicate]

Is it possible to represent the following tensor in pdf by TeX.
2
votes
1answer
43 views

What is the correct way to typeset a vector when there is subscript or superscript?

Consider this MWE: \documentclass{article} \begin{document} \[\vec{v}_{12345}^{12345678}\] \[\overrightarrow{P_{12345}P_{12345}^{12345678}}\] \end{document} As you can see, \vec is designed to ...
3
votes
1answer
49 views

Add parentheses if double superscript or double subscript

I've already got an answer for Add parentheses if double superscript. I want to go a step further as proposed below. However lualatex complains of “missing $” when using the e{_}-type argument… \...
2
votes
2answers
136 views

Detecting subscript in command argument

I have defined a command low that adds a subscript to an argument: \newcommand{\low}[1]{{#1}_{l_{\mathcal{A}}}} However, if the argument of low contains subscripts itsself (for example in the case ...
1
vote
1answer
36 views

Linebreaks in formated texts

I need to format my text in bold therefore I have several options for the same result. The main result would look like \textbf{text in bold} which works fine. But as soon as line breaks start to ...
2
votes
1answer
30 views

How to put hat on a subscript without pushing it downward?

I try to put hat on the subscript in >_{A_j}, i.e., >_{\widehat{A}_j}, but this pushes down A with the subsubscript j further downward fouling line spacing. How do I put hat on subscript while ...
0
votes
0answers
22 views

Horizontal alignment when using the tensor package

When using the \tensor command, the indicies are lowered a bit to much for my taste. Is it possible to align them with the usual position of the indicies. That is, \tensor{T}{_\mu} should look like T_\...
0
votes
1answer
61 views

superscripts on customized unit in siunitx

I want to add subscripts to some units and so far the solution I found is to define my own unit, for instance: \DeclareSIUnit{\Lmedia}{\text{$\textup{L}_{\textup{media}}$}} However, when I use this ...
4
votes
1answer
52 views

Create a line break in a subscript-position term

My code is \documentclass{article} \usepackage{amssymb,bm} \begin{equation} \nabla_{\theta} \bm{J}(\theta) = \mathbb{E}_{s \sim T^{\bm{\pi}}, a \sim \bm{\pi}_{\theta}} [\nabla_{\theta} \log \bm{\...
1
vote
1answer
28 views

Problem with newcommand subscrip doubleprime

Some time ago I wrote a command that I used many times, today I realize that it could be written correctly. in particular, the command is selected as "not in a mathematical environment". I looked for ...
1
vote
1answer
38 views

Writing limits with additional conditions

I gave a quick search, but didn't find something similarly, atleast for limits. I am trying to write something like: $\lim_{\binom{x\to 0}{x>0}} f(x)$ My intention is to put the limit with the ...
1
vote
2answers
94 views

Underscript, subscript and superscript add the same time possibly via \mathoperator* without trailing space

I have a symbol, which I want to give a underscipt, subscript and superscript. I tried: \DeclareMathOperator*{\wmat}{w} \wmat_2_i^j But now I get a space between my symbol and the sub and ...
1
vote
2answers
46 views

Subscript destroys format

this is how things looks like without subscript: in the other hand, when I try to put a subscript for MgCl_2, then the format is destroyed. I do that like this: \item Rabbit Erythrocytes (Rockland)...
0
votes
1answer
72 views

How to write this Subscript for Lagrangian Minimization Equation in Beamer

So I want an \alpha below the word 'minimise' as in this paper in equation 5 and 6.
1
vote
0answers
61 views

Double subscript [duplicate]

I have some macros whose expansion generates something like: \documentclass{amsart} \begin{document} \({T_2}_k\) \end{document} This compiles fine; technically there's a double subscript, but the ...
1
vote
2answers
330 views

Gradient notation spacing

I'd like to notate 'gradient of L with respect to a_f' which I can do with \nabla_{\mathbf{a}_f} \mathcal{L} and it looks like this: Look at all that space between the nabla and the L! Is there a way ...
0
votes
2answers
75 views

Change position of subscript locally

When I write \eta_{PV} in an equation I get a very unpleasent result: I would like to have the subscript lower than the greek letter. I know that can be achieved by \fontdimen16\textfont2=5pt \...
6
votes
4answers
402 views

How to typeset chemical formulas in roman? [duplicate]

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
1
vote
2answers
74 views

Numbers immediately after operator subscripted in mhchem environment

The following is the output of this MWE: \documentclass[12pt]{article} \usepackage[version=4]{mhchem} \usepackage{siunitx} \begin{document} \ce{a = 2 \times 3}\\ \ce{a = 2 \div 3}\\ \ce{a = 2 \times ...
5
votes
4answers
492 views

Non-italic (roman) subscripts in math mode

Is there a way to set indices (subscripts) to non-italic globally? I'm aware of the case by case X_{\text{text goes here}} But I'm having to change that across a whole document is becoming a pain.
3
votes
1answer
48 views

horizontal shift of sub- and superscript for \chi

I get a small horizontal displacement of sub- and superscript when using the letter \chi. It does not seem to appear for other letters. Does anybody know how to fix this? MWE: \documentclass{article}...
0
votes
1answer
58 views

How do specify double subscript [duplicate]

For example I need to specify a term x subscript a subscript b. For a x subscript a, I can write it as x_{a}. However, x_{a}_{b} is not supported. How do I do that?
3
votes
0answers
94 views

Typesetting a symbol with both a subscript and an exponent [closed]

Suppose I take the variable $X_a$ and square it. To be clear, the _a is part of the variable's name, whereas the ^2 will denote the mathematical operation of squaring. I could typeset this as $X_a^2$...
1
vote
1answer
61 views

Place subscript below math operator and its following symbols

I'm dealing with equations from statistics that include expectations over quite long expressions. To display those without too many line breaks, I'd like to place the subscript below the operator and ...
10
votes
3answers
623 views

A macro that draws a half-disk for use in mathmode

I'd like to define macros to be able to use each of the following six shapes as subscripts in math mode. I'd try to draw them using tikz, but I don't know if I could use those as subscripts.
0
votes
2answers
88 views

left and right subscript and arrow beneath variable

Alright, here goes, first I know that my title is somewhat vague, but an image is worth a thousand words, here's what I'm trying to achieve : Now this is the code that I came up with : \...
0
votes
1answer
23 views

Error Message when trying to use two \betas in subscript

I am trying to use $\simga_{\beta_1 \beta_2}$ and $\simga_{\beta_2 \beta_1}$ in my text. However, I always get the following error message, which I do not understand ! Undefined control sequence. ...
0
votes
1answer
484 views

LaTeX multi-character subscript [duplicate]

I am including a formula in a LaTeX document that includes subscript that consists of more than one character: N sub t0 and N sub tmax I managed to get LaTeX to do this using this syntax: \[ \vec{...
2
votes
1answer
86 views

Double subscript error

\begin{equation} f_s = \frac{1}{T} \geq 2 f_m_a_x \end{equation} I am getting double subscript error. Although I am getting correct format of equation in pdf but in code it is giving this error. can ...
6
votes
1answer
45 views

Scaling symbol when used in subscript

I'm using this symbol (defined by Steven B. Segletes here) to denote a special type of function definition: \newcommand*\diamondarrow{% \stackengine{0pt}{\hspace{.83ex}$\rightarrow$}{$\diamond$}{O}{...
3
votes
2answers
218 views

How do I make a Young tableau whose entries have subscripts?

I am using the youngtab package I tried something like: \young{{a_1}{a_2}{a_3},{b_1}} but I cannot get it to work. I tried passing in \textrm but those are not recognized either. The more ...
2
votes
1answer
243 views

Align subscript and superscript in math mode

I'm having issues with aligning superscript with subscript in math mode. My MWE is: % arara: xelatex \documentclass[preview,8pt,varwidth=true]{standalone} \usepackage{amsmath} \usepackage{mathspec} \...
2
votes
1answer
38 views

Lowering subscript right of vertical bar

I would like the output of the standard code $x \left.\right|_{x\gets 5}$ namely but with the ability to lower the subscript and extend the vertical bar downwards. There are several relevant pages ...
2
votes
2answers
66 views

Math subscript inside ExplSyntax switches

I'd tried to rewrite @egreg answer given in this Reusing of DeclarePairedDelimiter in a foreach manner thread to solve another 'code reuse' issue, but I've got some problem with math subscript between ...
1
vote
2answers
100 views

How to get the numeric subscript and superscript to scale correctly using specific font

In the code below, the numeric superscript and subscript do not scale correctly or looks "not nice" when the font is scaled down. Is there a way to have the superscript and subscript scale nicely or ...
2
votes
1answer
116 views

Lower arrow within subscript

I'm using redesigned arrows (for maps, limits, etc.) that look better to me with Lucida Bright fonts than do the defaults. For the \tendsto command, for limits, it seems that I have to explicitly use ...