Skip to main content

All Questions

Tagged with
0 votes
1 answer
138 views

creating multiple side-by-side blocks

I want to create multiple colored boxes side by side in article format as I have shared the link below. I would be very happy if you could help me on how to do it. As you can see, some boxes have gaps ...
nikisamothrakis's user avatar
2 votes
1 answer
83 views

parbox inner vertical-align "b" causes unexpected vertical white space

In the following codes, I put something into a lrbox named mybox. Then the content of the box is typeset by a parbox with three inner vertical-align modes - c, t and b. For t and c, the typeset is ...
lyl's user avatar
  • 2,747
2 votes
0 answers
189 views

How to define a math mode macro like mathtools' \Aboxed but colored for multiline equations in an align/align* environment without breaking alignment?

Before I get to the question and to not receive the answers I do not want, I want to point out that I mainly have 4 usage of equation or math-related boxes in LaTeX (For the question related to the ...
Farrel Ahmed's user avatar
2 votes
1 answer
93 views

Subequations and boxed with \hline

I've a trouble with this code: \newcommand{\Tonde}[1]{\left(#1\right)} \newcommand{\Quadre}[1]{\left[#1\right]} \begin{subequations} \begin{align} z^1=|z|^1\Tonde{\cos\theta+i\sin\theta}^1&=|z|\...
Puck's user avatar
  • 1,212
3 votes
3 answers
2k views

Issue using resizebox within equation and split environments

I have an equation below that is wrapped in an equation and split environment. Because the equation is long, it will run over the margins, so I used resizebox. According to this SO question I need to ...
Adam_G's user avatar
  • 816
0 votes
0 answers
128 views

vbox: splittable aligned equations? measuring true height after vsplit

I am learning low-level tex to write my own custom *latex macros. As an experiment I tried to put math equations (multiline or not) inside \vbox/ \hbox, measure their dimensions, and tried to split ...
codepoet's user avatar
  • 1,316
3 votes
1 answer
1k views

Multiple choice questions with proposed answers in random order — addition of automatic correction (cross mark)

Considering my two previous questions: Squares for answer choice options and perfect alignment to mathematical answers First @egreg's code \documentclass{article} \newcommand{\squarecap}[1]{\fbox{\...
Sebastiano's user avatar
  • 56.7k
11 votes
3 answers
1k views

Squares for answer choice options and perfect alignment to mathematical answers

Since 2005, I have generally used this model to create multiple-choice tests for my students. I kindly ask you if there are packages or macros, or particular strategies to have squares with the ...
Sebastiano's user avatar
  • 56.7k
0 votes
1 answer
281 views

text justification/comments filling the space left from equation - flalign and paragraph mode

I have equations in a flalign environment and comments that may need to be multi-liner. \parbox seems fine except I can't tell it to automatically stretch in order to fill the space from the right-end ...
the_eraser's user avatar
3 votes
0 answers
493 views

How to see the box to debug or learn LaTeX?

For example, I want to see the boxes implicitly generated by alignedat. I want to see how \lineskiplimit and \lineskip work and also the particular spacing between the current row and the previous one....
Eric's user avatar
  • 1,685
1 vote
1 answer
303 views

Boxing The Entire Align Environment

Here's my code : \documentclass[12pt,a4paper]{report} \usepackage{multicol} \usepackage{enumitem} \usepackage{amsmath} \begin{document} \section{New Section} \begin{multicols}{2} \begin{enumerate}[...
Chung Ren Khoo's user avatar
4 votes
4 answers
2k views

Equation inside \framebox giving errors

I have the following code: \framebox{ \begin{align*} Something here \end{align*} } which gives the following errors: Missing \endgroup inserted Missing } inserted LaTeX Error: \begin{...
LatexIsAnnoying's user avatar
2 votes
1 answer
3k views

How to put a box around a equation spreading multiple lines?

I want to put a box around a equation spreading multiple lines. Minimum working example: \documentclass{article} \usepackage[utf8]{inputenc} %\usepackage{amsmath} \usepackage{comment} \...
RIchard Williams's user avatar
10 votes
3 answers
10k views

Making a box around an equation

I have a summary of equations which is written in an align environment. I want to make a box around it but don't know how to do this efficiently. Here is a MWE \documentclass{article} \usepackage[...
Hosein Rahnama's user avatar
18 votes
3 answers
26k views

Boxed and align

Remark: The examples in this post are not the real cases, the real one is a web page using MathJax. It seems MathJax has some restrictions about the packages that can be used. In particular, mathtools ...
pasaba por aqui's user avatar

15 30 50 per page