I realized that page number of Literature in Table of Contents is wrong, i.e. displays page number of last page of references instead of first page of references (clicking on this number leads to first page of ref.)  \documentclass{harvard-thesis} \usepackage{chngcntr} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead[LE]{} \fancyhead[RO]{} \fancyhead[RE]{} \fancyhead[LO]{} \fancyfoot[C]{} \rfoot{\thepage}  \fancypagestyle{plain}{% \fancyhf{} \rfoot{\thepage} }  \usepackage{indentfirst} \setlength\parindent{1cm} \usepackage{ragged2e} \justifying \linespread{1.3}  \usepackage[labelsep=period]{caption}  \begin{document} \pagestyle{plain}  \renewcommand{\bibname}{Literatura}  % the front matter \input{frontmatter/coverpage} \maketitle \copyrightpage \abstractpage \tableofcontents %\authorlist \listoffigures \dedicationpage \acknowledgments  \include{chapters/chapter1} \include{chapters/chapter2}  \clearpage \bibliography{literatura} \addcontentsline{toc}{chapter}{Literatura} \bibliographystyle{apalike-fr}   \end{document}   Any solutions?
Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents?  So in the the table of content there will be a line saying List of figures ... 19 for example?
Can't get rid of header X-Powered-By:Express How do I use SQL's GETDATE() and DATEADD() in a Linq to SQL expression? If I have a Linq to SQL expression like this:    from subscription in dbContext.Subscriptions  where subscription.Expires &gt; DateTime.Now select subscription   I want this to to use the SQL Servers GETDATE() function instead of the time of the machine running the C# program.  The next question would be how to translate this:  DateTime.Now.AddDays(2)   to this:  DATEADD(dd, 2, GETDATE()) Number of isosceles triangle. ! LaTeX Error: Undefined color `BLACK' i have written all the text in black color, but i get this error several times in the same page:  ! LaTeX Error: Undefined color `BLACK'.   i tried to solve it by writting this: \definecolor{black}{gray}{0,0,0} but it didn´t work.   what should i do? Fantasy book with shape shifting dragon warriors Set in a fantasy world with shape shifting Dragon kings and their warriors. They terrorize the humans, and kill those with magic.   The protagonist is the great-grandson of a powerful warlock. He finds out that he has magic, and fights with it to save his new friends, the Griffin, Blackhorse (I think that's his name), some creepy necromancer who is immortal, and Gwen (fellow sorceress), along with the kingdom that the Griffin rules in.   They fight the protagonist's father, the leader of the Dragon kings, the king's Duke, and the creepy sorcerer, who has a curse (when he dies, he changes side from good to bad, or bad to good). I have no clue what this is called, but I want to find out, since I'm out of things to read. Prove that:   $$p \,\,\left|\, {p \choose k} \right., \quad 0&lt; k \lt p$$   if $p$ is prime.   how to prove that with direct proof? I am going to change my machine: from a laptop with Ubuntu to another laptop where I am going to install Ubuntu...  I am quite happy with the current system, what I am afraid of is having to rebuild everything from 0.  So what do people often do to clone an Ubuntu system? That may include the data, packages, shortcut settings, etc... Automatically convert links to popular mobile pages (such as the mobile Wikipedia) to point to the corresponding regular pages This issue came up  on Worldbuilding:  If somebody is on a mobile device and wants to cite, e.g., Wikipedia, they usually insert a link to the  instead of the regular one. This is annoying for users with immobile devices, while it poses no benefit to users with mobile devices, who should get redirected to the mobile Wikipedia anyway.  I thus request that links to mobile versions of popular web pages are automatically converted to regular ones either in the post source or when rendering the page.  As  mentioned, an author may sometimes explicitly want to link to the mobile version of a webpage but as far as I can tell, this should be the exception. At least for Wikipedia, an automatic conversion would do much more good than harm, because it is very often cited as a resource. For example, until recently, there were at least 82 posts with links to the mobile Wikipedia on Worldbuilding alone (going by  edit spree to remove them) How to get ongoing notifications of unread texts? One of my family members texts me at night when they are having nightmares. I want to know when they text me at 4 am instead of sleeping through it.  Is there a way to make text notifications keep going off until read? Why is the CDF of a sample uniformly distributed I read  that given a sample $ X_1,X_2,...,X_n $ from a continuous distribution with cdf $ F_X $, the sample corresponding to $ U_i = F_X(X_i) $ follows a standard uniform distribution.  I have verified this using qualitative simulations in Python, and I was easily able to verify the relationship.  import matplotlib.pyplot as plt import scipy.stats  xs = scipy.stats.norm.rvs(5, 2, 10000)  fig, axes = plt.subplots(1, 2, figsize=(9, 3)) axes[0].hist(xs, bins=50) axes[0].set_title("Samples") axes[1].hist(     scipy.stats.norm.cdf(xs, 5, 2),     bins=50 ) axes[1].set_title("CDF(samples)")   Resulting in the following plot:    I am unable to grasp why this happens. I assume it has to do with the definition of the CDF and it's relationship to the PDF, but I am missing something...  I would appreciate it if someone could point me to some reading on the subject or help me get some intuition on the subject.  EDIT: The CDF looks like this: String processing in windows batch files: How to pad value with leading zeros? So, I was given the following problem as part of a homework assignment.     Suppose $f'(x) &gt; 0$ in $(a,b)$. Prove that $f$ is strictly increasing in $(a,b)$, and let $g$ be its inverse function. Prove that $g$ is differentiable, and that   $$g'(f(x)) = \frac{1}{f'(x)}$$   I have proven that $f$ is strictly increasing in $(a,b)$, and I could prove that $g'(f(x)) = 1/f'(x)$ if I could prove that $g$ is differentiable. The problem is that I am having trouble with a proof of that. Any advice?   Also, as a reference, this is exercise 5.2 from Baby Rudin. How do I complete "Find the Bitizen"? In tiny Death Star, Palpatine has given me the mission "Find the Bitizen" with the text "Working for tips is acceptable. Find 1 Bitizen(s)."  I assumed I had to wait for one of the events where you have to find a "rebel scum" and tap on it to get rid of. One of those events finally popped up but it did not complete the mission.   How do I complete this mission? Which way should arrows point in a collapsible accordion? Left/down … down/up? What is the basic concept behind hooks? I am intermediate in PHP. To polish my skills I start learning Drupal 7. While learning Drupal architecture concepts, the terms hooks and bootstrapping puzzled me a lot. I read the "Pro Drupal development" book, and some documentation on drupal.org, but it is so advanced for me to learn how hooks work in Drupal to display the web page.  Can anyone tell me what hooks are in simple words? How do I automatically remap buttons on my mouse at startup? Creating an arbitrary state of the quantum simple harmonic oscillator Ubuntu 16.04 Jan 3 2018 update causing screen/access issues Yesterday (Jan. 3, 2018), I installed an OS update (Ubuntu 16.04), using the Software Center. My system isn't working correctly now. When my mouse rolls over the Launch bar, it disappears, then any open window disappears, leaving me with only the desktop screensaver showing. I can't even shut the computer off using the settings button on the top.  I went into the Terminal and attempted to fix it using the following commands:  sudo apt-get dist-upgrade sudo apt-get autoremove   But I'm still having the same problem.  I have reinstalled Ubuntu 16.04 and when I accepted the update on install had the same problem.  I have reinstalled it a second time but have not done an OS update and everything seems to be working fine.    Found another user with the same problem:    Is it possible that the Meltdown security update is at fault?  I've read the update has been issued for 64-bit x86 architecture ();  I'm running a 32 bit i386 architecture.  Could that be an issue and is there a way to correct it? Modify iPhone restrictions passcode Is there a way to change the restrictions passcode on an iPhone without restoring the phone? I haven't forgotten the passocde; I just want to change it. Windows 7, any way to sort folders and files all mixed together? Is there a way to sort folders and files by their name all mixed together in Windows 7?  It would be easier to understand if you .  I want my folders and files arranged like the BEFORE situation of the first screenshot.  If there is no way to do that with Windows Explorer, is there any file management programs that I should try?  I've already tried Total Commander.