Tagged Questions

141 views

Bounding box for each symbol in an equation

Is it possible to make LaTeX put a bounding box around each element in an equation, as in this file? I am aware of this question, but none of the solutions presented there, which does not require ...
306 views

Graphical placeholder for “variables”

Question The image below exactly shows what I am trying to accomplish in LaTeX. Research Using \fbox (as Peter Grill suggested in this post): \documentclass[]{article} \usepackage{amsmath} ...
206 views

What does $\mbox$ do?

The LaTeX wiki says it makes a box, but when I used it with \mbox{Cos} for example, it simply wrote "Cos" in the same way that writing Cos by itself would have done. What's the point of \mbox?
105 views

How to put Text in two lines inside a box

\rightline{\fbox{LEMA 2: $(a^m-1,a^n-1)=a^d-1$\newline onde, $d=(m,n)$}} This command generates this I wanted to pass this onde d = (m, n) to the line below, but keeping within the box ... How ...
206 views

Bad box because of algebraic expression

I'm getting a bad box in the following (I can see in the PDF that the expression is shooting past the right edge of page contents): \item If $\dfrac{a}{b} = \dfrac{c}{d} = \dfrac{e}{f} = \ldots$, ...
420 views

Angle brackets with an underset arrow

I am trying to make a pair of angle brackets of variable height enclosing a main box along with a box beneath each bracket and an arrow of variable length between these lower boxes. Since I'm sure ...
128 views

\setbox containing maths interferes with surrounding math mode in XeTeX

I encountered what might be a bug in XeTeX (but I would be glad to be proven wrong) while chasing a strange interaction between bytefield, unicode-math, and mathtools. In general, I do not expect a ...
33 views

Possible Duplicate: Highlight elements in the matrix I have a big matrix as follows: \documentclass{article} \usepackage{amsmath} \begin{document} \tilde{M}_{R+1,N}= ... 3answers 3k views Color box with rounded corners around a fragment of a formula Is there any way in TeX to highlight some part of a formula with a box having colored background and rounded corners? At present, I need to export such formulas into an image, add those highlight ... 1answer 429 views Errors with multicolumn-equations inside tabular (inside tcolorbox) I try to rebuild a fairly complicated math-table, and I'm almost satisfied with the result. The MWE actually compiles to the table I want, but with error messages. When I include the table in my real ... 1answer 205 views Why isn't a zero-width box in math mode aligned on the baseline? I'd like to move equation labels into the margin for an article I'm working on, and the answers in Theorem Name/Numbering in Margin accomplish exactly what I'm looking for. Here is a small example: ... 1answer 394 views How to create a figure with math content What's wrong with the following figure in the text? First, it says "amsmath: Unable to redefine math accent \vec." and then "Undefined control sequence" but neither is any helpful to me. It uses LLNCS ... 1answer 252 views Creating a box framework for inside the formula enviroment For a list of things to be used inside the formula enviroment, I want to create boxes stacked over each other. I basically want to write  A := "Box with lines like 'A is a number', 'A is bigger ... 2answers 326 views Why is there an overfull box with \[ …

\documentclass{article} \begin{document} \hsize 200pt %A wonderful serenity has taken possession of my entire soul, like these sweet %mornings of spring which I enjoy with my whole heart. \[ e=mc^2 ...
669 views

A \boxed alternative with minimal spacing?

The following code comes from this post. The problem is that I would like a way to automate the size of the box so as to be very small with a few of spacing, but the following solution doesn't work ...
976 views

A \boxed alternative with nicer spacing?

I like using \boxed to emphasize my answers in homework problem sets. However, whenever I use superscripts/exponents inside the box, the box becomes taller than it seems it should. This causes two ...
3k views

How to box two lines inside align*

I asked a similar question today except it was targeted at one particular line inside the align* environment. Now I want to enclose two lines. The failed attempt below makes my intention clear: ...
4k views

\mbox does not draw a box inside align*

\mbox doesn't work inside align*: \begin{document} \usepackage{mhchem} \begin{align*} \ce{K_w} &= \ce{[H3O+][OH^-]} \\ -\log \ce{K_w} &= -\log ( \ce{[H3O+][OH^-]} ) \\ -\log ...
562 views

Multi horizontal alignment in mathmode

I would like to realize an alignment like the following: formulaformula1 formulaformulaformula2 formula3 formula4 So I would like formulaformula1 and formulaformulaformula2 to ...
501 views

Problem with mbox command

I have the following simple code which causes some problems, would be great if someone could point out what is going wrong here: \begin{compactenum} \item Perform addition over all bits \[ ...
1k views

Extra space above boxed multi-line equation

Well, this question is not new. It was asked back in 2007 in texhax, and answered at the same time. However, I couldn't apply the patch as mentioned in the answer, so I decided to ask it here. ...
For my text-in-mathmode needs in LaTeX, I use \mbox. However, it does not seem to behave well in subscripts. How can I write text that adjusts its height? $3 \mbox{dB} = f_{ 3 \mbox{dB} }$ ...