Articles of equations

How to control the alignment of the brace in a dcases environment

The following code \begin{equation} \begin{dcases} u = \frac{\sqrt{2}}{2}(i+j)\\ v = k \end{dcases} \end{equation} results in the following display that I find particularly disgraceful. Is there a way to lower the brace to make it look more like this ?

Numbering equations in tabular environment

I wish to number equations in a table, like numbering them in \begin{equation}. … \end{equation} Since all the equations are written as “inline” equations (for example, $a = b+c$) in tabular environment, I have no idea how to number them. Can you help me to find out a way?

Add Overbrace to describe a column of matrix

I want to add some over-braces to a matrix to get the following output: However, this this what I managed to get: I don’t know how to get the neuron 1 and neuron 2 headings…I was thinking of overbraces but not sure how to use it in this case. The stuff on the right of […]

Scaling down all the equations using one single command?

I am about to submit an article with lots of equations in there (defined in both equation and align environments and I also have lots of inline math of course). There is a maximum page limit for the article and mine is quite above it. So, what I need to do is to scaling down […]

numbering parentequation of subequations

I would like to change the numbering of the parent equation of the subequations. \begin{subequations} \label{eq:Parent} \begin{align} a& \label{eq:1}\\ b& \label{eq:2} \end{align} \end{subequations} I cannot use \tag before \begin{align} since it is not in a math environment.

Modifying \everydisplay causes the align* environment to stop working

I want all displayed mathematics in my document to be typeset in the style of inline mathematics. In his answer to this question, Matthew Leingang explains how to do the opposite (typeset all inline mathematics in the style of displayed mathematics) by carefully modifying the \everymath token list. Reasoning by analogy I figured that the […]

Positioning equations with tikz diagram

I’m trying to annotate an diagram of a neural network with an equation that describes the activity of each node. I can’t get the equation to the upper right, where I want it to be. I’ve tried using the scope environment in TikZ, \vspace and \hspace outside of tikz and even multicols. I feel there […]

Change the size of only a part/subset of a single equation

For example, I’d like to do: $Q^{r<1}$ but with the r<1 having a much smaller font size than the Q. Of course r<1 will naturally have a smaller size since it is a superscript, but I want to make it even smaller, without changing the size of Q. I prefer a solution in LyX, but […]

Is there a way to show Reaction instead of Equation when referring to an equation?

I’m writing a thesis in which I have both equations and chemical reactions. I was wondering if it can be changed something in equations referencing, so that when you refer to one of them that is a reaction there is written Reaction 1.1 instead of Equation 1.1. Is that possible, or do I have to […]

Macro with environmental dependent output

I’m trying to develop a macro that gives two different outputs depending on whether it is in math mode (i.e. $ $ or \begin{equation} … \end{equation}) or anywhere else. The reason is that I use a lot of physical variables and molecule names such as e.g. $^{12}$CO(1-0) and use macros to be able to have […]