Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to draw a frame around one equation to point it out. I used

\fbox{...} 

but it didn't work out. Here is a minimal example where I tried it. Any package suggestions?

\documentclass[
    german,
    paper=a4,
    ]{scrbook}              %KOMA-
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel} 

\usepackage[babel,german=guillemets]{csquotes}
\usepackage[T1]{fontenc}    
\usepackage{amsmath}

\begin{document}

\begin{align}
Nu_\text{m}        &= \frac{\alpha_m \, L}{\lambda}    \text{ \quad .} \\ 
Nu_\text{m}        &= \frac{\alpha_m \, L}{\lambda}    \text{ \quad .}
\end{align}

\end{document}
share|improve this question
    
Do you want the frame around both lines? –  egreg Jul 25 at 17:24
    
Related: How to box two lines inside align* –  Werner Jul 25 at 17:44

1 Answer 1

up vote 4 down vote accepted

The \Aboxed command from mathtools package does what you want.

MWE

\documentclass[
    german,
    paper=a4,
    ]{scrbook}              %KOMA-
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel} 

\usepackage[babel,german=guillemets]{csquotes}
\usepackage[T1]{fontenc}    
\usepackage{amsmath,mathtools}

\begin{document}

\begin{align}
\Aboxed{Nu_\text{m}        &= \frac{\alpha_m \, L}{\lambda}    \text{ \quad .}} \\ 
\Aboxed{Nu_\text{m}        &= \frac{\alpha_m \, L}{\lambda}    \text{ \quad .}}
\end{align}

\end{document}

Output

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.