Timeline for \phantom and $$ conflicting
Current License: CC BY-SA 4.0
Post Revisions
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 14, 2023 at 21:28 | comment | added | user26305 | I have used boxes but I'm definitely not fluent with them. Would it be possible to do some sort of \renewcommand and replace \phantom's \hbox with a \vbox? Or would that create a new set of problems? | |
| Jul 14, 2023 at 19:35 | comment | added | user26305 | I'm italicizing all of the content from the teacher version to make it more obvious which text is from the key and which is in the original document. In the teacher version, I like the spacing that $$ gives. I'm fine with using [ ] instead, but that doesn't seem to be fixing the problem. | |
| Jul 14, 2023 at 15:43 | comment | added | John Kormylo |
\phantom uses a savebox to compute the size needed. In particular, it uses an \hbox type savebox, and you need a \vbox type savebox to handle $$ (or \{ or \begin{equation) etc.)
|
|
| Jul 14, 2023 at 7:09 | answer | added | egreg | timeline score: 1 | |
| Jul 14, 2023 at 1:25 | answer | added | Mico | timeline score: 0 | |
| Jul 14, 2023 at 1:22 | comment | added | Werner♦ |
With the amount of space you're leaving between equations, I assume the use of a math display is not really of concern here? That is, you might as well set the content in an inline math construction with \displaymath, since typically one shouldn't leave a blank line before a math display.
|
|
| Jul 14, 2023 at 1:18 | comment | added | Mico |
What's the purpose of the \mathit wrappers?
|
|
| Jul 14, 2023 at 0:24 | history | asked | user26305 | CC BY-SA 4.0 |