A package to provide various ways to highlight displayed equations and features for working with delimiters.

learn more… | top users | synonyms

2
votes
1answer
50 views

Line numbering for boxed multi-line equations using empheq package leaves extra blankspace

I'm using the empheq package to put boxes around equations that span multiple lines (using align). There are 6 lines to the equation, and the whole box should receive one number (1), for which I use ...
1
vote
0answers
30 views

Cross-referencing inside empheq environment

Today I encountered a problem getting a cross-reference of one of my equation inside the empheq package. I use the gather environment inside my empheq equation and would like to label both equation ...
1
vote
1answer
37 views

Globally change the size of \frac in align environment

I use the empheq package to display my equations, but I would like to change the size of fractions displayed inside the align or align* environment, from display style to text style. I know I can ...
1
vote
0answers
66 views

math equation tags below empheq box?

I have the following macro: \newcommand{\egan}[1] {\begin{empheq}[box=\mybox]{gather} #1 \end{empheq} } Which make a box around an gather environment. If the box is big (fills the whole \textwidth)...
2
votes
1answer
88 views

Transparency inside empheq (color box)

I'm currently writing a formulary for dynamics and searched for a way to box important equations and have them coloured. The answer to my problem was the empheq package - for now. Now I'm facing the ...
6
votes
4answers
262 views

Equations and Equation Numbers within a Box

I use the code below to make a box around equations. It puts the equations numbers outside the box, however I would like to have the equation numbers within the box. How can I alter my code to do ...
0
votes
1answer
77 views

Add notes in the equation under brace [duplicate]

How to write the equation shown in the image
3
votes
1answer
123 views

Add a fitted box to a multiline equation

I am trying to draw a fitted box around some equations. However, I was not able to control the width of the box. How can I achieve this? \documentclass{beamer} \usepackage{amssymb,amsmath,empheq} \...
4
votes
1answer
109 views

Is it possible to include text within empheq

Right now, I have \begin{gather} Eq1 \\ Eq2 \\ Eq3 \end{gather} where variables ... are defined as \begin{gather} Eq4 \\ Eq5 \end{gather} I would like to put a box around all of this including ...
3
votes
1answer
196 views

LaTeX locally change equation numbering in empheq

The following short sample generates a list of numbered chemical reactions. I would like to change the numbering from the default (1) and (2) to (R1) and (R2). \documentclass[]{article} \usepackage{...
0
votes
0answers
21 views

Text is too closely spaced preceding empheq environment [duplicate]

This is a follow-up question regarding a previous question: Previous Question In the dukedissertation document class the solution given in the link provided above leads to improper line spacing ...
1
vote
3answers
736 views

Aligned equations in a colored box

I would like to put a set of aligned equations into a colored box. After a quick search on tex.stackexchange, I have found the following solution to put (apparently) one equation in a color box : >...
2
votes
1answer
158 views

\empheqlbrace autoscaling problem with dukedissertation document class

I am using the empheq package to group equations organized using the align command. If used in an article document class the left brace automatically scales wonderfully to group equations organized ...
2
votes
1answer
154 views

Digit zero with a dot inside also in text mode

\documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{empheq} \makeatletter \newcommand*{\pmzerodot}{% \nfss@text{% \sbox0{$\...
4
votes
3answers
170 views

Side brace in dfrac

So I have this formula \begin{empheq}[right=\empheqrbrace]{align*} \dfrac{\dfrac{\dfrac{\dfrac{ \frac{1}{a} % <-- start with this a }{a}}{a}}{\vdots}}{a} that's rendered in this formula: ...
3
votes
1answer
138 views

How to put equation side by side equations?

My MWE, \documentclass[a4paper,11pt]{article} \usepackage{empheq} \usepackage[svgnames]{xcolor} \definecolor{backcolor}{RGB}{255,255,170} \newcommand*\mybox[1]{% \colorbox{backcolor}{\hspace{1em}#1\...
2
votes
1answer
101 views

How to put a text right-sided in centered an equation?

My MWE, \documentclass[a4paper,11pt]{article} \usepackage{empheq} \usepackage[svgnames]{xcolor} \definecolor{backcolor}{RGB}{255,255,170} \newcommand*\mybox[1]{% \colorbox{backcolor}{\hspace{1em}#1\...
5
votes
4answers
189 views

Problem with horizontal alignment in align environment

My MWE, \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{empheq} \begin{document} \begin{align} \left(\frac{4}{2 \cdot 2 \...
4
votes
1answer
123 views

Add very nice lambda in empheq package or package-less

My MWE \documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{empheq} %\usepackage{mathptmx} \begin{document} \begin{empheq}{...
3
votes
2answers
187 views

Space after comma in empheq package

My MWE, \documentclass[a4paper,11pt]{book} \usepackage{empheq} \begin{document} 0,5 \begin{empheq}{align} 0,5 \end{empheq} \end{document} Good (normal) is comma in first 0,5 . But not good in {...
2
votes
1answer
130 views

Error when using empheq in a newcommand

I have just started working with the package empheq as a way to create a box around equations. I would like to create a pair of short new commands for entering and exiting the empheq environment, but ...
1
vote
0answers
21 views

Beamer, booktabs, empheq, pgfplots incompatability [duplicate]

The following minimal example \documentclass{beamer} \usepackage{booktabs} \usepackage{empheq} \usepackage{pgfplots} \begin{document} \begin{frame} Test \end{frame} \end{document} gives the error ...
8
votes
1answer
232 views

Spacing behavior changes with empheq

If I replace an align* environment with the empheq environment (of align* flavor) the spacing behavior changes: With empheq the spacing depends on the amount of text in the last line of the previous ...
3
votes
2answers
146 views

How to put multiple empheq environments side-by-side?

How do I put multiple empheq environments side-by-side? Like this: \documentclass{article} \usepackage{empheq} \begin{document} \begin{empheq}[left=\empheqlbrace]{align*} &\frac{1}{n} > \...
2
votes
3answers
147 views

Imbricate Empheq

I am trying to imbricate empheq environments. The result (using array) I would like to obtain is : I do not like array environment because it does not manage the spaces well, as you may see. I ...
3
votes
0answers
206 views

hyperref + subequations warnings

This is a follow up question to How to hide known warnings? Recently I decide to stop ignoring LaTeX warnings :), and start trying to discover what's behind them and how to avoid them in future (or ...
8
votes
3answers
368 views

How to make fbox fit automatically around wide equations using empheq package

Is there a trick to make fbox used with empheq fit around the equations, even if they are too wide, or does not have to manually enter numerical values for sizes in this case? One set of my equations ...
2
votes
0answers
97 views

Error compiling empheq with texlive 2013 tex4ht. Missing } inserted

MWE \documentclass{article} \usepackage{empheq} \begin{document} \begin{empheq}[box=\fbox]{align*} \lambda_{dutch} & =-0.40293\pm1.9803i\\ \lambda_{spiral} & =-0.069088\\ \lambda_{rolling}...
6
votes
3answers
258 views

How do I make \widefbox bigger in the vertical direction?

I want to enclose some equations in a widebox, but I need to make the box bigger the the y-direction/vertical direction. How is this done? A sample code is given below (taken from the empheq manual). ...
5
votes
1answer
708 views

System of equation, left aligned and two lines numbered

I really don't find how to create the system I am looking for, so I am asking for a little help! I want : At least two columns aligned to the left; The system name and a big brace on the left; Some ...
3
votes
1answer
184 views

How to use empheq with unicode-math?

I tried to change the engine from pdfLaTeX to XeLaTeX, but I can't compile a simple project: \documentclass[10pt]{article} \usepackage{polyglossia} \setdefaultlanguage{english} \usepackage{...
3
votes
1answer
837 views

Subequation number not shown (empheq+amsart)

This is a Follow-up question to Number equations within array In the original post I was asking about the basics of subnumbering equations and I got satisfactory answers so I could implement the ...
2
votes
1answer
390 views

How to use empheq environment in TikZ nodes?

Using the empheq environment from the empheq package in a TikZ node is throwing errors for me (although it seems to be plotted correctly): \documentclass{scrartcl} \usepackage{empheq} \usepackage{...
6
votes
1answer
2k views

Equation numbers for boxed multiline equations

I am attempting to set a box around multiline equations is LaTeX using the following code: \documentclass{article} \usepackage{empheq} \newcommand*\widefbox[1]{\fbox{\hspace{2em}#1\hspace{2em}}} \...
3
votes
1answer
256 views

Wrong spacing with empheq

Consider the following example: \documentclass{article} \usepackage{mathtools} \usepackage[amsmath]{empheq} \usepackage{xcolor} \definecolor{shadecolor}{cmyk}{0,0,0.45,0} \definecolor{light-blue}{...
8
votes
2answers
1k views

Equation number referral doesn't appear within the empheq/array environment?

Why doesn't the equation number referral appear within the empheq/array environment ? In this example I left out the formulas within the empheq environment (the problem remains with the formulas added)...
3
votes
1answer
394 views

empheq conflict with ntheorem?

I am trying to use the empheq package as indicated here. But I am seeing some problems with where the tags to the equations are placed, since my document also uses the ntheorem package. (Remark: the \...
1
vote
1answer
1k views

\allowdisplaybreaks does not work anymore if empheq is loaded

I'm using the package mathtools using the option showonlyrefs. This works fine, however some equation numbers are skipped. If I understood the manual correctly I need to load empheq to fix this. This ...
5
votes
1answer
3k views

Boxed equation with empheq: adding text outside box

I'm trying to have a box around my align environment, so I do the following: \usepackage{empheq} \begin{empheq}[box=\fbox]{align} equations \end{empheq} This works fine, but I would like to have ...