Am planning to make a resume in pages. I want some of the sub headings to come in between lines. I have attached the image which I want to add in my document.Can somebody please help me?    I am able to get a line below the word summary picture below,
How can I make something that looks like this?  --------   Text   ---------  where the horizontal rules extend to the margin on either side?
Is it possible to disable CPU throttling on a MacBook Pro with a completely dead (not recognized) battery? I have a MBP late 2011 running El Capitan, recently my battery died (x over the icon and "no battery available" in the dropdown.) I've noticed since then that CPU intensive tasks are very slow, and I read that without a battery macs will throttle the CPU to half capacity.  So now I'm looking for one of two solutions:  1) Either somehow disable the throttling, or  2) Trick the computer into thinking it has a battery.  In regard to the first one I've tried a few things such as described , removing a plist file that supposedly controlled it, but that hasn't helped. Any help would be greatly appreciated, TIA.  Edit: I've looked over the question about a 2006 MacBook, it's similar but I've tried everything outlined there and nothing has worked. I'm curious if there are any new ideas. I think the difference may be El Capitan. I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir.  That could be done with   cp -R -s ../foo .   But - that needs an absolute path. So rather  cp -R -s `readlink -e ../foo` `readlink -e .`   I would like the resulting links to be relative.  How would I do that? Let's say a 10N cube (in air, on Earth) rests flat on a scale at the bottom of a tank of water, and the scale reads 8N, so there is 2N of buoyant force on the cube.  How does the buoyant force manifest itself on the cube?  I assume the force is normal to the surface of the scale, but if there isn't any water under the cube, how does the water push up on the cube? Making extra parameters optional I've setup a very specific function and it works well but I'd like to make the parameters optional but I can't get a handle on the regex bit:  add_rewrite_rule('whats-on/([^/]+)/([^/]+)/([^/]+)/?$', 'index.php?page_id=71&amp;event_year=$matches[1]&amp;event_month=$matches[2]&amp;event_day=$matches[3]','top');   /whats-on/2012/01/25 I'll show all events on this date.  /whats-on/2012/01 goes to 404 but I'd like the parameter to be optional so I can show all January dates and the same for /whats-on/2012 all dates in year 2012  Any help will gratefully received - thanks How long would a 150 Farad Capacitor light up an LED I have a bright white LED from a flashlight. Aproximatley How long will it light up with a 150 farad 2.5 volt capacitor. Do I need a resistor? And if so how many Ω? The capacitor is a maxwell 150 farad 2.7 volt boostcap . How are percentiles calculated in Careers 2.0? I noticed that a percentile is placed at the top of my resume in Careers 2.0.    How are these percentiles calculated? Is there a certain threshold you need to be over in order for it to be displayed? Can I exclude spam domains from my search results? Sometimes when I search for something, there are plenty of links to sites with no content (those who only have the premade templates which the search terms), spammers, and leechers (as in copying content from other sites, like B r o t h e r s o f t who leeches on SoftPedia.com).  How come they have such a high ranking without any original content (furthermore, why are they not simply banned from the results)?  And also, is there some way of filtering them out? Like for example completely exclude a domain from search results? Generate a log of all the installs on a system (whether apt-get/yum/pip/npm/...) Auto size image to page size in InDesign I've got an InDesign document with 100 A4 pages.   I've got 100 assets (a mixture of .jpg and .pdf files) and I want to place 1 per page. If an image is not the proportion of the A4 page I would like to get it as big as it can be on the page before it hits into the margin. Ex. if it's a portrait image it should be as large as it can be before hits the top/bottom margin. If it's a landscape image it should be as large as it can be before hits the left/right margin.   At the moment I'm dragging each file across and resizing them manually. Is it possible just drop them on the page and get them auto resized ? Does an HDR environment texture affect the Shadow pass? I am compositing a scene using a standard process in Cycles, and it worked correctly as long as I had my lighting setup in the scene, however when I switched to HDR, my Shadow pass seems to become a solid black. Why is this, and how can it be avoided?  My node setup: Prove that $f_n$ converges uniformly on $\mathbb{R}$ How to add a WiX custom action that happens only on uninstall (via MSI)? I would like to modify an MSI installer (created through ) to delete an entire directory on uninstall.  I understand the RemoveFile and RemoveFolder options in WiX, but these are not robust enough to recursively delete an entire folder that has content created after the installation.  I noticed the similar Stack Overflow question , but I was wondering if this could be done more simply using a call to a batch script to delete the folder.  This is my first time using WiX, and I'm still getting the hang of . What would be a basic example of a custom action that will run a batch script on uninstall? Given an array of n Objects, let's say it is an array of strings, and it has the following values:  foo[0] = "a"; foo[1] = "cc"; foo[2] = "a"; foo[3] = "dd";   What do I have to do to delete/remove all the strings/objects equal to "a" in the array? Number of total possibilities for an equation I need to find the number of possibilities for which the following equation exists:  $$x_1 + x_2 + x_3 + \cdots + x_{10} \leq 70$$  Each variable is a non-negative integer.  I tried simplifying the question to the point of finding the number of possible solutions to each equation seperatly:  $$x_1 + x_2 + x_3 + \cdots + x_{10} = 70,$$ which is ${79}\choose{10}$.  $$x_1 + x_2 + x_3 \cdots + x_{10} = 69,$$ which is ${78}\choose{10}$.  $$x_1 + x_2 + x_3 + \cdots + x_{10} = 68,$$ which is ${77}\choose{10}$, and so forth.  Then I thought about adding all of these together. This seems a bit too much work considering that the textbook solution is: ${80}\choose{10}$, and I can't seem to figure out the idiomatic way of approaching these kind of questions.   Any help is greatly appreciated. siunitx uses math mode for symbols - workaround needed when using different fonts for math and text This is a follow up question from . The original problem has been solved using siunitx instead of dcolumn. However, the problem is that I am using mathpazo with osf as my main body font and eulervm as my math font. With siunitx used to decimal align tables this results in []() symbols being drawn in the math font, but the digits being drawn in the text font, as the following MWE example illustrates.  Is it possible to draw the symbols in the normal text font or redefine the mathfont for S columns completely?  \documentclass{scrartcl} \usepackage{booktabs} \usepackage[osf]{mathpazo} \usepackage[euler-digits]{eulervm}  % For Tables created by estout \newcommand{\sym}[1]{\ensuremath{^{#1}}} % for symbols in Table \usepackage{siunitx} \sisetup{ detect-mode,            group-digits            = false ,           input-signs             = ,           input-symbols           = ()[]-+ ,           input-open-uncertainty  = ,           input-close-uncertainty = ,           table-align-text-post   = false          } \begin{document} \begin{tabular*}{\textwidth}{     l @{\extracolsep\fill} *{2}{S[table-format=4.4]} @{}} \toprule \multicolumn{1}{@{}l}{\emph{Age}}  \\[0.5ex] 18--24 &amp;   [-1360.228]\sym{*}  &amp;  -1371.941\sym{*}  \\        &amp;       (6.915)         &amp;    (-7.953)        \\ 25--34 &amp;     -219.216          &amp;   -240.271         \\        &amp;     (514.894)         &amp;   (515.348)        \\ 35--44 &amp;     -310.715          &amp;   -311.438         \\        &amp;     (485.780)         &amp;   (486.013)        \\ 55$+$  &amp;       -5.135          &amp;     [2.656]        \\        &amp;      (53.267)         &amp;   (533.875)        \\ \bottomrule \end{tabular*} \end{document}   Edit: Thanks to David the problem has been solved including a fix for amsmath and extending to XeTeX. On a side note, the command for * generated by estoutshould now be simply plain text:  \newcommand{\sym}{#1} % for symbols in Table  \newcommand{\sym}[1]{\rlap{$#1$}} % Thanks to David Carlise again. Show us who submitted offensive and comment flags Google Sheets Customize View Using Create Custom Menu and Hiding/Showing Specifc Columns Trying to determine a way that I can use a custom menu (.createMenu) with views that will allow me to show / hide specific columns.  I need the capability to pick specific multiple columns and not ranges.  In the example below how can you pick a custom view from the menu (say "Customer Info") that will only show columns A, B, C, and H?  Maybe another view could show "Financial". .NET offers a generic list container whose performance is almost identical (see Performance of Arrays vs. Lists question). However they are quite different in initialization.   Arrays are very easy to initialize with a default value, and by definition they already have certain size:  string[] Ar = new string[10];   Which allows one to safely assign random items, say:  Ar[5]="hello";   with list things are more tricky. I can see two ways of doing the same initialization, neither of which is what you would call elegant:  List&lt;string&gt; L = new List&lt;string&gt;(10); for (int i=0;i&lt;10;i++) L.Add(null);   or  string[] Ar = new string[10]; List&lt;string&gt; L = new List&lt;string&gt;(Ar);   What would be a cleaner way?  EDIT: The answers so far refer to capacity, which is something else than pre-populating a list. For example, on a list just created with a capacity of 10, one cannot do L[2]="somevalue"  EDIT 2: People wonder why I want to use lists this way, as it is not the way they are intended to be used. I can see two reasons:   One could quite convincingly argue that lists are the "next generation" arrays, adding flexibility with almost no penalty. Therefore one should use them by default. I'm pointing out they might not be as easy to initialize. What I'm currently writing is a base class offering default functionality as part of a bigger framework. In the default functionality I offer, the size of the List is known in advanced and therefore I could have used an array. However, I want to offer any base class the chance to dynamically extend it and therefore I opt for a list. As an example, consider the two sentences:     There don't seem to be any doctors here.   and     There doesn't seem to be any doctors here.   To my ear, the first sounds great, and the second is painfully awkward.  So which is correct, grammatically? I've found lots of disagreement on this around the Web, with various sources citing different ways of treating the word "any" (as singular, always, or as either depending on to what it refers). No consensus, however, could I locate. Can Quantum Entanglement and Quantum Superposition be considered the same phenomenon? Quantum entanglement is known to be the exchange of quantum information between two particles at a distance, while quantum superposition is known to be the uncertainty of a particle (or particles) being in several states at once (which could also involve the exchange of quantum information for a particle that is known to be in several locations simultaneously).  I was wondering if all of this was nothing more but the exchange of quantum information between different masses, and if this could clear up all the confusion in terms of how quantum systems connect in this field of science.  A clear explanation for how both of these quantum phenomena work, and if they really are connected (the exchange of quantum information?) would be much appreciated.