« first day (4014 days earlier)      last day (43 days later) » 

3:54 AM
I have an unrelated question. In that IF statement, I want to say if there exists a v in \hat{V} such that ... and then I used the value of m that I expanded from v
I am working on my thesis, is it clear? if not how to express it more clearly
 
yo'
4:10 AM
@Skillmon He only pronounced the infection already having existed in the team :) For one, these little fellas predate him:
user image
5
user image
4
 
 
3 hours later…
6:55 AM
@yo' I spot an Analândia duck ;-)
 
yo'
@UlrikeFischer oh definitely :) there's more @PauloCereda ducks, but the Overleaf ones are not of them :)
 
7:27 AM
I will just leave this video of a bodyguard cat here: youtu.be/XqrZo7zU-oc (it is a meme video, 15s, no idea where the original is from)
 
8:20 AM
@yo' <3 <3 <3
@UlrikeFischer ooh
@yo' ooh quack :)
@DavidCarlisle ooh geometry
 
8:58 AM
[2/4, 00:02/00:08] update: huawei [585k] (60501 -> 60873) ... done
ooh modem updated
 
raf
9:39 AM
I have a query on using syntax highlighting. Is it okay to use syntax highlighting of source code snippets in academia, in scientific papers? Or should it be kept in the black text?
Where can I ask this query? Can anyone suggest any SE site or chatroom?
 
@raf if by syntax highlighting you mean colouring your code, I am inclined to say this is not a good idea. :) But bold and italics are usually acceptable.
 
raf
@PauloCereda yes, I meant "colouring the code"
 
@raf Ah, in that case I'd not encourage you to do it. :)
But that's just me, of course. :)
 
raf
and what about showing the line numbers?
Actually, this is the style and color I was thinking of using:
https://www.overleaf.com/learn/latex/Code_listing#Code_styles_and_colours
 
@raf I like line numbers. :) But I usually use them when it's relevant to the context, e.g, mentioning something that happens at line 4, otherwise lines might not make sense. :)
 
raf
9:49 AM
In my context, I won't need to explain the code, I just like put them in my appendix.
so, do you recommend using the default style of listings?
or can you please show me a short mwe which is acceptable to you?
I just found this: arxiv.org/abs/2001.11334
 
raf
10:04 AM
The reason for my query: Next month, I have a contest, where I need to write a formal scientific paper on a given physics problem. And, I am gonna put my used source code snippets in the appendix of my paper. In this context, I am confused if I should keep the syntax coloring or not!
 
@raf Talk to the organisers to see of there is a style guide you have to follow. (if there is none, make sure your paper is still accessible to people who are colour blind or print it in black and white)
 
@raf ^^ what @samcarter said. :) I usually favour bold/italics instead of colours, but again, that's just my style. One thing to keep in mind is whether colours could distract readers. If you think it wouldn't, go for it. :)
 
raf
@samcarter no, the organizers haven't given the style guide to follow.
Thank you, @samcarter and @PauloCereda
Considering your opinions, I have decided to keep black and white.
 
10:32 AM
@raf I don't know how formal your contest is, but I wouldn't be surprised of some/most participants would just use their IDE to print the code as pdf and include this in their appendix ...
 
raf
@samcarter I agree. There's a chance that many participants would do that. because no specific guideline is provided. But I want to keep the paper format formal as much as possible.
 
@raf my thesis had some code listings, and one of the reasons for keeping it b/w (besides the ones I mentioned before) is that printing a coloured page would cost me a lot more, so there's that. :)
 
raf
@PauloCereda I see. In my case, I won't to print the paper. Just need to submit it online.
In this same context, do you suggest avoiding \hypersetup{colorlinks=true} in my paper?
 
10:51 AM
@raf I'd rather not comment on using hyperref. :)
 
raf
@PauloCereda :)
why?
 
11:12 AM
@raf do you submit to a journal?
 
raf
@Skillmon no, it's for a contest.
but the participants are told to produce a formal scientific paper.
 
@raf then you shouldn't use colorlinks. I don't recall ever seeing a scientific paper with coloured links (because most of the time those are also for print).
 
raf
Okay, thank you. @Skillmon
Actually, reading this paper (arxiv.org/abs/2001.11334) in favor of using syntax highlighting made me confused today.
 
11:31 AM
@Skillmon Different worlds :) I would say most of the journals I read use coloured links, e.g. A&A, MNRAS, ApJ
 
@samcarter well, different worlds indeed :)
 
@Skillmon MDPI uses blue, bold links for citations (that jump to a citation) and internal and external links. It's quite discrete and probably almost unnoticeable in print, but quite pleasant (IMHO) when read onscreen.
...if the ever print, which I don't know.
 
@raf looking back to my bachelors and masters thesis, the printed code included syntax highlighting (coloured), but I'd never use colour for text highlighting, there I'd use different fonts or different shapes.
 
raf
I wanted to use:
```
\hypersetup{
colorlinks=true,
linkcolor=blue,
citecolor=blue,
urlcolor=blue,
}
```
 
@raf maybe pick a darker blue not the pure one. Something like blue!65!black or similar. The pure blue looks a bit too bright for text, imho.
2
 
11:41 AM
ooh blue da ba dee da ba da
Great, now that song is stuck inside my head
 
raf
@Skillmon :) okay.
 
raf
11:53 AM
@Skillmon thank you. It looks better now. I am not aware of the syntax blue!65!black. What does it mean by '!65!'?
 
12:04 PM
@raf that is the xcolor syntax. And you could make a guess what it means if you combine blue and black through a number.
 
raf
@UlrikeFischer oh okay. Thank you.
 
12:54 PM
@raf (I'm pro syntax colouring) I'm not sure if I would base a decision about using syntax colouring on that paper. It does not really give any reasons that syntax colouring is beneficial other than just saying it is good, no data or studies to support their claims and in their section about addressing the problems, they give some suggestions what can be done, but fail to show that these actually solve the problem.
 
raf
@samcarter thank you, @samcarter
 
Also, keep in mind to use a colorscheme that reads well on most devices, as well as printing (and also covers colour blindness and other colour technicalities).
 
1:15 PM
@PauloCereda I think there was some package released a couple of months ago providing colours matching some of those technicalities (high enough contrast, etc.)
 
@Skillmon ooh that's cool!
 
2:08 PM
@DavidCarlisle The package author suggested that, apparently: tex.stackexchange.com/a/207313/134574
 
@PhelypeOleinik well it's not my package so not my fault
 
@DavidCarlisle Aye to that
 
@raf look at the journal you plan to publish in, does it use colour?
:59458861 the typewriter used for my thesis didn't do colour
yesterday, by David Carlisle
@samcarter yes hex colours are banned primary colours are what you need
 
2:28 PM
@PauloCereda but I don't remember the name :(
 
Great news: svg2tikz now works with inkscape 1.x github.com/xyz2tex/svg2tikz/pull/61
 
2:40 PM
@DavidCarlisle You should have gotten some coloured pencils for your wife
2
Jul 4 '13 at 17:09, by David Carlisle
@percusse In my thesis, I just got my wife to draw in the big brackets with a pen, she had a steadier hand than me.
 
@DavidCarlisle Solve a hack with a yet another hack :-)
 
@PhelypeOleinik well when in six years there will be a question with % HACK % HACK % HACK % HACK % HACK % HACK % HACK % HACK % HACK % HACK % we will be able to identify the source ;-)
 
@UlrikeFischer The "Proceed at your own risk" exempts me from any blame, so that's fine :)
 
@PhelypeOleinik Hic sunt leones
@UlrikeFischer Yup seems right
@UlrikeFischer Also Overleaf templates
 
@JosephWright Like that, except lions don't spread as fast as bad code
 
2:52 PM
@JosephWright ooh a lion
@UlrikeFischer Finding Nemo's seagulls meet coding. :)
 
@PauloCereda 🦁🦁🦁🦁🦁
 
@egreg ooh-nicode
 
@PauloCereda @yo' Feature idea for overleaf: if a users creates a new project from a template, could you automatically add a comment with the url to the template? This would make it easier to answer questions when the user just says "I'm using THE template from overleaf"
6
 
@samcarter Good idea
@samcarter Or at least some kind of ID: OL-2021-001, etc.
 
@JosephWright yes, it doesn't have to be the link, just some identification which of the trillion cv.cls it is
 
yo'
2:59 PM
@samcarter might be a no-no (it's not that easy to modify the code reliably at that stage of project creation), but I'll see what can be done while work on other gallery improvements :)
 
@yo' If not at the stage of project creation, then maybe at the template creation level?
 
yo'
@samcarter good point! Still there are non-easy things: It will at least add a line of code into the project...
 
@yo' <3
 
@samcarter I'm not that generous
 
@DavidCarlisle :( There are even duck themed pencils: im01.itaiwantrade.com/a45753d7-c0f0-49e6-9f34-9a7c98d4f88a/…
 
3:05 PM
@samcarter ooh
 
@samcarter ideal for writing out menus, no doubt
If I have a C program that compiles and I change it so it doesn't compile, can I blame @UlrikeFischer?
 
@DavidCarlisle oh no
@DavidCarlisle #define BLAME Ulrike
 
@DavidCarlisle Correct the code and then add a comment "blame Ulrike". That should allow it to compile again.
 
@UlrikeFischer thanks, seems to work
 
3:54 PM
@Skillmon Do you mean ninecolors? There also is pgfplots' colorbrewer library..
 
4:32 PM
@schtandard ooh
 
@UlrikeFischer @MarcelKrüger is this expected? tex.stackexchange.com/a/620414/1090
 
@DavidCarlisle well the mapping is needed, but why does the document disables it?
@DavidCarlisle ah, because of the \newfontfamily it is not enabled by default.
 
@UlrikeFischer ah not polyglossia, I just tried without, I'll remove that comment
 
@DavidCarlisle yes, and better use Ligatures=TeX, then it works also without lualatex without warning.
 
@UlrikeFischer but I thought fontspec added this by default
 
4:46 PM
@DavidCarlisle well it can't add to all fonts, then it would affect typewriter too. So imho it is only the default for fonts you declare with \setmainfont and \setsansfont.
 
@UlrikeFischer ah
 
user image
3
@samcarter colored circuit with ninecolors ;-) (told ya...)
 
@UlrikeFischer so I put a knowledgable comment under my answer giving the impression I'd ever seen the fontspec documentation
 
@Rmano ooh
@DavidCarlisle ooh
 
5:16 PM
@PauloCereda do you think we should flag the answer to this as spam? tex.stackexchange.com/q/620405/1090
 
@DavidCarlisle ooh
 
5:29 PM
@schtandard yes, I think it was ninecolors, thank you!
@DavidCarlisle maybe not spam, but I agree, that answer is not particularly helpful. The only worse possibility now would be someone recommending the use of a bloated OS like Emacs.
Oh no my favourite candidate disappeared from the election :(
 
 
2 hours later…
8:12 PM
@Rmano sooooo pretty!
user image
12
(comma correctly placed :) )
 
@samcarter congratulations
 
@DavidCarlisle thanks :)
 
@samcarter -- Whee!
 
8:27 PM
@barbarabeeton <3
 
@samcarter wow! Congratulations!
 
@Rmano thx!
 
 
2 hours later…
10:05 PM
user image
3
^^^ some ducks are celebrating
 
10:18 PM
@UlrikeFischer Congratulations :) Will tomorrow be a city-wide holiday to recuperate from the celebrations?
 
10:34 PM
@samcarter they will probably need 5 days ;-)
 
@UlrikeFischer sounds more fun than 0 days :)
 

« first day (4014 days earlier)      last day (43 days later) »