Questions tagged [subscript]

A subscript is a number, figure, symbol, or indicator that is smaller than the normal line of type and is set slightly below the baseline.

Subscripts are common in mathematical notation (generally indicating position, such as the index of a variable in a vector) and chemistry formulas (e.g. H2O).

Subscript and superscript (Wikipedia)

625 questions
0
votes
1 answer

How to add a subscript on a xlab statement?

I would like to add the following xlab and ylab to my graph but need to have the 10 after the Log as subscript. See my R statement below. How can I modify it to accomplish that? I know you can use the expression command and also add the number in []…
0
votes
1 answer

Subscript out of Range and Sheet gets protected

Private Sub cmdsub_Click() UnProtect 'Copy input values to sheet. Dim lrow As Long Dim ws As Worksheet Dim Lvalue As Date Lvalue = Now If Me.cbox4.Value = "pending" Then Set ws = ThisWorkbook.Sheets("Pending") Else Set ws =…
user2842252
  • 31
  • 1
  • 6
0
votes
1 answer

android subscript with a custom adapter and listview

I was wondering if it is possible to add subscript values to listview using a custom adapter. My adapter is expecting two List and I'm using this method to populate my ListView. I looked around and a lot of people are recommending the…
snapplex
  • 851
  • 3
  • 13
  • 27
0
votes
1 answer

Converting subsripts and indices

I'm having a hard time figuring out transformation between spaces using ind2sub and sub2ind. Could someone help? The problem is as follows: I have a mask Y (or region-of-interest) in which voxel values are either 1 or zero: Y=72x72x33 double. I then…
A.Rainer
  • 719
  • 5
  • 16
0
votes
1 answer

subscript out of range excel vba

So i have a macro that does very basic things and it works like a charm. However, when anyone else tries opening the sheet and running the macro from their PC, they get the error "Subscript out of range" Please help, it is driving me crazy (:@) Sub…
Nadz
  • 103
  • 6
  • 18
0
votes
1 answer

Logical Subscript too long

I realized this question has been asked before, but having looked at all the answers, they are for the specific questions, and I could not find an answer for my unique situation. I entered the following into R, and it worked for the first example,…
0
votes
2 answers

How to edit docx document and enter equations using Python?

I would like to edit .docx documents using Python and more importantly I need it to be able to allow me to write subscripts like 2x in Python. I have tried the docx module but I can't seem to find out how to write subscripts.
acorn19
  • 15
  • 7
0
votes
2 answers

How to set subscript and superscript text in string (such as math exponents)

I'm working on an Android app, and I need to be able to include the exponents/powers into a string (Java). I've done some searching and it seems that my scenario is making it difficult. I've looked into options such as ALT+ codes and Unicode. I'm…
lilgodwin
  • 1,098
  • 3
  • 13
  • 26
0
votes
1 answer

Vector Subscript out of range error - How can i fix this SPECIFIC error?

Overview I've been working on an OpenGL 3.3 rendering engine, the good news is that if i hard code values for objects they will render perfectly. The bad news is that when trying to load a .obj file i run into serious issues. I use GLFW, GLM, and…
0
votes
1 answer

subscript characters in String

In my WPF C# project I'm using docX library to create word documents. With this .NET library I could create String and add inside a docx file as Paragraph. My docx needs to have some subscript characters, for example: Fb (b as subscript) I know…
FrancescoDS
  • 1,077
  • 4
  • 21
  • 55
0
votes
0 answers

Is it possible to access unmanaged and managed array elements indiscriminately?

An example will make this clear: unsafe void ProcessUnmanagedBuffer( float * buffer, int length ) { int i; for( i = 0; i < length; i++ ) { buffer[ i ] = ...; } } void ProcessManagedBuffer( float[] buffer, int length ) { …
Gregzo
  • 1,194
  • 7
  • 18
0
votes
2 answers

DevExpress write Sub and Superstings to Label

My problem seems simple, yet I can not find any soltion to it. I need to write mathematical desciptions to Labels in my WindowsForms application. So some labels need Texts written to them like: ValueIndex or ValueIndex I find no solution for this.…
Lorgarn
  • 136
  • 1
  • 15
0
votes
2 answers

Adding 1 to the position of an array subscript

Hello stack overflow people so I have a problem. I am writing a Maze Traversal in C++ for a school project and I've run into a wall. I have an algorithm that checks the different positions that I can move in the maze. My problem is that maze doesn't…
0
votes
1 answer

VBA Excel : Odd subscript out of range error (9)

I'm encountering an odd VBA subscript out of range error in this simple sub : Sub writeTypes(ByVal rowNb As Long, ByVal colNb, ws As Worksheet) On Error GoTo ErrorHandler_ObjMethod Const METHOD_NAME = "writeTypes (CCase)" With ws …
Jokas
  • 23
  • 7
0
votes
1 answer

Add Data Filter within an Array

I have a report that I'm trying to modify to remove a Record Selection so the report will display all events in the date range, but apply the same filter within an array so it only calculates only events that have the filter that I'm removing in the…
MISNole
  • 992
  • 1
  • 22
  • 48