### LaTeX users online

In total there are**10**users online :: 0 registered, 0 hidden and 10 guests (based on users active over the past 5 minutes)

Most users ever online was

**1327**on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 10 guests

### LaTeX blog world

TeXdoc.net updated (Stefan)TUG 2016 reports (Norbert)

TUG 2016 in Toronto - Arriving and first excursion (Stefan)

Define new macros for logical markup (Tobi)

Finding typefaces (fonts) (Tobi)

Order of float placement parameters (Tobi)

Changes and News (Clemens)

What's new in chemmacros v5.6? (Clemens)

Lass Dich nicht von einem Hobby stressen! (Markus)

Das "Currentfile" Paket (Uwe)

TeX Live 2016 released (Stefan)

How to Deal with Wide Tables (Lian Tze Lim)

Get TeX Live 2016 now (Tobi)

LyX 2.2 released (Stefan)

Point vs. Big Point (Tobi)

Programming network switches and routers using TeX (Stefan)

## box around just one equation inside align## LaTeX Forum: Math & ScienceAdd tags
3 posts
• Page
1 of 1
As you have seen you cannot directly, but we can cheat a little (in the example memoir is not important, it is jut my standard class in emacs)
- Code: Select all • Open in online LaTeX editor
`\documentclass{memoir}` \usepackage{calc,amsmath} \newlength\dlf \newcommand\alignedbox[2]{ % #1 = before alignment % #2 = after alignment & \begingroup \settowidth\dlf{$\displaystyle #1$} \addtolength\dlf{\fboxsep+\fboxrule} \hspace{-\dlf} \boxed{#1 #2} \endgroup } \begin{document} \begin{align*} f(x) &= a \\ \alignedbox{g(x)}{=5} \end{align*} \end{document}
It is the same kind of trick \MoveEqLeft from mathtools make use of - daleif
**Posts:**199**Joined:**Wed Nov 19th, 2008
3 posts
• Page
1 of 1
## LaTeX users onlineUsers browsing this forum: No registered users and 10 guests |