When I write {{\tilde{C}}^{0}_{har}}^{\Gamma} (or the same with fewer curly brackets) in Tex I obtain a double superscript error and I can't solve it. Does someone know how to fix this?
|
|
||||
|
|
If you want the
The
If you want
which will place the structure in a (text) box and allow superscripting. I prefer option 2 since options 1 & 3 has |
||||
|
(The purpose of this answer is to summarize the different aspects in the existing answers and to expand on egreg's explanation.) You've encountered some really curious aspect of the TeX engine here! My short answer: follow Mico's and Boris' advice and use parentheses around As egreg said in his answer, the culprit of your trouble is the
This means that surrounding Apparently Knuth didn't see any need for the extra grouping you're trying to use here. The error message might be his way of telling you "Don't do this!" The above explanation also shows the easiest way out of the trouble (if you really want to do it without parentheses, which I strongly advise against). Just make sure that the thing you put into the braces is not "a single Acc atom". For example, with
you'll get the output |
||||
|
|
|
The tilde is a problem. The inputs
will give a "Double superscript" error also in Plain TeX, while
won't. This is due to how TeX deals with "Accent" atoms. However, as Mico remarks, a notation like this is ambiguous and should be managed in a different way than trying to have a superscript hanging from nowhere. |
|||
|
|
|
Your example code is a bit ambiguous as to what you want to achieve: do you want the
|
|||||
|
|
Tilde is not a problem. Using both I would suggest the following: |
|||||
|



; already the empty math list 
