I'm rather inexperienced to LaTeX and I have run into an issue regarding ToC.  I have a report with an appendix.  I wish to have a standard ToC over the report, and only show the chapter "Appendix" in this ToC.  In my Appendix I would like another ToC containing the appendix and only the appendix.  Something like this:   ToC1 Capter1............1   section1.........1   section2.........3 Chapter2...........5   section1.........5 ChapterAppendix...10  ToC2 ChapterAppendix ..10  Section1.........10   Subsection1.....11   I have tried following this example:  but without luck.  Can someone give me a clue on what to do?
I am trying to print a List of Appendices (LoA) for my thesis, separate from the Table of Contents (ToC).   I wish for my ToC to look like this, with depth up to subsections (2?):  CONTENTS  CHAPTER   I. Introduction......1    1.1 Section title...1     1.1.1 Subsection...1  Appendices ..... 2   and for an LoA on a new page, with depth 0, thus:  APPENDICES  APPENDIX A. Proof of Theorem 1...1 B. Proof of Theorem 2...1   I am trying to achieve this using the report class, in a way that allows me to type appendices using the hierarchy that I obtain from the chapter, section commands. This is as opposed to defining a custom myappendix command into which I insert my appendix content. (I realize that I only need the titles from the appendix chapters for the LoA, but I'd like for the appendix content to have such structure.)   For instance, this approach would solve my problem:   \chapter{Introduction} \section{Section title} \subsection{Subsection} % \begin{appendices} is also acceptable \appendix   % Some settings are changed now \chapter{Proof of Theorem 1} \chapter{Proof of Theorem 2} % \end{appendices} if environment is begun   whereas the following approach would not:  \chapter{Introduction} \section{Section title} \subsection{Subsection} \myappendix{Proof of Theorem 1} \myappendix{Proof of Theorem 2}   I realize several questions have been asked regarding this before, but none of them quite solved my problem. Notably,  defines a custom appendix command;  defines two custom commands to maintain some hierarchy, but I will have to do more work to handle the inclusion of another layer (subsection) into the appendix.    is the closest to what I want: it does give me a separate LoA, but it also adds appendices to ToC and I can't quite figure out how to suppress the entires in ToC. The moment I use   \addcontentsline{toc}{\setcounter{tocdepth}{-1}}   the line   \xpatchcmd{\@chapter}{\addcontentsline{toc}}{\addcontentsline{toa}}{}{}%   fails because I am not adding anything to the ToC anymore.   My approach: Since I was using titlesec and tocloft packages anyway, I tried to do the following:   Stop ToC once appendix command is issued Start a new counter for appendices using tocloft Using the &lt;after-code&gt; option of titlesec, add contents line after every chapter.    My MWE   \documentclass[a4paper]{report} \usepackage{lipsum} % for arbitrary text  \usepackage{tocloft,etoolbox,titlesec} \newcommand{\listappendixname}{List of Appendices} \newlistof{appendix}{apc}{\listappendixname}  \makeatletter \g@addto@macro{\appendix}{     \clearpage     \addcontentsline{toc}{chapter}{Appendices}     \addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}     \titleformat      {\chapter}      [display]     {\huge\bfseries\filcenter}      {\Large \MakeUppercase{\@chapapp} \thechapter}      {1.5ex}{}     {\refstepcounter{appendix} \addcontentsline{apc}{appendix}{\protect{\@chapapp \thechapter}}} } \makeatother  \title{Title} \author{Author}  \begin{document} \maketitle \tableofcontents \clearpage \listofappendix  \chapter{Introduction} \lipsum[1] \section{Section} \lipsum[2] \subsection{Subsection} \lipsum[3]  \appendix  \chapter{Proof of Theorem One} \lipsum[4] \chapter{Proof of Theorem Two} \lipsum[5]  \end{document}   produces the following LoA:  List of Appendices  Appendix...... 5   It doesn't get the Appendix title or number, and fails after the first one.  Could you please help me obtain a separate LoA in a way that I can still use LaTeX's chapter, section, ... hierarchy? (I am okay with using different packages, the book class, or any approach other than mine.)
Is it just that nvarchar supports multibyte characters? If that is the case, is there really any point, other than storage concerns, to using varchars? Proof of $\sin nx=2^{n-1}\prod_{k=0}^{n-1} \sin\left( x + \frac{k\pi}{n} \right)$ I have seen this identity on Wolfram mathworld and in a comment to another similar trigonometric proof:    I can't seem to find a proof to this identity online anywhere. What method is used to prove this? Is it necessary that an International cricket ground should has the boundary line in circle shape?Is it allowed by ICC to make it a square or ellipse or any other? What is the minimum and maximum area allowed for an international cricket ground? What is the maximum number of international cricket grounds that a country allowed to have? I have a shape (rounded rectangle) in PowerPoint 2007 of which I would like to increase the vertical size only (to illustrate de-bottlenecking). So, the width will stay the same but the height will grow (both from the top and bottom, so the centre will remain in the same location).  Custom Animation -> Emphasis only appears to change the whole shape.  Is it possible to increase only the vertical size (stretch the shape)?  This is during animation of the shape. I don't like Hell, can I go somewhere else? I just opened a nether portal for the first time, and I must say, it's not a very good location, a sort of narrow trench/cavern thingy without any obvious clues as to which direction is "out".  I'm not willing to simply move my overworld portal (due to dilation it is unlikely to have much of an effect, anyway), and was wondering if there was a way to force minecraft to generate a new personal Hell for me to explore (hopefully one that doesn't involve me stuck in some wall!). Galois extension is (not) transitive Let $ K/ L /F $ be fields. If $K / L$ is Galois and $ L / F $ is Galois, then $ K / F$ is Galois. We mentioned this very quickly in today's class without justifying. But I have trouble seeing this. Any help is appreciated.  Our definition for $ K / F$ being Galois is the $F$-automorphism group $G = G( K / F) : = \{ \sigma \in aut (G) : \sigma_F = id_F \}$ fixes only $F$, i.e. $ \{ x \in K : \sigma (x) = x \text { for all } \sigma \in G  \} = F$.  But we also showed that $ K /F$ is Galois if and only if $ K/F$ is normal and separable. Can I use old Minolta AF lenses on my new Canon? I just recently bought my first DSLR, a Canon Rebel t2i/550d. I use it mostly for video and it works wonderfully. I bought the kit lens with it, but I am looking to expand my lens collection. I found a set of old Minolta lenses from my dad, and I was wondering if I could use them on my new camera. The lenses are: a Sigma UC zoom 28-105 f4-5.6, a Minolta Maxxum zoom 70-210mm, a Minolta Maxxum zoom 28-58mm and a Kalimar 500mm lens. I know about the crop factor and that the auto focus won't work, but that does not bother me. Is there an adapter for Minolta AF/Sony to Canon EF mount? Any help is appreciated. Thanks! I need a CD or USB stick, that will install Ubuntu on a completely headless machine. Stick CD in and restart, no keyboard or screen should be involved.  There are a few obstacles:   The language selection menu when you first boot the CD. The fact that the CD menu waits. The installer's asking questions during installation. I need to amend my return but I already received check from IRS with my refund. Should I cash it out now or wait until I amend my return? I need to amend my return, but I have already received a check from IRS (they approved my return that I need to amend). Should I cash out this check and then amend my return, or should I dispose this check and wait for a check from an amended return? Cannot install Ubuntu in VirtualBox due to "this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot" error I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see    this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot   But I am using a 64 bit Windows 8, and trying same .iso for trying Ubuntu. Then what is the problem? How do I split a string so I can access item x? What longest time ever was achieved at holding light in a closed volume? For what longest possible time it was possible to hold light in a closed volume with mirrored walls?   I would be most interested for results with empty volume but results with solid-state volume may be also interesting. How to get the date in a batch file in a predictable format? In a batch file I need to extract a month, day, year from the date command.  So I used the following, which essentially parses the Date command to extract its sub strings into a variable:  set Day=%Date:~3,2% set Mth=%Date:~0,2% set Yr=%Date:~6,4%   This is all great, but if I deploy this batch file to a machine with a different regional/country settings, it fails because month, day and year are in different locations.   How can I extract month, day and year regardless of the date format? iOS navigation bar item image size Tracking down where disk space has gone on Linux? When administering Linux systems I often find myself struggling to track down the culprit after a partition goes full. I normally use du / | sort -nr but on a large filesystem this takes a long time before any results are returned.  Also, this is usually successful in highlighting the worst offender but I've often found myself resorting to du without the sort in more subtle cases and then had to trawl through the output.  I'd prefer a command line solution which relies on standard Linux commands since I have to administer quite a few systems and installing new software is a hassle (especially when out of disk space!) onConfigurationChanged not getting called Do GTA 5 saves back-up to a cloud service? For GTA 5 (on PC), if I have a save file, will it automatically back-up to either the Steam or Rockstar cloud, or do I have to save it manually? If it have to save it manually, will you please provide the default directory for saves? Any difference between "Good morning, Brian" and "Good morning to you, Brian" I often hear it on TV when they are talking to a guest.  Normally, if we want to greet Brian in morning, we would say "Good Morning Brian". But many times TV presenters say "Good morning to you Brian".  Why is that? Why do they add "to you". There seems to be no need to do it.  Regards, Can WMS be used to get a local copy of raster data? How to make the taskbar blink my application like Messenger does when a new message arrive?