380 reputation
1310
bio website
location Munich
age
visits member for 3 years, 4 months
seen Nov 13 at 12:58

Nov
4
comment Add preliminary elements to the ToC
Your newest Ghost-version works - and I found out what the issue with the \contentsline command was - hyperref changes the function such that it needs five and not three arguments. Thanks for this second approch which is much better!
Nov
3
comment Add preliminary elements to the ToC
Thank you very much though on your attempts so far!
Nov
3
comment Add preliminary elements to the ToC
Are you referring to a possibility of trailing empty chapters etc which can be omitted from the final output - at least as the content is concerned? I was actually thinking about using \includepdf to just grab the first part - i wasn't sure though whether hyperref links would break or not.
Nov
3
comment Add preliminary elements to the ToC
Then I will have to dive through all used packages and disable one-by-one. Nevertheless I am receiving a new error with your newest version of the snippet: Argument of \contentsline has an extra } for the line \contentsline{chapter}{2\hspace {1em}Some chapter of another part}{}.
Nov
3
comment Add preliminary elements to the ToC
I was actually wrong! When using \include{Chapter1} your code does not work if all structural elements are in the second file. Adding a \chapter{Foo} after the include yields the expected result with the fake entries. Any ideas why this is happening?
Nov
3
comment Add preliminary elements to the ToC
Actually I fixed the issue as I was using input rather than include for my chapters and your code is now working as intended. Just the page numbers and we're good to go! Concerning packages I am just using book with the usual ams packages, etoolbox, some tikz packages, but nothing too fancy so far (except fancyhdr ;-) ).
Nov
3
comment Add preliminary elements to the ToC
Unfortunately this does not work with my current source files, yet with your MWE it does - I will have to find out what's interfering, thank you so far. Meanwhile, do you know how to specifically remove the page numbers from the fake content? Otherwise I would have to live with it having them.
Nov
3
comment Add preliminary elements to the ToC
I would like to use the proper names to have a draft of the final ToC.
Feb
12
comment Toggle visibility of solutions in LaTeX output for exams
+1. Shame I didn't notice it either - it works as expected!
Feb
12
comment Toggle visibility of solutions in LaTeX output for exams
This doesn't work for me - probably because I have an enumerate environment in there. I am getting the error File ended while scanning use of \@argdef [...] suspect you have forgotten a '}'.
Dec
18
comment How to draw visual representation of relations with TikZ
@percusse: Added the question.
Oct
1
comment ToC like list of definitions (using theorem environments)
This looks very good, however which options do I have to customize the output per line? You have in your example a list fo X.X Definition -- Name, how could get either Definition X.X -- Name or X.X -- Name in this list?
Aug
25
comment Setup font size of different types to be the same
+1. Just perfect!
Sep
13
comment Adjust vspace between multiple align environments
Works, but i have "problems" with the tags/numering as i use a very weird method... can you explain me how to adjust the gather code for my needs and my posted code? - EDIT Inserted \eqn before every line and it works! Thanks!
Aug
7
comment Searching special caligraphic math letters
Thanks for the answer and this PDF - it will help me find some symbols like the imaginary unit i without a dot which I am searchong for :D
Aug
5
comment theoremprework Error with ntheorem
Worked fantastically for me! Thanks ;)
Aug
4
comment theoremprework Error with ntheorem
My environment is called definition and with renewenvironment the layout is screwed. Furthermore i have problems with the counter which in fact does not exist! Seems like i have to use \clearpage or \newpage...
Aug
4
comment theoremprework Error with ntheorem
But i do not understand how to fix this with my template. I have way too many theorem environments to fix them easily.
Aug
3
comment Highlight environment by setting a gray background color
@Leo Liu: It will do it for now! Nonetheless, thank you.
Aug
3
comment Highlight environment by setting a gray background color
For now, I trust you that it works - furthermore i have changed the highlighting box to \theorem(pre|post)work{(\bigskip\hrule|\hrule\bigskip)} and it's good enough. Hope you understand my notation :D