I'm trying to use the Noto font for my entire document. Using mathspec this works fine for text and math fonts. However, using a comma in math mode produces a serif font-like comma instead of the one provided by the Noto font family. How can I change that? Here's a minimal example:  \documentclass[a4paper,12pt]{scrartcl} \usepackage{amsmath} \usepackage{mathspec} \setmathrm{NotoSans-SemiCondensedLight} \setmathfont(Latin){NotoSans-SemiCondensedLightItalic} \setmathfont(Digits){NotoSans-SemiCondensedLight} \setmainfont{NotoSans-SemiCondensedLight} \begin{document} \noindent 1,234\\ $1{,}234$ \end{document}   which yields    EDIT:  Using the proposed lines  \makeatletter \DeclareMathSymbol{,}{\mathpunct}{\eu@LatinLowercase@symfont}{`,} \makeatother   yields a somewhat similar, but not identical comma symbol compared to the main and math fonts (see below). Is there a way to use the exact same comma from the same font?
I am using XeTeX and have the following short document:  \documentclass[a4paper,12pt]{article} \usepackage{amsmath,amsthm} \usepackage[MnSymbol]{mathspec} \usepackage[no-sscript]{xltxtra} \defaultfontfeatures{Mapping=tex-text} \setallmainfonts{Minion Pro}  \begin{document}  $\phi, \varphi, \delta \ldots A \vee B$  \end{document}    Now no matter what font I am using the punctuation marks in math mode (commas, dots, \ldots etc.) come out in Computer Modern. Is there a way to change this?
Correct formula for LED current-limiting resistor? I'm trying to work out what value resistor to use in a LED circuit. The equation I'd use to do this is:  $$ R = \frac{V_{cc} - V_f}{I_f} $$  Seems logical, and makes complete sense. The answers to the question  confirm this too.  I have the following LEDs:   \$ V_f = 3.3V \$ \$ I_{f_{typ}} = 20mA \$   Using a 5V power supply:   \$ V_{cc} = 5V \$   Plugging these into the above equation gives:  $$ \begin{eqnarray} R &amp; = &amp; \frac{V_{cc} - V_f}{I_f} \\   &amp; = &amp; \frac{5V - 3.3V}{20mA} \\   &amp; = &amp; 85\Omega \end{eqnarray} $$  All good so far.  However, if I use the calculator at , that gives me 100&Omega;. If I use the ElectroDroid app on my phone, that gives me 85&Omega;.  So, I assume that the linear1 calculator is using a different method of calculating this resistor value; is there some better way of doing this? What overpowered combinations would be available if I allow a bonus action to be used in place of a standard action? It has come up in game a couple of times that a player might want to cast a spell that has a casting time of 1 bonus action using their "main" action (if they have another bonus action they also want to take on that turn, such as giving bardic inspiration, or controlling a Bigby's hand, etc.)  On the face of it, it seems obvious that something (a bonus action) that is usually much faster than a full action could be done as your full action.  Although the question comes up most often with respect to spellcasting, if I house rule this, I would rule that any bonus action can be taken as a regular action instead; however, I would not allow the same type of bonus action to be taken twice (so no giving bardic inspiration to two allies on the same turn, for instance).   Are there any abusive or overpowered combinations I should be wary of if I were to allow a character to take 2 bonus actions instead of one regular action and one bonus action on a turn?   The issue of casting two bonus-action spells would not come up because the rule against casting 2 spells on your turn unless one of them is a cantrip with a casting time of 1 action would still be in effect:  PHB p. 203 (under Bonus Action casting time)     You can't cast another spell during the same turn, except for a cantrip with a casting time of 1 action.   I know it's hard to prove/justify a negative answer to a question like this, but I'd be happy to get answers that say you don't think there would be any issues if you describe how you came to that conclusion. I know that the usual ordering of $\mathbb R$ is not a well-ordering but is there an uncountable $S\subset \mathbb R$ such that S is well-ordered by $&lt;_\mathbb R$?   Intuitively I'd say there is no such set but intuitively I'd also say there is no well-ordered uncountable set at all, which is obviously wrong. I still struggle to grasp the idea of an uncountable, well-ordered set. I'm trying to setup OpenVPN using NetworkManager. The GUI seems buggy and unresponsive. Are there any other tools for setting up a VPN client? Can I use two different cards with the same name in Commander? Is there a password manager for Ubuntu What is the most popular open source password manager which I can use on a Ubuntu machine or preferably across Ubuntu/Windows machines with some form of data compatibility. If there is a free web based version, that would be even more preferable. Sauron knew that the One Ring could be destroyed only in Mount Doom, where it was forged. From Sauron's perspective, no one would think about destroying the One Ring. But if someone did, then Mount Doom would be the only place to do so.  Why did he keep Mount Doom active? Wasn't the risk too high? How to make a ISO file out of a folder containing Windows setup files I copied the Windows 8 CD to my HDD. I want to convert that folder to an ISO and use that to create a bootable USB.  Please tell me how I can make an ISO image out of that folder containing files.  This is my folder which I want to convert to a ISO file: Flagging a deleted answer results in a message saying I am flagging too quickly I'm trying to find a movie with an underground facility with people wearing white suits. The people have been affected such that they show no curiosity. There is one person that does and asks one of his co-workers where a tube leads to.      At the end there is an uprising where everyone gets to see the surface and sunlight.   What is the name of this movie? Access Javascript variable inside of an Apex:repeat I am currently trying to add some customer markers to a map. I can add a single marker to the map but when I move that same logic inside of an Apex:repeat I no longer have access to the map variable.  My Javascript:  &lt;script type="text/javascript"&gt;      function initialize() {       var mapProp = {         center:new google.maps.LatLng(52.634092,-0.148315),         zoom:10,         mapTypeId:google.maps.MapTypeId.ROADMAP       };                  var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);            }     google.maps.event.addDomListener(window, 'load', initialize); &lt;/script&gt;   My VP page:     &lt;apex:repeat value="{!Locations}" var="local" id="mapMarkers" &gt;     &lt;script type="text/javascript"&gt;          var lat = '{!Locations[0].Geolocation__Latitude__s}';         var lng = '{!Locations[0].Geolocation__Longitude__s}';         var marker=new google.maps.Marker({             position: new google.maps.LatLng(lat, lng)             });                   marker.setMap(map);      &lt;/script&gt; &lt;/apex:repeat&gt;   The !Locations list is in my controller and just pulls the latitude and longitude from my Tree__c object:     public List&lt;Tree__c&gt; getLocations() {     List&lt;Tree__c&gt; locations = Database.query('SELECT Geolocation__Latitude__s, Geolocation__Longitude__s FROM Tree__c WHERE Geolocation__Latitude__s !=null AND Geolocation__Longitude__s !=null ');     return locations; } I wrote this sentence     However, if the user defines each rule (regarding/according to/in) a specific context, the algorithm will take the context into account before deciding to remove such elements.   Which are applicable and what would be the implication of each?  I myself think "regarding" means "about" and is not proper here, but I doubt between "according to" and "in", because "in" is a collocation for "context". The Half-Elven and their choices Earendil and Elwing were given the choice of kindreds after their journey to Valinor, This choice was extended to their sons (specifically sons, not daughters or grandchildren)  Elrond chose the race of the Eldar and his brother Elros chose to be counted amongst the Edain. Thus far Manwë's proclamation has been fulfilled.  There are some inconsistencies here:   Arwen was given the choice, but Elladan and Elrohir remained as Eldar in Imladris Tar-Vardamir was not given the choice The offspring of Imrazor and Mithrelas in Dol Amroth dont seem to have been given a choice   I can think of only one explanation, that the Mannish blood is dominant over the blood of the Eldar, thus, As Vardamir was the offspring of two mortals he did not fall under Manwë's proclamation despite being the son of a half elven.  However this does not seem to explain the other inconsistencies, Is it possible that Elladan and Elrohir and also the princes of Dol Amroth weren't considered important enough by Manwë or Eru to give them the choice.  Also as a side note Tolkien states there were only three unions between man and elf, but this seems to ignore Turin/Finduilas and Imrazor/Mithrelas  My question is, Why was Arwen given the choice and not the sons of Elros? In the 1997 film "", the antagonist is attempting to elude some assassins who are after him. When they are pursuing his van, he quickly      pulls the van into a parking garage and washes off the color-changing paint he had earlier painted the van with, thus changing the color of the van.    He then takes a small can and sprays it onto the door handle of the van before taking off. A few minutes later, the assassins      enter the parking garage and notice the dyed water running away from the van. When one of the men goes to open the van using the tainted door handle, he pulls his hand away like it hurt, then starts foaming at the mouth. He immediately has a seizure of some kind and falls down dead.   What was the substance sprayed on the handle, and how could it do this so quickly? booting windows 10 spends too long In august 2015, I have upgrade my laptop from windows 8.1 to windows 10. But it spends always 10 minutes to boot it. It is not normal that it spends so long. What can I do for boot him faster? Below some information about my laptop.   age: +/- 2 year (on august 2015) edition: Windows 10 Home   File trace are removed.  Update:    I must also say that always there comes a windows update, I have the same problem again form slow booting. Is it good that I turn off the updates? If yes, how can I do that? Also it is in periods that my pc booting to slow. Some time it is like normal (a few seconds) and other times a few minutes. I don't know how it comes that it is fast or slow. The expected value of $1/(1+X)$ where $X$ has geometric distribution Let $X$ be a random variable with a geometric distribution with parameter $p$.       Calculate $\Bbb E[1/(1+X)]$   I've looked at answers online but still do not understand how to solve this.   Specifically, I do not understand how to to get from $$\frac{p}{1-p} \sum_{x=0}^\infty (1/(1+x))((1-p)^x+1)$$  to  $-p\ln(p)  /(1-p)$. Does it make a difference to CP if you feed candies before or after evolving? When activating the evolution for a caught Pokemon, it seems to amplify the Combat Power (CP). Thus it seems most beneficial to evolve your Pokemon with the highest CP, if you have multiple of the same kind.   But what I am not sure about is whether it makes an efficiency difference if you spend candies and dust to boost CP before evolving, to gain more from the amplification? Or is it more efficient to just evolve without spending, and then using the leftover candies afterwards, since they now give a bigger CP boost per candy?   I only tested with a Rattata so far, which gained +8 CP per candy before evolving, and +15 CP afterwards. I collected no numbers on the amplification efficiency though, and now ran out of materials for further testing.  Or maybe it is a balanced calculation and makes no difference at all? I would love to have some insight on that.    Some data I collected thus far: (GPC = CP gain per candy)  79 CP Weedle (GPC 6) evolved to: 84 CP Kakuna (GPC 6), evolved at 90 CP to: 297 CP Beedrill    Note: The max-CP "half circle" in the profile stayed filled roughly at the same relative position throughout the evolutions. Where did the Q come from, before the Q Continuum? In the Star Trek Universe where did the Q come from? I mean before they were Q in the Q Continuum? In Star Trek Voyager you learn that the race is somewhat intolerant of individualism (in the episode of the Q Civil War) but Q also suggest they have always been Q. Is that statement true, have the Q always been the Q? or were they a race that evolved into omniscience? How can I change the default "ens33" network device to old "eth0" on Fedora 19? I do not understand much about mine bitcoins, but I downloaded a program that is like a wallet, but I want to know how I do to mine. Has a calling GUIminder but is for windows, someone knows one that is for ubuntu?