Linked Questions

6
votes
1answer
985 views

How to put the character ] inside the short version of caption on list of table? [duplicate]

I'm using winedt and would like to insert something like \caption [blabla [-1, 1]V] {blabla [-1, 1]V...} in one of the tables, but I do not know how to escape the character ]. I've tried \\] ...
1
vote
1answer
177 views

How to write braces inside \sqrt[ in here ]{sth}? [duplicate]

This is what I want to write: Apparently, the following doesn't work \sqrt[ \sqrt[\log n]{n} ]{x} The error is that the argument of \sqrt has an extra }. This seems like a bug to me. Is there a way ...
0
votes
0answers
39 views

Using \hyperref within prenote of \citep [duplicate]

I want to add a link to the appendix in a prenote of a citep reference. However, using \hyperref[label_name]{Text with link} (as stated here) instead of \ref{label_name} fails. Here is a MWE ...
80
votes
16answers
3k views

What needs to be introduced in a short introduction to LaTeX?

One of the things listed at the How you can help in the TeX community page of the TUG website is: We'd like to have an ‘introduction to LaTeX’ document that falls somewhere between the brevity of ...
39
votes
1answer
3k views

] inside an optional argument

I accidentally discovered (here) that a closing square bracket within an optional argument delimited by [ ] can cause problems. Here is example code illustrating the issue: \documentclass{article} \...
-26
votes
2answers
2k views

Stringified commands to macros sequence [closed]

First, what is the proper terminology for a "string" in TeX/LaTeX that is an argument for a macro? e.g., \macro{somestring} Obviously somestring is a token, set of tokens, string, argument, etc. I ...
6
votes
1answer
975 views

Using square bracket inside square bracket [duplicate]

I have a two-column layout, and I want to put a specific section with images to span the whole page width. So I use: \twocolumn[ ... ] So far, so good. However, when I want to include anything in ...
1
vote
1answer
2k views

Trouble with displayquote and page numbers for citations

I have a problem trying to get a citekey to work properly in a blockcitation. I have a nested file setup via the subfiles package and using csquotes to generate the block quote as follows: In the ...
1
vote
1answer
679 views

Cite in theorem header and giving the theorem a name

I'd like to create a named theorem and cite it in the header like this: Theorem 5.3 [1, Theorem 1.1][NAME] I haven't seen a book where an author used that style, but I'd like to use that kind of ...
2
votes
1answer
498 views

Scaling molecules on top of arrow with chemfig

i've a problem with chemfig-package. I want to draw some mulecules above an \arrow{-U>}, but i can't scale them in the right way. Does anybody has an idea to work around or do I just made a mistake?...
2
votes
1answer
358 views

Curly braces disappear when reloading LyX document

I have a problem in LyX when using a math macro with an optional argument. I want to have an interval [a,b] as argument, which I need to group in curly braces, otherwise LaTeX will confuse the ...
0
votes
0answers
251 views

Scaling a graphics leads to an error [duplicate]

I have the following problem: I want to attach a photo in my resume on the right top. If I not use a scale argument, the file compiles but the photo is to large. However using a scale argument leads ...
0
votes
0answers
48 views

How to escape [ and ]

Consider this script \documentclass{report} \usepackage{graphicx, subfig} \begin{document} \begin{figure} \subfloat[$a>5$~[a.u.]]{% ...