I want to add a horizontal line after the name of the part in the table of contents. I tried   \Part{Part I}  \addtocontents{toc}{\noindent {\color{blue} \rule{\linewidth}{1mm} }}   but unfortunately this does not work. I need help in solving such a problem. Here is my MWE   \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{fullpage} \usepackage[utf8]{inputenc} \usepackage[nottoc]{tocbibind} \usepackage{tocloft}  \begin{document}  \newpage   \tableofcontents  \newpage  \part*{PART I} \addcontentsline{toc}{part}{{\huge \textbf{PART I}}}
How can i make a little line under the name of the part. My trial is   \part*{PART I} \addcontentsline{toc}{part}{{\huge \textbf{PART I}} \\ \hrule}  but this falis, and here is a screenshot including the part. Thanks in advance.
Installing gcc-7 (and newer packages) in Ubuntu 16.04 May someone help me? I am trying to use induction to prove that the formula for finding the $n$-th term of the Fibonacci sequence is:   $$F_n=\frac{1}{\sqrt{5}}⋅\left(\frac{1+\sqrt{5}}{2}\right)^n-\frac{1}{\sqrt{5}}⋅\left(\frac{1-\sqrt{5}}{2}\right)^n.$$  I tried to put $n=1$ into the equation and prove that if $n=1$ works then $n=2$ works and it should work for any number, but it didn't work. I need to prove that this formula gives the $n$th Fibonacci number. Page returns 404 with POST variables, but not without I have a problem with my page. I'm trying to make a "Contact Us" page. It's working perfectly fine design-wise. But when I try to send the form to the same page as origin. It returns 404 error.  It only happens when I'm sending the form. I've tried both with GET and POST requests. Nothing seems to work.  I've even commented out the PHPMailer part. It's caused entirely by the extra variables.  If it helps anything, they're "name", "email" and "message". Confused! Are there any differences between "I have to go", "I had to go", "I've had to go", "I get to go", "I got to go", "I've got to go"? I am Confused!   Are there any differences between "I have to go", "I had to go", "I've had to go", "I get to go", "I got to go", "I've got to go"?  In which situation is each term used?  I checked this dictionary , &amp; found that      get to do something:  to have the opportunity to do something   Seem like if you have a opportunity to do something, then use "get".  The expression is in present but why we use present perfect tense (Ex: I've got to go) here? How do I make Endermen spawn more frequently? I'm playing vanilla Minecraft, and am getting ready to head to the end.  I need Eyes of Ender (and hence Ender Pearls), and in my main hunting grounds (a large desert area) as little as one Enderman may spawn per night.  Is there any way to "promote" Enderman spawning so I can get pearls more quickly? Varying behavior for possible loss of precision On my homepage, I'm using this method to hide my email from spam bots:  &lt;a href="admin [at] example.com"    rel="nofollow"    onclick="this.href='mailto:' + 'admin' + '@' + 'example.com'"&gt;Contact me&lt;/a&gt;   What do you think about it? Is it effective? What other methods do you know or use? Is cross-posting wrong (to an external site)? I made a question at Stack Overflow long ago and also posted the same question in a non-Stack Exchange website (Xtreme VB Talk). The question .  According to the answer, I shouldn't have cross-posted between Stack&nbsp;Overflow and XtremeVBTalk, because     it increases the probability that wires will get crossed and everyone will waste time.   But I'm not sure why is that wrong. You see, I simply see Stack&nbsp;Overflow and XtremeVBTalk as two different communities with different users. So posting the question in both sites would just give me more answers. And if I got the answer in one of them, I would report back to the other site and let everyone know (and perhaps someone else would be benefited as well). I really doubt it is a waste of time - the more input, the better. The fact that someone was a user in both websites is simply a coincidence.  I realize that Meta&nbsp;Stack&nbsp;Exchange question  exists, but apparently it involves cross-posting within Stack Exchange sites, but this is about external websites instead.  I also realize that I was told that as "advice" (since my question was not flagged or anything), but well, I am now curious: Why would anyone consider this a bad practice? "sudo -u postgres psql postgres" does not ask for password How can I recover photo files from a memory card with a corrupt filesystem? I know this is not specifically a photography issue but since many of us with prosumer/professional-level DLSRs use Compact Flash cards, it is bound to happen to others as well.  I have a Sandisk 16GB Ultra card that occasionally had the camera reporting inability to access the card. I had to reinsert the card to continue using it. I was able to read the card and transfer the photo files to my computer drive. Today, the same thing happened again, just that nearing the capacity of the card, it failed one last time and the camera was subsequently unable to read it anymore. Despite reinsertion.  My other CF cards never once exhibited this problem, so it's pretty much isolated to this card.  The card is similarly unrecognisable on my computer CF card reader. I think the filesystem is toast, but I suspect the photo files are still intact. I would like to find ways where I can inspect the raw binary data in the card and hopefully recover the photos? Characterizing Dense Subgroups of the Reals Center of mass in n dimension, possible? Is it possible to calculate the center of mass for some 20-dimension ($x_i, i=1,\ldots,20$) particles? If it is possible, how can I do that? Spacing problem at List of Figures I have 6 images, and I want to align them in this way  (a)image1 (c)image3 (e)image5  (b)image2 (d)image4 (f)image6  Any one know how to do that?  The problem for me is how to make (a), (b),..., (f) in vertical direction. Recently I installed Ubuntu 12.10 x64 Server Edition on my PC. Unfortunately, I attempted to install a lightweight desktop but due to the fact that I have an old graphics card, the PC does not perform so well. I am thinking of re-installing an Ubuntu version but I do not want to lose the contents in my home folder. Is there any way to do that with a Live CD? I am Indian passport holder living in Hungary for 4 years and I have been issued a Temporary residence permit (EU Schengen).  Can I go to visit Dublin without any visa, or do I need to apply for a UK visa? I know Ireland still in Schengen but part of United Kingdom. How well-known is the theology of Middle-earth, in Middle-earth? One thing that is notably absent in Middle-earth is any mention of temples, churches, priests or religious rites.  There are passing mentions of Men who would "worship" Sauron, but generally the world of Middle-earth seems much less religious than medieval Europe, or even classical antiquity.  One never hears about "the cult of Aule" or "the cult of Yavanna," although historically there were many "cults of Athena" or "cults of Poseidon."  Aragorn doesn't (to my memory) make an offering to Tulkas before battle, nor does he pray to Eru Ilúvatar for victory, and all the holidays and solemnities seem to commemorate historical figures, not religious ones.  This is especially strange in a world where there are still living witnesses, like Galadriel, to the actions of the Valar and other "divine" beings, and where there are still Maiar wandering around talking to people and putting on flashy firework shows.  Now, a lot of people talk about how Tolkien didn't want the Valar to be considered "gods," but at the same time he did use phrases like "the gods of old" numerous times.  Clearly, these beings would have qualified for worship in most cultures.  And even without the Valar being considered a true pantheon, there is still Eru, a closer analogue to the Christian God of Tolkien's beliefs, and we know the denizens of Middle-earth knew of him (Him?) because of the line "Eru, who in Arda is called Ilúvatar."  And yet, Ilúvatar seems not to be terribly important to anyone on a daily basis.  So my question is this: how familiar with the "theology" of Middle-earth were the citizens of Middle-earth?  Would the average merchant in Rohan know about the Valar and the Maiar and Iluvatar and the Music of the Ainur?  The average noble in Minas Tirith?  The younger Elves, like Legolas?  The Dwarf Lords?  Were the theological truths about the formation of the world, the Valar and the Maiar just so well known that they weren't worth commenting on, or had they been forgotten by most?  And if they had been forgotten, why wasn't the knowledge (whether through deliberate teachings or casual conversation) re-invigorated by witnesses like Gandalf or Galadriel? What is the yield keyword used for in C#? How to change account profile picture? I can't believe I have to ask this...but, how do I change my account profile picture in Ubuntu 12.04 Desktop? One would think it would be under the "User Accounts" section. Why can't I edit attribute table imported through 'text as layer' I imported the coordinates from an Excel table. They show as single points as intended. Now I want to add columns to the attribute table, but I'm not able to edit it. I wanted to import the following columns from Excel as well, but that doesn't seem to work either.  Sorry for the noob-question, but I couldn't find anything relating the theme through google and such.  Ok, with pictures then: I want to use that to add columns with information to these       You see, the small pensil thingy is greyed out, so I can't edit anything in this layer and I can't add any information to my points.  If I try Ale suggestion I get this error: