Syntax highlight and MathJax is not rendered after reloading an edited post
Clicking to reload an updated answer removes the code snippet buttons and removes syntax highlighting
About an Hour ago, I faced a problem and tried different ways to solve it.  At last I was going to post my Question on Stack Overflow, but the last trick which came in my mind worked, and the problem got resolved.    Now, if I want to post that problem on Stack Overflow with the solution which worked for me, for the purpose to help other newbies to get their answer if they face the same problem, what is the proper way of posting such solution to a problem? Evaluating $\int \sqrt{1 + t^2} dt$? How do we solve (i.e. get the closed form of) $\int \sqrt{1 + t^2} dt$ ?   shows the closed form of it but not the steps in solving it.  I think I need some algebraic trick..   I thought of some hyperbolic functions and their derivatives and equalities:  If I make $ t = \sinh x$, then I can reduce the integral to  $$ \int \cosh ^2 x dx $$ though I'm not sure if this is valid. But from here, I cannot go on evaluating the integral... In biblatex, treat periods in journal as abbreviation dots I would like to consistently have a comma between the journal and volume number for article references using biblatex with biber as the backend. Unfortunately, the punctuation between the journal and volume is not consistent. Journals whose last word is abbreviated have no comma between the journal and the volume, and the word "Vol." is capitalized. Journals whose last word is not abbreviated have a comma and the word "vol." is not capitalized. I can fix the capitalization by un-commenting the commented lines in the below MWE, but the comma problem is quite perplexing. Apologies if this fix is in an answer somewhere, but I cannot find it (or at least, I don't know what to search for!).  Current output: [1] First Author. “Blah Blah 2”. In: Am. J. Phys. Vol. 72, no. 3 (Mar. 2004), pp. 367–375. [2] Second Author. “Blah blah”. In: Energy Fuel, vol. 27, no. 12 (Dec. 2013), pp. 7778–7789.  Expected output: [1] First Author. “Blah Blah 2”. In: Am. J. Phys., vol. 72, no. 3 (Mar. 2004), pp. 367–375. [2] Second Author. “Blah blah”. In: Energy Fuel, vol. 27, no. 12 (Dec. 2013), pp. 7778–7789.  MWE:  \documentclass{article} \usepackage{filecontents} \usepackage[     backend=biber,     citestyle=numeric-comp, ]{biblatex} \addbibresource{\jobname} % \DefineBibliographyStrings{english}{%     % volume = {\lowercase{v}ol\adddot}, % avoid capitalization after dots. % } \DeclareFieldFormat[article]{volume}{\bibstring{volume}\addspace #1} \DeclareFieldFormat[article]{number}{\bibstring{number}\addspace #1} \renewbibmacro*{volume+number+eid}{%   \printfield{volume}%   \setunit{\addcomma\space}%&lt;---- was \setunit*{\adddot}%   \printfield{number}%   \setunit{\addcomma\space}%   \printfield{eid}} \renewbibmacro*{journal+issuetitle}{%   \usebibmacro{journal}%   \setunit*{\addcomma\addspace}%&lt;---- was \setunit*{\addspace}%   \iffieldundef{series}     {}     {\newunit      \printfield{series}%      \setunit{\addspace}}%   \usebibmacro{volume+number+eid}%   \setunit{\addspace}%   \usebibmacro{issue+date}%   \setunit{\addcolon\space}%   \usebibmacro{issue}%   \newunit}  \begin{filecontents*}{\jobname.bib} @article{York2004, author = {Author, First}, journal = {Am. J. Phys.}, month = mar, number = {3}, pages = {367--375}, title = {{Blah Blah 2}}, volume = {72}, year = {2004} } @article{Baumgardner2013a, author = {Author, Second}, journal = {Energy Fuel}, month = dec, number = {12}, pages = {7778--7789}, title = {{Blah blah}}, volume = {27}, year = {2013} } \end{filecontents*}  \begin{document} \nocite{*} \printbibliography \end{document} How to create a squiggle arrow with some text on it in TikZ? I need to define a new command to create a squiggle arrow with some text on it. Something similar to what \xrightarrow command produces but with wiggly arrows as in \rightsquigarrow. The length of the arrow should automatically be adjusted to fit the text above it and I do not know how to handle this part in TikZ. Any ideas would be much appreciated. How do I enable or disable Apport? What are uses of the C++ construct "placement new"? How to pop-up alert to a user when he/she navigate away from page without saving the Records in custom visual force page? What is the term for the double consecutive use of a word with stress on one of the words to alter its severity? What is the term when a word is used consecutively twice, with intentional stress placed on the first word, as a means to alter the severity of the word's meaning?  I am not referring to a  (had had) or a  (that that), but to the slightly sarcastic use as demonstrated in shows like Seinfeld. Sample sentences, with emphasis:  I know we're going out to eat, but I am only going to pick at an appetizer because I'm not hungry hungry. Don't wear something so formal to the party; I don't think you need to be dressed dressed.  Of personal note, some of my relatives decided a few years ago to nick-name the term a &quot;Celaine&quot; (a combination of their names) due to their own frequent use of it. Note: This question explicitly requests the term of art used by linguists and English scholars when discussing this phenomenon. This question is different from a  which requests a historical explanation for the phenomenon described by this term. None of the answers to the suggested duplicate provide the term.  The author of the similar question requests the term for the pattern in a comment, but does not receive an acceptable answer. The only mention of an acceptable term is in a comment made by the author of this question, in response to the author of the similar question, directing back to this very question. I am studying statistics and I am wondering when it comes to standard error or a sampling if the calculation changes when there are weights added.   I have a weighted mean:  $$\mu_{w} = \dfrac{\sum_{i=1}^Nw_ix_i}{\sum_{i=1}^Nw_i}$$ and a weighted variance calculated by:  $$s^2_{w}=\dfrac{\sum_{i=1}^Nw_i}{(\sum_{i=1}^Nw_i)^2-\sum_{i=1}^Nw_i^2}\cdot \sum_{i=1}^N(x_i-\mu)^2$$  is the sampling error still calculated as  $$\text{SE}=\sqrt{\dfrac{s^2_{w}}{n}}$$ Make program first read from pipe, then from keyboard Fantasy book where a young prince becomes a mage Lost reputation after answering my own question with bounty Timeline:  Asked a question, no (interesting) answers for two weeks  Set bounty on it this morning  Found the answer to my question two hours later. Answered my own question.  Bounty reputation is lost. It was not awarded to me, it was not returned to me (the 100 I invested).   Right now, I feel really stupid for answering my own bounty question.   If this is accepted behavior, then user should be warned - you are answering your own bounty question, your bounty reputation will be LOST. Variable scoping in Module Why are map tiles being repeated? Using MapServer and Openlayers Problem I have: map tiles from my layer are being repeated.  Shapefile is projection 3059. I have specified 3059 is in the mapfile and also when creating map object.  I know OpenLayers.Layer.WMS is recommended, but when I use it I only see empty map. When I use OpenLayers.Layer.MapServer, map is displayed (and tiles are repeated), so I'm using that for now.  My layer (EPSG:3059) looks like this    Versions: Openlayers 2.13.1 MapServer 6.0.3  WMS Server mapfile:  MAP     NAME country_map     STATUS ON     SIZE 800 500     EXTENT 313187.4 146161.56 766469.92 470367.64     UNITS METERS     SHAPEPATH "shapefiles"     IMAGECOLOR 155 155 155      WEB         TEMPLATE "template.html"         IMAGEPATH "C:/MS4W/ms4w/apache/htdocs/gis/output/"         IMAGEURL "/gis/output/"          METADATA             "wms_title"             "MapServer + Openlayers"             "wms_onlineresource"    "http://localhost:1025/cgi-bin/mapserv.exe?map=C:\MS4W\ms4w\Apache\htdocs\gis\mapfile2.map"             "wms_enable_request"    "*"             "wms_srs"               "EPSG:3059"         END     END      PROJECTION         "init=epsg:3059"     END  # example layer     LAYER     METADATA         "wms_title"             "lat_rob_region"     END     NAME "lat_rob_region"     DATA lat_rob_region     STATUS ON     TYPE POLYGON         CLASS             NAME "lat_rob_region"             STYLE                 COLOR 0 255 0             END         END     END END   Javascript:  var lon = 25; var lat = 57; var zoom = 5; var map, layer1;  function init() {     map = new OpenLayers.Map( 'map',{displayProjection: new OpenLayers.Projection("EPSG:3059")} );      layer1 = new OpenLayers.Layer.MapServer( "Country map",              "http://localhost:1025/cgi-bin/mapserv.exe?map=C:/MS4W/ms4w/Apache/htdocs/gis/mapfile2.map", {layers: 'lat_rob_region'},             {gutter: 15},{srs: 'EPSG:3059'});     map.addLayer(layer1);      map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);     map.addControl( new OpenLayers.Control.LayerSwitcher() ); } Using continuous color band for raster legend in QGIS composer legend? I'm looking for a way to insert continuous colour legend for a raster layer.  I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values on the bar, similar to the old plugin "One-Band Raster", that it doesn't work with the QGIS version higher than 1.7  I tried to set in properties->style, where I selected the  Render Type "Singleband pseudocolor" and see the "generate new color ramp" box.  I tried both "Continuous" or "Equal interval". However, in the Composer the legend always is displayed with discrete symbols.  Is there any way that can make QGIS Composer to display a nice continuous band for a raster layer? How to find correctly the .bib file? I have a .bib document called References.bib saved in the following directory: C:\Users\dvale\Documents\3_References\References.bib  This file contains this entry: @Article{Ballot2014,   author    = {Ballot, Andreas},   title     = {Diversity of cyanobacteria and cyanotoxins in {Hartbeespoort Dam, South Africa}},   journal   = {Marine and Freshwater Research},   year      = {2014},   volume    = {65},   number    = {2},   pages     = {175--189},   issn      = {1323-1650},   doi       = {10.1071/mf13153}, }  I created a document and cited this reference, however the citation is not appearing, apparently because the .bib file was not found. I'm using biber as bibliographic tool (if is important this information). \documentclass[12pt,a4paper]{article} \usepackage{biblatex} \addbibresource[location=remote]{C:/Users/dvale/Documentos/3_References/References.bib} \begin{document} Example \cite{Ballot2014} \printbibliography \end{document}  When I compile the bibliography (F8 in TeXstudio) the following error appears ERROR - Cannot find 'C:/Users/dvale/Documentos/3_References/References.bib'!  EDIT 1: I use JabRef to create my .bib files with UTF-8 encoding The .blg file has the following information in the notepad [0] Config.pm:312&gt; INFO - This is Biber 2.15 (beta) [0] Config.pm:315&gt; INFO - Logfile is 'MWE.blg' [105] biber-MSWIN64:330&gt; INFO - ===  [127] Biber.pm:415&gt; INFO - Reading 'MWE.bcf' [234] Biber.pm:952&gt; INFO - Found 1 citekeys in bib section 0 [251] Biber.pm:4334&gt; INFO - Processing section 0 [267] Biber.pm:4523&gt; INFO - Looking for bibtex format file 'C:/Users/dvale/Documentos/3_References/References.bib' for section 0 [502] Utils.pm:411&gt; ERROR - Cannot find 'C:/Users/dvale/Documentos/3_References/References.bib'! [502] Biber.pm:132&gt; INFO - ERRORS: 1 Where to insert the exclamation mark Where would I insert an exclamation mark and a comma in the below sentence?     "Look at that boy" he exclaimed. Could anybody clear it to me whether these two sentence are grammatically equal? If not, what is the difference?     1) They must use some methods...    2) They are to use some methods... Prove $f=1+x+x^2+x^3+\cdots+x^n$ has no multiple roots. Prove $f=1+x+x^2+x^3+\cdots+x^n$ has no multiple roots.  My attempt:  Consider the polynomial $g=(x-1)(1+x+x^2+x^3+\cdots+x^n)$  As $f\mid g, g$ all the roots of $f$ are roots of $g$.  This means I have to prove the statement:  If $c$ is a multiple root of $f \Longrightarrow c$ is multiple a root of $g$.  Equivalently:  If $c$ is not a multiple root of $g \Longrightarrow c$ is not a multiple root of $f$.  I'll try to prove this last statement:  Suppose $\exists c$ such that $c$ is a multiple root of $g$, then   $$g(c)=0 \implies g'(c)=0$$  $$ g=(x-1)(1+x+\cdots+x^n) \implies  g'=nx^n $$ $$ g'(c)=nc^n=0 \implies c=0 $$ But  $$ g(0)\neq 0 $$ And we've found the contradiction: $\not \exists c: g(c)=g'(c)=0$. Then $f$ has no multiple roots.  Is this correct?   Also: Assuming this is correct, is it possible to prove $\sum_{k=0}^n \frac {x^n}{n!} $ has no multiple roots in a similar manner? Why don't the White Walkers take the sea route to Westeros After watching 6 seasons of Game of Thrones, we know that the only roadblock for White Walkers is "The Wall" to stop them from attacking Westeros. However, we see that King Stannis attacked wildlings through a ship route without crossing the Wall.  What is stopping the White Walkers from doing the same? They can ask wights to make Ships or rowboats. They have a lot of forests to get wood for making ships. They can simply land at the coast of the North and attack Winterfell or whatever they want.