Questions tagged [phantom]

63 questions
2
votes
0 answers

Is there a long version of \phantom?

Is there a macro or environment that hides its content, replacing it by blank space like \phantom, that accepts content consisting of multiple paragraphs? (I am aware that I could use \color{white} as a workaround. However, I would prefer to really…
schtandard
  • 14,892
1
vote
1 answer

Vertical alignment of inf subscripts without vphantom

I was wondering whether it would be possible to align the index of multiple infimums (or supremums, or limits..) without recurring to the \vphantom command - I feel somehow it's kind of "cheating". Here is a short…
G. Gare
  • 707
0
votes
0 answers

phantom command error

At wikipedia this \phantom{-}\frac{8}{2}=\phantom{-}4 should produce $\phantom{-}\frac{8}{2}=\phantom{-}4$ (I dont know how to make that display correctly here either) but I get an error message Failed to parse (unknown function…
R. Emery
  • 101
0
votes
0 answers

How to locally deactivate \phantom

I need to use \phantom for an argument and to deactivate it just sometimes to show only the numbers of enumerates. I spend a lot of time and I tried many things but I can't achieve it. Here is a minimal example (for xelatex) which I know it can't…
Moïse
  • 21
0
votes
2 answers

Hide text without keeping space

I want to hide some text but : I don't want the hidden text to take space I still want that LaTeX parse the content (to keep numbering) I have found this solution : \vphantom{\hphantom{text}} This work perfectly but is there any better way to do…
Matheod
  • 450
  • 3
  • 14
0
votes
0 answers

\phantom not working with $\varbigcirc$

When I do \documentclass{article} \usepackage{stmaryrd} \begin{document} $\varbigcirc$ test \par \phantom{$\varbigcirc$} test \end{document} I get which is not what I would expect. I would expect that the two "test" are left aligned and that…
Colas
  • 6,772
  • 4
  • 46
  • 96
-1
votes
1 answer

I want to hide characters in a quick manner. \phantom hides but also takes a space

For example \begin{align*} \Omega \phantom{\Omega..}(A\phantom{\Omega..}) \end{align*} Prints: O (A ) I want it to print O(A) without resorting to \begin{align*} \Omega %\Omega.. (A %\Omega.. ) \end{align*} which is just terrible
-2
votes
4 answers

Hiding informations

Good morning, I'm trying to avoid informations from my CV. In particular, I'd like to have a method to substitute my personal address with a black box of the same size of the text. I'm currently using \phantom , and I'd like to know whether there…