I want to modify \printindex to eliminate the  \addcontentsline{toc}{chapter}{Index line so that an entry does not appear in the table of contents
I want the entries in the TOC for the indices to align with the Chapter entries. I can do this with \addcontents. \printindex also puts an entry in the TOC but it is aligned with the section entries.   So I want to:    change how printindex makes its entry into the TOC or  to eliminate printindex entry.   MWE:  \documentclass{book} \usepackage{multind}        % create the indices \makeindex{names}            \makeindex{subject} \newcommand{\Ndx}[1] { \index{names}{#1} }     % define the type of entry \newcommand{\Sdx}[1] { \index{subject}{#1} }   % to the indices \usepackage[headings]{fullpage}         % 8-1/2, 11 page with 1" margins \usepackage{fancyhdr} \pagestyle{fancy} \begin{document} \fancyhead{} \fancyfoot{} \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} \fancyhead[LE,RO]{\rightmark} \fancyhead[RE,LO]{\thepage} \tableofcontents        % put table of contents here  \chapter{\bf Logic, Plausibility, and Probability} \label{Ch:Logic} \section{Logical Arguments and Reasoning } It is obvious that logical arguments are essential to the judicial system. The logic must be able to treat syllogisms\Sdx{syllogism} that range from deductive\Sdx{syllogism!deductive} to abductive\Sdx{syllogism!abductive}, that is from strong to weak syllogisms \Sdx{syllogism!weak}\Sdx{syllogism!strong} as illustrated in the table taken from Author \Ndx{Author} \Ndx{Cohen} \Sdx{Cohen on probability} \clearpage \addcontentsline{toc}{chapter}{Subject Index} \printindex{subject}{Subject Index} \addcontentsline{toc}{chapter}{Name Index} \printindex{names}{Name Index} \end{document}
How to clear current “read-only” state on a USB flash drive I setup with Rufus? Visiting Greece with back-to-back Schengen visas (One from Germany, other from Italy) I have a Schengen Visa issued by Germany, which expire on 11th Jan 2014, and I can remain in the zone till 11th Jan 23.59 PM. I have already visited Germany in the past with this visa, so I can travel whenever in Schengen zone directly from my country (Turkey).  I have a second Schengen Visa issued by Italy, which START on 12th Jan 2014, such that I can remain in Schengen zone from 12th Jan 00.00 AM onwards (I'm putting times to clarify which dates are inclusive).  I would like to travel to Greece with this visa: Entering the country on 6th January, and leaving the country on 19th January.  Is this allowed? Or do I have to leave the country first, and then re-enter through Italy? Restore a large number of transaction logs I'm using SQL Server 2008 R2, and I need to restore 36 .trn logs to a database. I have restored the first 4 using the restore transaction log functionality in SSMS (right-click database > tasks > restore > transaction log).   Is there a way to restore them all in order using this tool or with a script? The .trn files are in a folder on a remote server. I do not not need to restore all the files in the folder, only ones between specific dates.  I'm looking for a way to automate this so I don't have to manually restore each individual log.  I access the files using an address like the one below.  \\remote server IP\SQL_Backup\LMSQL02\TLog\file.trn Prove that if a function $f$ has a jump at an interior point of the interval $[a,b]$ then it cannot be the derivative of any function. Prove that if a function $f$ has a jump at an interior point of the interval $[a,b]$ then it cannot be the derivative of any function.  I know that for $f$ is differentiable in $(a,b)$ and that it has one-sided derivative $f_+' (a)≠f_-' (b)$ at the endpoints. If $C$ is a real number between $f_+' (a)$  and $f_-' (b)$, then there exists $c∈(a,b)$ such that $f' (c)=C $. How can I use this to prove the above? Show that any bounded linear functional on a normed linear space is continuous Show that any bounded linear functional on a normed linear space is continuous.   Can we say that it is uniformly continuous ?   Also, is it true, if we reverse the statement    any continuous  linear functional on a normed linear space is bounded ?? Complex Collision Boxes I'm trying to get a ball to go through in between the cup gear things shown in the screenshot below.   It seems that the collision box does not consider the cups. Yes, the ball fits and they are rotating in the right direction.  If there is already an answer to this, please link it.       If you have any questions about what is going on/ what the project is, feel free to ask. I'm trying to prove commutativity of addition for vector spaces, using the axioms for vector spaces. Apparently commutativity can be proven! Im having trouble getting a good feel for what is allowed and what is not. Here's my work so far:  $u+v+u+v = 2(u+v) = 2u + 2v = u+u+v+v = u+(u+v)+v$  Here I just wanna claim that $u+(v+u)+v = u+(u+v)+v$   $\Rightarrow -u+u+(v+u)+v+(-v) = -u+u+(u+v)+v+(-v)$ : here im just adding -u to the right, and -v to the left. Question: is this "adding to both sides" really legit in this context? Why?   Quick help proof: $-v+v = (-1)v+(1)v = (-1+1)v = 0v = 0 = v-v$  And another: $ 0+v = v+(-v) + v = (1)v + (-1)v + v = (1-1)v + v = v = v+0$  We have $0 + (u+v) + 0 = 0+(v+u)+0 \Rightarrow u+v = v+u$  This feels ugly and not at all elegant, especially the great leap "add -u to both sides" feels completely out of place. Do I need more lemmas? Is there a more elegant way?   //not homework or anything, just for my own pleasure, feel free to provide theory, as it is more insightful than solutions. :) Thanks!   EDIT: corrected notation a little. How do I change the command that a launcher item launches? I am creating a query that finds the shortest path from dangerous crossing nodes to hospitals (many-to-many). I have the proper output from pgr_dijkstra, with output as follows  seq | path_seq | start_vid | end_vid | node | edge | cost | agg_cost  -----+----------+-----------+---------+------+------+------+----------    1 |        1 |         2 |       3 |    2 |    4 |    1 |        0    2 |        2 |         2 |       3 |    5 |    8 |    1 |        1    3 |        3 |         2 |       3 |    6 |    9 |    1 |        2    4 |        4 |         2 |       3 |    9 |   16 |    1 |        3    5 |        5 |         2 |       3 |    4 |    3 |    1 |        4    6 |        6 |         2 |       3 |    3 |   -1 |    0 |        5    7 |        1 |         2 |       5 |    2 |    4 |    1 |        0    8 |        2 |         2 |       5 |    5 |   -1 |    0 |        1   I am trying to use st_makeline to create seperate lines for each individual node path, however thus far the function has been creating one big line SELECT  st_transform(st_makeline(t1.the_geom),4326)         FROM pgr_dijkstra(                 'SELECT osm_id as id, source, target, cost FROM spatial.melbourne_edges',                 array(select hospital_id from hospitals_in_vicinity),                  array(select crossing_id from dangerous_crossing_nodes), false) as route                 inner join spatial.melbourne_nodes t1 on route.node = t1.id --);  How am i able to make a column of all the different paths? Diamond moderators  . In the second section from the top—entitled &quot;Ask questions, get answers, no distractions&quot;—that takes us to an opportunity to select one of a page full of questions from the site as the example question used on the about page. The selections currently available on physics are a little idiosyncratic. Is there some rhyme or reason to these? I suppose that we want a good example question to:  Be accessible to the intended audience (perhaps even to the newest and most naive person in that audience) Be judged at least decent by the community (positive score) Have more than one answer which are also judged acceptable (again positive score)  What else? How does a question end up on the list? How to scale dimensions proportionally to a specific size? I modeled a man and would like to scale him down to be exactly 6' tall (Z dimension), however I cannot find a way to do that. I know I can go to front ortho view and and use the normal scale S  key to scale it, however that requires some pretty specific fine tuning in order to get it to the right dimensions.  I'd like to be able to essentially type "6" into the Z dimension (don't worry I have it setup in imperial) and have it scale the X and Y dimensions proportionally. Can you set custom ringtones for contact groups? In iPhone, you can easily change the default ringtone (Settings → Sounds → Ringtone) and set a custom ringtone for individual people (Contacts → [some person] → Edit → Ringtone).   But can you set a custom tone for a group of contacts? (E.g. "family" or "workmates".)  I think that would be handy—and quite basic functionality, so to speak—but I couldn't find a way to do this through the iPhone UI. Is it possible at all (without jailbreaking)? Blackboard bold characters The blackboard bold font in the AMSFonts package only has capital letters.  I sometimes wish to use a blackboard bold "1", for which I can use \usepackage{bbold}. But this changes the entire blackboard bold font, and I like the original AMSFonts versions of the capital letters better.  Is there a simple way for me to get \mathbb{1} from one package and the blackboard bold capitals from another? Indefinite articles used with plural nouns: It was AN amazing TWO DAYS The indefinite article a(n), derives from the old English word an meaning "one". Generally this word only occurs in determiner function before noun phrases which are singular. However, there seem to be some cases where this determiner occurs before plural noun phrases. I say that, but actually these noun phrase seem so bizarre to me, in terms of their structure, that I'm not sure they're definitely noun phrases at all. Here are some examples:   a full three months before we left an amazing two days an awkward ten minutes   Ignoring the article here for a moment, these noun phrases are odd because the adjective is occurring before the numeral. We would normally expect to see:   three full months two amazing days ten awkward minutes   Even given the oddness of the word order in the original phrases, I can see no reason why the normally singular indefinite article is licensed here.   Can anybody give an account of the syntactic structure of these phrases, and/or explain why the semantically singular article is able to be used with such phrases - even if they compulsorily trigger plural verb agreement?  Here is an example of one of these instances which seems to demand a plural verb:   An amazing two million people attend every year. *An amazing two million people attends every year. (ungrammatical) Regarding the advanced edition of FTL:  If all of your crew dies but you have a cloning bay on your vessel, is it immediately game over, or does the cloning bay prevent that?  Is the game smart enough to know that a damaged cloning bay and a fully dead crew means you cannot recover, but a functional one (even if temporarily without power) could revive your crew?  Also, does this answer differ between hostile ships and your own ship?  (That is, do you get to capture and loot enemy vessels that have all dead crew but have a functional cloning bay?) Is there a term denoting the writing of words using numbers instead of letters? Can we exempt downvoted accepted answers from getting the top spot? I am working on vector auto-regression (VARs) and impulse response function (IRFs) estimation based on panel data with 33 individuals over 77 quarters.  How should this type of situation be analyzed?  What algorithm's exist for this purpose?  I would prefer to conduct these analyses in R, so if anyone is familiar with R code or a package designed for this purpose that they could suggest, that would be especially helpful. If a subring of a ring R has identity, does R also have the identity? I know it does not make sense that if a subring of a ring $R$ is commutative, then $R$ is also commutative. (For example, the set consisting of the matrices whose all entries except (1,1)-entry are zero, is a subring of ring of 2x2 real matrices.)  I also considered the case of a ring containing a subring with identity, but I had no ideas. Maybe it seems that it does not make sense, either.  Who give me some examples supporting my guess? When can we use 'much' in affirmative clauses?