Similar to , how can I indent the chapter*-like entries to the same indent as the numbered chapters? section* work with \KOMAoptions{toc=indentunnumbered}.  The main difference to the other questions concerning indent with unnumbered chapter is related to indexes: The indentation of indexes won’t work with \addchap/\addsec etc.    \documentclass[ngerman,twoside=false,listof=totoc,listof=leveldown]{scrbook} \usepackage{imakeidx} \usepackage[style=archaeologie]{biblatex} \addbibresource{archaeologie-examples.bib} \usepackage{babel} \newcommand\tocgobble[1]{}% &lt;- added \newcommand\tocpageseparator{\footnotesize\,\mbox{---}\,} \newcommand\tocpagenumberbox[1]{\mbox{#1}} \KOMAoptions{toc=indentunnumbered}%indent only for section* !?  \RedeclareSectionCommands[   tocraggedpagenumber,   toclinefill=\tocpageseparator,   tocindent=0em,   tocnumwidth=4em,   tocpagenumberbox=\tocpagenumberbox ]{chapter,section,subsection,subsubsection,paragraph}  \RedeclareSectionCommand[   tocentryformat=\large\scshape,   tocindent=0em,   tocnumwidth=4em,   tocpagenumberbox=\tocgobble ]{part}  \RedeclareSectionCommand[%   tocentryformat=\textbf% ]{chapter}  \makeindex[   intoc,   name=loc,    title={Locations},   columns=3,   ] \indexsetup{%   level=\section*,   toclevel=section,   noclearpage,   firstpagestyle=scrheadings,   headers={\indexname}{\indexname},     } \begin{document}   \nocite{*}   \frontmatter   \tableofcontents   \mainmatter   \part{part}   \chapter{chapter chapter}   \section{section section section}  \section{section section section}  \section{section section section}   \part{part}   \chapter{chapter chapter}   \section{section section section}  \section{section section section}  \section{section section section}   \setcounter{page}{100}   \part{part}   \chapter{chapter chapter}   \section{section section section}  \section{section section section}  \section{section section section}   \backmatter    \part{part} \index[loc]{A location}   \chapter*{Abbildungs-, Tabellen-, Tafelverzeichnis}   \addcontentsline{toc}{chapter}{Abbildungs-, Tabellen-, Tafelverzeichnis}   \listoffigures   \chapter*{\bibname}   \addcontentsline{toc}{chapter}{\bibname}   \printbiblist[%       heading=subbibintoc,%     title={Zeitschriftenabkürzungen}]{shortjournal}   \printbiblist[%     heading=subbibintoc,%     title={Reihenabkürzungen}]{shortseries}   \printbibliography[heading=subbibintoc] \chapter*{Indizes} \addcontentsline{toc}{chapter}{Indizes} \printindex[loc] \end{document}
I am having some issues with the hyperref package. I would like to create a Introduction chapter without a number so I use \chapter*{Introduction} and \addcontentsline{toc}{chapter}{Introduction} because I want it in the table of contents (see example).  But then the link in my PDF viewer gets it wrong and also the automatically created header is no longer correct (see picture). The table of contents shows the right page number (p.1) but the link is also wrong.   What is my mistake here?  \documentclass{scrbook}  \usepackage{hyperref} \usepackage{blindtext} \usepackage{glossaries}   \makeglossaries  \newacronym{eg}{e.g.}{% for example }   \begin{document}   \frontmatter  % abstract before the table of contents \chapter*{Abstract} \addcontentsline{toc}{chapter}{Abstract} \blindtext  \tableofcontents  % chapter with acronyms \cleardoublepage \phantomsection  \printglossary[type=\acronymtype] \addcontentsline{toc}{chapter}{Glossary}  \cleardoublepage \mainmatter   \phantomsection % \chapter{Introduction} % with this everything is correct but I don't want the number \chapter*{Introduction} \addcontentsline{toc}{chapter}{Introduction}  \blindtext  \pagebreak  \blindtext  % first chapter \chapter{Chapter1}  \gls{eg} \blindtext  \pagebreak  \blindtext   \end{document}
Drawing/Sketching Tool for elaborating questions More often than not I need to elaborate my question put up on Stack Overflow with a custom sketch, UML class diagram, flow chart.    It is in these times I have to open up a custom paint software, factor out some diagrams, export it as an image, attach it to Stack Overflow. I wouldn't know how complicated it is to invest in having such a sketching or drawing tool integrated, It could even be a basic pen stripped off all the advanced features leaving it a bare minimum.  Such a tool if incorporated into the Stack Overflow "ask question" UI would be certainly helpful.  As of Today this Question has been visited around 170 times and 7 answers, This was meant to be the voice of Stack Overflow users. Would you need a Drawing Tool for you on the Stack Overflow site, would it help you to express you questions and answers better? Sadly, only 2, or 3 answers are in the context of the question. The bounty was meant to be a bait and even that ends tomorrow. Hope you'll get the will and the zest to comment on this question today and in the future . I have a polygon shape file that has many overlapping features. Each feature represents an area used by polar bears. So some of the polygons overlap and some don't, and there are separate clusters of overlapping areas.   I would like to get a measure of how much overlap there is in a particular area. But I have no clue how to do this. I'm pretty new to GIS and am still learning the ropes, it just seems I can't find an answer. I'm looking for the name of a sci-fi series, intended for children. Robots have control over the humans. There is a squad of humans who attack them. Every member in this squad has a badge on their suit, and when they touch this badge the suit becomes armed. This series was not cartoon series, it was performed by real people. The main robot character is very similar in style to Darth Vader in Star Wars. The series aired in the 1990s. I am sorry but I can't recall many details. Why do some Unicode text messages crash the iPhone OS? I just re-watched the scene of Voldemort's death in the Deathly Hallows Part 2 movie. Voldemort and Harry's wands were locked with each other and then Neville killed Nagini. Suddenly, the green and red lights from Harry and Voldemort's spells disappeared. Both Voldemort and Harry noticed that the last Horcrux was no more.  Seeing that, why didn't Voldemort simply escape? He could have later returned with a new set of Horcruxes. Proving $v(s,p)=2^{p-1}(2s-1)$ is a bijection of natural numbers and $f(s)=2s-1$ is a bijection between natural numbers and odd numbers. How do I prove this function is bijective? $$ v(s,p)=2^{p-1}(2s-1). $$ The domain is natural numbers and the codomain is also the natural numbers.  And this one: $$ f(s)=2s-1. $$ The domain is the natural numbers, and the codomain is the odd numbers in the natural numbers.  With this one I would do this to show it's injective: $$ \begin{align} v(s)&amp;=v(s_1)\\ \implies 2s-1&amp;=2s_1-1\\ \implies (2s_1)/2&amp;=(2s_2)/2\\ \implies s=s_1 \end{align} $$ So it's injective since if $v(s)=v(s_1)$ then $s=s_1$.  And to show it's surjective $f(s)=y$: $$ \begin{align} y&amp;=2s-1\\ \implies s&amp;=(y+1)/2 \end{align} $$ Then the function must be surjective since every $y$ is the same as the codomain for $f$.  Am I correct? That's a lot of ___ vs. those are a lot of ___ That's a lot of cars!   Those are a lot of cars!      The context is when a someone sees many objects (in this example, cars) and makes the exclamation.   According to , lot can handle either singular or plural verbs.  I agree with the author who states that that's sounds better, but the post doesn't seem definitive either way.     Are both grammatically correct and do they have the same meaning? Chat arrangement question: Left or right? I'm building a small chat. Now I see but in other chats (whatsapp, facebook mobile chat, sms ...) that the arrangement is always the same:  Left: the chat partner. right: myself      Why is that? When a user who approved an edit is removed, an incorrect "-2 reverted" event appears in reputation history I am aware that . But now there is an extraneous "reverted" event to go along with user removal:     Source: .   The edit was not reverted, it's . In any case, I should not lose 2 points twice for the total of -4. And indeed, my reputation only dropped from 131 to 129 despite what the history suggests.   So the line with "-2 reverted" is a bug.     A more extreme example:  got 21 "reverted" events on 2017-06-30, none of which should be there. His rep loss is 42, not 84 as the reputation history says. Is the above statement true? If I have already proven that the set is linearly independent, is it automatically given that the subset is also linearly independent? If so, how would I go about showing that as a proof. Where should the period be put when an entire sentence is quoted at the end of a sentence? I have to find the limit of this sum: $$\sum_{r=1}^{\infty}\cot ^{-1}(r^2+\frac{3}{4})$$  I tried using sandwich theorem , observing:  $$\cot ^{-1}(r^3)\leq\cot ^{-1}(r^2+\frac{3}{4})\leq\cot ^{-1}(r^2)$$  Now when I was calculating the limit of left hand expression, I convert it to $\tan^{-1}$, by using:  $$\tan^{-1}\frac{1}{x} = \cot^{-1}x$$  but couldn't sum up the terms of arctan series.     How can I proceed?   Is there any better way ? MySQL strip non-numeric characters to compare I'm looking to find records in a table that match a specific number that the user enters.  So, the user may enter 12345, but this could be 123zz4-5 in the database. I imagine something like this would work, if PHP functions worked in MySQL. SELECT * FROM foo WHERE preg_replace(&quot;/[^0-9]/&quot;,&quot;&quot;,bar) = '12345'  What's the equivalent function or way to do this with just MySQL? Speed is not important. In Mootools, I'd just run if ($('target')) { ... }.  Does if ($('#target')) { ... } in jQuery work the same way? I have a problem with this file tex:  \begin{document} \begin{figure} \begin{center} \begin{pspicture}(0,0)(1,3.8) \psline{-&lt;}(0,0)(0,.2) \psline{-}(0,.2)(0,.4) \psline{*-&gt;}(0,.4)(0,.9) \psline{-*}(0,.9)(0,1.4) \psline{-&lt;}(0,1.4)(0,2.4) \psline{-}(0,2.4)(0,3.4) \psline{*-}(0,3.4)(0,3.6) \psline{&gt;-}(0,3.6)(0,3.8) \rput(1,.4){$y=0$}%testo \rput(1,1.4){$y=1$} \rput(1,3.4){$y=3$} \end{pspicture} \end{center} \caption{} \end{figure} \end{document}   but I don't understand where is the error. How do I get the  value of a character as an int in ? Why can templates only be implemented in the header file? Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.) What's the difference between term_id and term_taxonomy_id Let $R$ be a commutative ring with identity, and $S$ a multiplicative subset of $R$ not containing $0$. Which step in my reasoning is wrong?   Every element of $S$ is a unit in $S^{-1}R$. Every element of $S$ that's a zero divisor in $R$ is a zero divisor in $S^{-1}R$. But zero divisors can't be units. Therefore it's not possible to localize $R$ at $S$. I know that I can create/burn bootable CD/DVD or live USB and can boot/install from it. But suppose I am currently running GNU/Linux and I've ISO file of another GNU/Linux that I want to install on my hard disk, then Can I directly boot from ISO from hard disk and try/install that GNU/Linux operating system?