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

learn more… | top users | synonyms

3
votes
1answer
45 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
46 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
21 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} ...
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
158 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
44 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
57 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{% ...
4
votes
3answers
110 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
111 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]{% ...
2
votes
1answer
59 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]{% ...
5
votes
4answers
156 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
100 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} ...
3
votes
2answers
75 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
85 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
18 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
129 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
80 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
88 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
121 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 ...
8
votes
3answers
263 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
86 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\\ ...
6
votes
3answers
149 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
457 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
129 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} ...
3
votes
1answer
596 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
301 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} ...
6
votes
1answer
1k 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
188 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} ...
7
votes
2answers
852 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 ...
3
votes
1answer
358 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
927 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
2k 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 ...