I would like to implement horizontal dotted lines in the chapters in my TOC , just as it already does for sections:    So I am missing the dotted lines for the LOF, LOT, bibliography and Chapter 1.  My code is as follows:  \documentclass[12pt,a4paper,twoside]{report}  %Seitenlayout \usepackage[top=2.5cm, bottom=2cm, left=2.5cm, right=2.5cm,paper=a4paper]{geometry}  %Deutsche Umlaute \usepackage{ngerman}  %Zitierungen in der richtigen Reihenfolge \usepackage{cite}   %Längenangaben für den Abstand zwischen zwei Absätzen.  \usepackage{parskip}   %Zeilenabstand ändern \usepackage[onehalfspacing]{setspace}   %Farbige Texte etc \usepackage{color}   %Graphiken und Bilder \usepackage{graphicx} \usepackage{subfig} \usepackage{psfrag} \usepackage{wrapfig}  %Tabellenumgebung \usepackage{tabularx} \usepackage{booktabs} %\toprule, \midrule, \bottomrule  %Mathematische Symbole und Zeichen \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs}  %Algorithm Package \usepackage[ruled,vlined]{algorithm2e}  %Blindtext \usepackage{blindtext}  %Verzeichnisse \usepackage[notindex, nottoc, numbib]{tocbibind}   % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = % Makro Abstract % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = \newcommand{\Abstract}{ This is an abstract.\\  \textit{\textbf{Anmerkung:}\\ Der Abstract ist bei Arbeiten, die neben dem deutschen einen englischen Titel haben, verpflichtend.} }   % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = % Anfang von Dokumententext % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = \begin{document}  \pagenumbering{Roman}   % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = % Einbettung des Abstracts % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = \chapter*{Abstract} \chaptermark{Abstract} \Abstract \cleardoublepage   % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = % Verzeichnisse % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = \tableofcontents  \listoffigures  \listoftables  \newpage  % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = % Beginn des Inhalts % = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = \pagenumbering{arabic}  \chapter{Einleitung} \blindtext  \section{Dies ist ein Unterkapitel}  \blindtext  \section{Tabellen} Hier ist eine Tabelle gegeben. \begin{table}[th] \centering \begin{tabular}{l|c|r} Ort &amp; Temperatur  &amp; Luftfeuchtigkeit  \\ \hline Bochum &amp; $16^\circ \text{C}$ &amp; $60 \%$ \\  M\"unchen  &amp; $19^\circ \text{C}$ &amp; $62 \%$ \\  Berlin  &amp; $14^\circ \text{C}$ &amp; $63 \%$ \\ Frankfurt  &amp; $15^\circ \text{C}$ &amp; $64 \%$ \\   \end{tabular} \caption[Darstellung der Temperatur und der Luftfeuchtigkeit am 22.09.2012]{Darstellung der Temperatur und der Luftfeuchtigkeit am 22.09.2012 an ausgew\"ahlten Orten in Deutschland. Die erste Spalte ist links ausgerichtet, die zweite zentriert und die dritte ist rechts ausgerichtet.}\label{tab:TempUndLuftfeuchtigkeit} \end{table} Tabelle \ref{tab:TempUndLuftfeuchtigkeit} kann mit dem Befehl \verb|\ref{EinEindeutigerName}| einfach referenziert werden.  \section{Abbildungen}  \begin{figure}[th] \centering \subfloat[]{\includegraphics[width = 0.45\textwidth]{./figures/pt1.eps}} \caption{Diese Abbildung zeigt die Sprungantworten eines $\text{PT}_1$ und eines $\text{PT}_2$-Gliedes. } \end{figure}   \section{Literaturverwaltung}  Beispiel: Der Artikel von Bemporad et al.~\cite{Bemporad2002} gibt eine gute \"Ubersicht \"uber explizite Modellpr\"adiktive Regelung.   Jones2006b \cite{Jones2006b}   %Bibliography % \nocite{*} %Wird verwendet um eine Literaturquelle im Verzeichnis erscheinen zu lassen, ohne auf sie im Text zu verweisen.  \bibliographystyle{abbrvdin} \bibliography{Masterarbeit_Bibliothek_CN}    \end{document}   Thank you very much in advance.
When typesetting an article documentclass, the sections appear as bold in the table of contents, with no leading dots. I would like to change these to non-bold, and insert some leading dots. I tried the following, but it seems to be ignored. Any ideas?  % change section headers and page numbers to normal instead of bold font \renewcommand{\cftsecfont}{ \normalfont } \renewcommand{\cftsecpagefont}{% \normalfont } % use leader dots with section headers \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
How to escape '$' and '#' in Facelets/EL? There's another question on physics.SE whose , if I have understood it correctly, explains that the farther the points are in space the faster they are moving away from each other.     Actually, the apparent speed with which two of the points on the   circle in a distance $D$ of each other would move relative to each   other will be $v = H_0 D$ where $H_0$ is the speed the balloon itself   is expanding.   This means that even the ruler sitting on my desk is expanding, just that the expansion is very very slow owing to the ruler's small size relative to the cosmic scales. However, if everything is scaling then everything should apparently be of the same size to an observer in such an expanding space. The  quote from the show "The Big Bang Theory" comes to mind.   To be able to counter that, there're some phenomena that we can observe which are scale invariant. Red-shift would be one such phenomenon. But is red-shift the only way we can tell that the space is expanding? Is there a logical flaw in my thinking? I know that red-shift is a result of the Doppler effect - there's bound to be a decrease in the frequency of a signal, as perceived by an observer, emitted by a source which is moving away relative to the observer. Is your MAC address revealed when you hit up a website? .cache/upstart/Unity7.log growing to consume the entire free disk space. Python cypto suspected How to copy files that have too long of a filepath in Windows? What application launchers are available for Ubuntu? A lot of people write makefiles that say something like  paper.pdf: paper.tex         pdflatex paper         bibtex paper         pdflatex paper         pdflatex paper   To handle re-running TeX to get new/changed references and so forth. Is there a better way to do this? How to run long time process on Udev event? I want to run a ppp connection when my USB modem is connected, so I use this udev rule:  ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="16d8",\     RUN+="/usr/local/bin/newPPP.sh $env{DEVNAME}"  (My modem appears in /dev as ttyACM0)  newPPP.sh:  #!/bin/bash /usr/bin/pon prov $1 &gt;/dev/null 2&gt;&amp;1 &amp;   Problem:  The udev event fires, and newPPP.sh is running, but newPPP.sh process is killed after ~4-5s. ppp does not have time to connect (its timeout is 10s for dial up).  How can I run a long time process, that will not be killed?  I tried using nohup, but it didn't work either.  System: Arch Linux  Update  I found a solution , thanks to .  I use at now to run my job detached from udev process.  But the one question remains unanswered: Why do nohup and &amp; not work? The junction has a stop sign on each of the four entrances.   The junction has a stop sign on each of the 4 entrances.   The first is preferred, for some reason, by many English texts. Why? I haven't seen this phenomenon in other languages. Removing leading zeroes from a field in a SQL statement I am working on a SQL query that reads from a SQLServer database to produce an extract file. One of the  requirements to remove the leading zeroes from a particular field, which is a simple VARCHAR(10) field. So, for example, if the field contains '00001A', the SELECT statement needs to return the data as '1A'.  Is there a way in SQL to easily remove the leading zeroes in this way? I know there is an RTRIM function, but this seems only to remove spaces. Calculating the total number of surjective functions It is quite easy to calculate the total number of functions from a set $X$ with $m$ elements to a set $Y$ with $n$ elements ($n^{m}$), and also the total number of injective functions ($n^{\underline{m}}$, denoting the falling factorial). But I am thinking about how to calculate the total number of surjective functions $f\colon X \twoheadrightarrow Y $.  The way I thought of doing this is as follows: firstly, since all $n$ elements of the codomain $Y$ need to be mapped to, you choose any $n$ elements from the $m$ elements of the set $X$ to be mapped one-to-one with the $n$ elements of $Y$. This results in $n!$ possible pairings. But the number of ways of choosing $n$ elements from $m$ elements is $\frac{m!}{(m-n)!\,n!}$, so the total number of ways of matching $n$ elements in $X$ to be one-to-one with the $n$ elements of $Y$ is $\frac{m!}{(m-n)!\,n!} \times n! = \frac{m!}{(m-n)!}$.  Now we have 'covered' the codomain $Y$ with $n$ elements from $X$, the remaining unpaired $m-n$ elements from $X$ can be mapped to any of the elements of $Y$, so there are $n^{m-n}$ ways of doing this. Therefore I think that the total number of surjective functions should be $\frac{m!}{(m-n)!} \, n^{m-n}$.  Is this anything like correct or have I made a major mistake here? Combining multiple textures with a white background I'd like to sort of "overlay" these shaders, but the only options are mix and add. Allow me to explain.  I made two images, both white background, one with red scribbles and one with blue scribbles, both 1920x1080. Image textures plugged into diffuse was my node setup. I want both scribbles to be added to the plane while the background stays the same color.  If I mix them I get the following:  The red and blue scribbles are now 50% dimmer than they would be on their own, and the white color hasn't changed in intensity.  If I add them I get the following:  The red and blue scribbles are still 50% dimmer than they normally would be (since the white background is being added over each). But the white background is now 2x brighter than normal.  Can I get a result where the white background is normal brightness and both the blue and red scribbles are at normal brightness? I used to do a full factory wipe then flashed a stock firmware with Odin, that helped me get back to having access to my mobile network then I flashed to Resurrection Remix 5.5.3 and lost access to my mobile network (Emergency Calls Only) I checked my IMEI and it appears to be valid. I didn't backup my /efs I didn't do anything to it. What seems to be the solution? I have a Samsung Galaxy S3 (I-9300) The  makes use of the term "the author."  When Bob makes a post, it's obvious Bob "owns" the content, but what happens when he checks the Community Wiki button? Does it become the property of the Stack Overflow community? Even if Bob is the only one to have edited it?  Say I were to use a Community Wiki answer for something or other &#8212; say, in a book &#8212; who would I attribute the content to? Colored borders around windows after update After some gorgeous updates I witness this: What is the intuitive meaning of line integral with respect to x? I know how the line integral is calculated, but I want to know what the meaning of line integral with respect to x is, I mean, intuitively. The integral is $\int_C f(x,y) dx$ or it can be $\int_C f(x,y) dy$. ($C$ is a curve here) Thanks. How do you tell what brand/make/model of bike I have? I have a bike I'm trying to sell because it's just been sitting in my basement. It looks as if someone primered it and the only thing I found was a serial number. Is there like a website I can look up more info on the bike using just that number? A problem about an $R$-module that is both injective and projective. Let $R$ be a domain that is not a field, and let $M$ be an $R$-module that is both injective and projective. Prove that $M= \left \{ 0 \right \}$.   This is exercise 7.52 of Rotman's Advanced Modern Algebra. Using theorems before exercises, because $M$ is injective and $R$ is a domain, I conclude that $$\forall m\in M ,\forall r\in R\ (r\neq 0) ,\exists {m}'\in M \Rightarrow m=r{m}'$$ and also because $M$ is projective there is a surjective $\psi$ from free $R$-module $F$ with basis $\left \{ e_{i} \right \}_{i\in I}$ to $M$ and thus we can conclude that for every $m\in M$ we have $$m=\sum r_{i}\Psi (e_{i})$$ now I don't know how should I use these together.  The idea of what is happening or a suggestion or a hint will be great. Let $p$ be a prime number and $G$ a non abelian group or order $p^3$. Prove that $Z(G) = [G,G]$.   I have already figured out that $|Z(G)| = p$, and that $G'=[G,G] \lhd G$.  Also, $|G'| = p$ or $p²$.  I suppose I'd have to prove that $G' \subset Z(G)$, but I've been trying and I have no idea how. Any hints? Thanks! Why does the /boot partition get updated when I install software Based on some recommendations I read online, on install of a new (Ubuntu) system, I made my /boot partition separate from / and small in size (only around 50 MB). It makes sense to me that you would only need limited files in that partition, and the boot sequence only needs so much data initial data on boot so no need (or so goes my thinking) to make it much larger.   I was surprised as I started using my system and installing software was failing due to the following (or similar) issue:  gzip: stdout: No space left on device cpio: write error: Broken pipe E: mkinitramfs failure cpio 1 gzip 1 update-initramfs: failed for /boot/initrd.img-3.2.0-18-generic with 1.   I have already seen  and am planning on doing a reinstall with a larger /boot partition. My questions are:  Why does the /boot partition data get updated when I am only installing software?  obviously 50 MB is too small for my needs, so what would be a reasonable /boot partition size?  Does it even make sense to have separate boot partition? after all it could simply use all the disk space it wants in the / partition.