Questions tagged [empheq]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
44 views

tcolorbox tcbhighmath box customization

I am making some lecture notes for myself and I would like to use this feature to put important equations in boxes. However I am only able to do this one type of box showed in the sample code and I ...
Miguel Garcia's user avatar
0 votes
0 answers
22 views

Page breaking boxed equations into two pages

I have a very long series of equations that I want to align and emphasize by boxing them. The problem is that so many long equations often need to be broken into two pages, otherwise I get lots of ...
Diego Andres Alvarez Marin's user avatar
3 votes
1 answer
236 views

How to write equation where all equation are in only opening curly bracket and there is no closing curly bracket and with equation number

How to write equation where all equation are in only opening curly bracket and there is no closing curly bracket and with equation number
Akshay Laxman Powar's user avatar
0 votes
0 answers
28 views

Line numbering lineno and empheq

In my preamble, I use \usepackage[mathlines,right]{lineno} for line numbering. I use empheq for equation system, since I need the left bracket. \begin{empheq}[left=\empheqlbrace]{align} 2x+y &...
user289959's user avatar
0 votes
1 answer
100 views

how to implement the equation counters of box in box

I'm trying to make a box in box with equation counters in the outside. The first image could be obtained by my code as follows, \documentclass[a4paper]{article} \usepackage{amsmath,amssymb,array,cases}...
Jerry Feng's user avatar
1 vote
2 answers
195 views

Tagging Each Line in `aligned`

I want to combine the gather and aligned environments in the following way. \documentclass[]{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{gather} A = B + C + D + E + ...
Sam OT's user avatar
  • 1,299
3 votes
2 answers
230 views

How to shift a system of equations to the left

I need to shift a system of equations to the left; there is space so maybe there is a trick to do it. Could you suggest me a way to overcome the problem please? \documentclass{article} \usepackage[...
Gennaro Arguzzi's user avatar
1 vote
1 answer
79 views

Aligning boxed equations in a specific way within subequations and rounding corners

I have the following code which uses code from online sources \documentclass[]{article} \usepackage{mathtools} \usepackage{fancyhdr} \usepackage{amssymb} \usepackage{extramarks} \usepackage{amsmath} \...
user avatar
2 votes
1 answer
230 views

Full width boxed equation

I would like to use empheq to box center aligned equations but would like the boxes to span the full page width. Passing the gather/gather* environment to empheq produces the center aligned equations ...
user2501235's user avatar
3 votes
1 answer
175 views

Left align empheq fbox

I am trying to figure out the syntax for generating a set of left-aligned, boxed equations with aligned equals signs for presenting some results. After trying many combinations of methods, this is the ...
unknownperson's user avatar
1 vote
1 answer
58 views

How to align equations tags when using empheq?

I am trying to align the equations tagging with the equation itself, but it seems this does not work Also, is it possible to set all math to bold for all math environment? My MWE \documentclass[...
Al-Motasem Aldaoudeyeh's user avatar
2 votes
1 answer
137 views

How do I increase the spacing before and after the empheq environment (with tcolorbox)?

I want to ask a question on how to properly increase the spacing before and after the boxes set inside an empheq environment. Here's my MWE that I compiled using LuaLaTeX. \documentclass{scrbook}[DIV=...
Farrel Ahmed's user avatar
0 votes
1 answer
136 views

\empheq piece-wise function with shadow box

I have written a piece-wise function using \empheq. Is there a way to also write this function inside a shadow box with \empheq? I have done this for other equations but not for a piecewise function. ...
Varad Kulkarni's user avatar
0 votes
1 answer
76 views

Why become smaller brace in empheq environment?

I want to write simultaneous equations so I used empheq environment: \documentclass{jsarticle} \usepackage{empheq} \begin{document} \begin{empheq}[left=\empheqlbrace]{align*} E_1 = V_1 + V_2 \\ V_2 - ...
kobi32768's user avatar
2 votes
1 answer
155 views

Creating new math environment using empheq

I defined a new environment called boxew. When I use the code \begin{empheq}[box=\fbox]{align} \bar{\nabla}^{\mu} \bar{h}_{\mu\nu} & = 0 \\ \bar{\nabla}^{\mu} \bar{h}_{\mu\nu} & = 0 \end{...
Triceratops's user avatar
0 votes
2 answers
890 views

Single equation number for `empheq`

Currently, each equation in empheq has its own number. How can I number them as one system of equations? Edit: Here's the current situation, each equation has its own number: Here's what I want to do:...
Minh Nghĩa's user avatar
1 vote
1 answer
139 views

Incapsulated brackets with subequations package

I'm trying to generate a series of equations using incapsulated brackets with this style: Key feature I need is that all equations are right aligned and feature their own label. The best I could get ...
Rocco B.'s user avatar
1 vote
1 answer
100 views

Putting an equations' system on the left

I'd like to start the equations' system from the left of the page and not in the middle. How can I modify this code? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \...
Gennaro Arguzzi's user avatar
2 votes
1 answer
707 views

Using `empheq` Inside Math Environment

I have a system of equations, and I want to use an enumerated cases option -- hence I have been using empheq. But I want the cases part to use subequations. Let me give a MWE which should hopefully ...
Sam OT's user avatar
  • 1,299
3 votes
1 answer
365 views

boxed only one equation among others in beamer

how can I get only boxed equation among others I'm using empheq to align equation but I can't boxed only one equation among others. \documentclass[english]{beamer} \usepackage{empheq} \usetheme{...
Educ's user avatar
  • 4,236
3 votes
3 answers
292 views

empheq package: bracket in "long" subequations

I am using the answer to the question bracket in subequations but my equation is too long and the equation numbering is failing as shown in the MWE (modified from the MWE given in the question). I am ...
c05772's user avatar
  • 864
0 votes
1 answer
655 views

Write text and equation on the same line Beamer

I liked the box and the color around the equation, which produces by using empheq I would like to hold that character but be able to write text+equation on the same line. \documentclass[10pt,a4paper]...
Educ's user avatar
  • 4,236
0 votes
2 answers
146 views

How to reduce the space between the equation label and the equation in the empheq package with a specific paper format?

Here is my example: \documentclass[% 11pt, %pagesize=pdftex, %paper=letter, pagesize, headsepline, parskip=half, english, twoside, headings=chapterprefix, %...
tmaric's user avatar
  • 911
0 votes
1 answer
165 views

empheq amsart enumerate error

I have started using the empheq package and run into some issues. The following compiles normally: \documentclass[fleqn]{article} \usepackage{empheq} \usepackage{xcolor} \newcommand*\mybluebox[1]{\...
Math-user's user avatar
  • 101
4 votes
2 answers
357 views

Text colour in empheq for multiline AMS environments

I use the empheq package along with the xcolor package to display equations in coloured boxes. I also wish to change the text colour of the equation. In single-line environments, such as equation, ...
tethered.sun's user avatar
5 votes
2 answers
4k views

How to make set of equations appear side by side using empheq package?

\documentclass[11pt]{article} \usepackage[margin=.2in, paperwidth=8.5in, paperheight=11in]{geometry} \usepackage{amsmath} \usepackage{mathtools} \usepackage{empheq} \begin{document} \begin{empheq}[...
Terrarium's user avatar
  • 483
3 votes
2 answers
627 views

How to type equations inside a box more compactly?

\documentclass[11pt]{article} \usepackage[margin=.2in, paperwidth=8.5in, paperheight=11in]{geometry} \usepackage{amsmath} \usepackage{mathtools} \usepackage{empheq} \begin{document}...
Terrarium's user avatar
  • 483
1 vote
1 answer
71 views

Nested numbered alignement

(disclaimer : yes I have already read : Nested cases, alignment and numbering, no it doesn't help) I am trying to get something like this : and : BUT with the numbering aligned. I got the above ...
MacroController's user avatar
2 votes
2 answers
224 views

Text around boxed/framed equation

I want the text closer to my equations, but the equations jump down a line. The equation box also insists on centring itself instead of sticking to the margin. Is there a way to automatically adapt ...
Matt's user avatar
  • 397
4 votes
1 answer
409 views

Aligning multiple empheq environments with subnumbering

I'm trying to create a nice display of the KKT conditions, with sub-numbering for each condition. I have been able to do this using the \empheq package (MWE at the end of my question). However, ...
Tim's user avatar
  • 143
2 votes
1 answer
47 views

Why there is an empty space below cases?

\documentclass[9pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} %\usepackage[usenames, dvipsnames]{color} \usepackage{amsmath} \usepackage{empheq} \begin{...
Dimitrios Sykias's user avatar
2 votes
0 answers
134 views

Curly bracket for subequation enviroment using the mtpro2 v. lite

Remembering the very nice answer given by the user @Mico, Curly braces using mtpro2[lite]: fix correct alignment, it has been used into an equation the enviroment \ccases{\begin{aligned}.....\end{...
Sebastiano's user avatar
  • 52.7k
1 vote
3 answers
496 views

Too much blank space after long equation, empheq, aligned

I am having trouble to make a box with this long equation and at the same time put a number in it. All I want is to remove that blank space below the equation short before the line of text. The ...
Hodek Mealstrom's user avatar
0 votes
2 answers
85 views

How to do vertical sorting in the equation?

MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{array} I_1\cdot(R_1 + R_4)+I_2\cdot R_1 +I_3\cdot 0 =\varepsilon_1\\ I_1\cdot R_1 + I_2\cdot(R_1+R_2+R_5) +I_3\cdot R_5 =\...
Özgür's user avatar
  • 3,270
1 vote
1 answer
194 views

Multiline math environment that allows for individually tagged equations grouped by brace as rhs

I'm looking for a math environment that would allow me to write two lines/equations, that needn't be aligned per se, but in which one of the lines looks like this: a = {a(x), where a(x) is a system of ...
Wouter's user avatar
  • 541
0 votes
1 answer
128 views

ntheorem + showonlyrefs

I like the showonlyrefs option provided by mathtools. I also would like to use ntheorem. But they seem difficult to use together. Applying the various recommendations in the related manuals (including ...
Olivier Cailloux's user avatar
1 vote
1 answer
319 views

How can I place an array in empheq environment?

I'd like to place an array in a empheq environment. I tried the following code which gives the error: Paragraph ended before \empheq was complete. \documentclass{article} \usepackage[utf8]{inputenc} \...
Dimitrios Sykias's user avatar
2 votes
2 answers
597 views

empheq labels going down

I have this empheq code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{empheq} \begin{document} \begin{empheq}{align} \min \quad & \displaystyle\sum_{t \in T}\sum_{(i,j,s) \in ...
Victor Hugo's user avatar
2 votes
2 answers
317 views

Line Break in Equation Using empheq

I have an equation that overspills into the margins; I am using (and would like to continue using) empheq for it. Let me give a MWE. Note that it's not what I've actually got in my document, just an ...
Sam OT's user avatar
  • 1,299
1 vote
1 answer
791 views

How to box the last (or one) line of an aligned set of equations? [duplicate]

I am trying to get the last equation in a list of aligned equations boxed, however this is more challenging than I thought it might be. I would like to be able to do it with the box both including ...
Garf's user avatar
  • 468
0 votes
2 answers
233 views

Incompatibility between split and empheq?

I have an issue using split inside an empheq environment. When combining both environments, the alignment of the empheq is broken. Any clues ? If this is a duplicate or an obvious/known ...
BambOo's user avatar
  • 8,761
3 votes
2 answers
913 views

Subequations with brace and aligned systems of equations

I am looking for the best way to align systems of equations in a subequations environment with a brace on the left side and an introductive sentence. This is what I have for now : \documentclass{...
PeteAgor's user avatar
0 votes
1 answer
1k views

Add text on left side of an empheq environment with a brace

I wanted to write my equations with a left brace and text on the side left to my equations so I first used this code : \[ \text{Sous contraintes}\left\{ \begin{array}{ll} eq1 & ...
JKHA's user avatar
  • 453
0 votes
1 answer
125 views

How to balance the vertical positions of equations inside an `empheq` environment

To write grouped equations, I use the empheq package with some [left=...] option , which in general works as expected. However, when having a line with an integral sign, and I guess this may happen ...
BambOo's user avatar
  • 8,761
0 votes
0 answers
23 views

empheq equation flows out of column bounds [duplicate]

I am using the boxed equation format shown here. However, it flows out of column bounds when following the IEEE journal format as shown in image. \documentclass{article} \usepackage{color} \...
learnerX's user avatar
  • 149
2 votes
1 answer
3k views

Align some equations in empheq environment

I am trying to align some equations in an empheq environment but cannot get it right. Here is my MWE: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{...
fidekild's user avatar
  • 151
4 votes
2 answers
524 views

newenvironment with empheq inside tcolorbox

I have to define a new environment doing something like that. \documentclass[12pt]{article} \usepackage{tcolorbox,empheq} \begin{document} \begin{tcolorbox} \begin{empheq}{align} a=b \end{empheq} \...
MB4E's user avatar
  • 1,074
2 votes
0 answers
50 views

Conflict between empheq and tocdepth? [duplicate]

I have reduced my problem to a MWE and I have no idea what is going on. The following code compiles and functions as expected when I remove the empheq package: \documentclass{article} \usepackage[...
nukeguy's user avatar
  • 145
4 votes
2 answers
663 views

Fancy box around equation in align environment

I am aware of both this and this questions. However, can we combine them? What I mean by this is can I enclose in a fancy box à la empheq part of an equation in an align environment? (I believe there ...
ɪdɪət strəʊlə's user avatar
1 vote
1 answer
1k views

change size of empheq box

I have the following code in order to align some equation: \begingroup\makeatletter\def\f@size{8}\check@mathfonts \def\maketag@@@#1{\hbox{\m@th\large\normalfont#1}}% \begin{empheq}[box=\widefbox]{...
Ben's user avatar
  • 413