« first day (2163 days earlier)      last day (2771 days later) » 

12:43 AM
Hi!
 
 
6 hours later…
6:53 AM
@cfr Nothing offensive or out-and-out misleading
 
 
3 hours later…
10:00 AM
Hi!
Election day!
 
@PauloCereda Oooh
 
@JosephWright :)
 
@PauloCereda Downloading Sierra here
 
@JosephWright yay! Nothing major for us, I guess. :)
 
10:36 AM
Me trying to learn expl3
 
11:14 AM
@PauloCereda Trump will win
 
@DavidCarlisle Yup
 
@JosephWright I wonder if he knows he'll be be mayor of São Paulo
 
@PauloCereda Sierra seems to be working
@DavidCarlisle :)
 
12:18 PM
0
Q: Display of figures in 'documentstyle' .tex-file

Arthur MutambaraI have a whole book which was done using LaTeX. Everything was working and was displaying perfectly. Now my .ps and .eps figures are no longer displaying. I am using the documentstyle format, if I use documentclass format some of my equations do not work. What can I do to get my figures to displa...

:)
 
12:39 PM
"In latex, There is no Times New Roman font" -- is this true?
 
@manetsus No
@manetsus There are many clones of Times New Roman about in the word: there are several free options in TeX Live
 
@JosephWright That means there are some closest, but not exact, right?
@JosephWright In this answer, it is written in the second point
 
@manetsus No, not really: I do mean clones
@manetsus Font names can be legally protected, font shapes cannot, so whilst you cannot distribute 'Times New Roman' you can make an exact clone
@manetsus Like many fonts that predate the digital era, there's no one definite version of Times New Roman anyway ....
 
@JosephWright How could I change the default font to Time New Roman?
 
@manetsus I'd do
\usepackage[T1]{fontenc}
\usepackage{newtxtext,newtxmath}
 
12:44 PM
here, newtxmath is the cloned font name of Time New Roman, right?
 
yo'
@DavidCarlisle answered
 
@manetsus Well, it's an improved version of Nimbus Roman, but broadly 'newtx' is the name
 
@JosephWright Is Numbus Roman a cloned version of Time New Roman?
 
@manetsus Yes, otherwise I wouldn't be pointing at this!
 
@JosephWright Error: File `newtxtext.sty' not found. ^^M
 
12:47 PM
@manetsus What TeX system do you have installed?
 
@JosephWright textlive, I am using it from Tex Studio
 
@manetsus Yes, but which TeX Live. For example, what does pdftex --version at the Command Line say?
 
It says:
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
 
@manetsus Ah, 'Debian'
 
yo'
@JosephWright I knew what you were going to say
 
12:51 PM
@manetsus The fonts are in TeX Live but if you are using the Debian packages things get split up into lots of bits
@yo' :)
 
@JosephWright what should i use?
 
yo'
@manetsus tug.org/texlive/acquire-netinstall.html (so-called vanilla)
 
@manetsus You want texlive-fonts-extra apparently
@manetsus I'd go with @yo' suggestion (just ignore the Debian versions), but to solve one font issue that might be a bit extreme ...
 
@JosephWright What should I do now? Should this answer work?
 
yo'
12:53 PM
@JosephWright @manetsus apt-get install texlive-*
 
@yo' Well yes
 
@JosephWright sudo apt-get texlive-fonts-extra?
 
yo'
@manetsus sudo apt-get texlive-*
 
@manetsus Yes
 
@yo' It shows E: Invalid operation texlive-fonts-extra
 
yo'
12:55 PM
@manetsus sorry, sudo apt-get install texlive-*
 
@yo' Ow, thanks. You people are really awesome!
 
@manetsus Well we are experienced
 
@JosephWright I am really feeling happy to meet such experienced people like you! Thanks a lot :)
Is it the best way to keep line spacing 1.5?
\usepackage{setspace}
\renewcommand{\baselinestretch}{1.5}
 
@manetsus :)
 
yo'
@manetsus there is no good way to increase line spacing, that's an evil sin.
 
1:02 PM
@yo' thanks (for some reason I thought you would be a better person to ping than wipet for a latex answer:-) Sorry I thought it was same class as you did, but clearly some details slipped past me...
 
@yo' I know I'm a heretic here, but there are good reasons to need to do it
@manetsus Yes
 
yo'
@DavidCarlisle there's two of them: one red and one blue, for two different universities
 
@DavidCarlisle :)
@DavidCarlisle I see you've branched: plans?
 
yo'
@JosephWright you call "grant prescriptions" good reasons? :D
@JosephWright David branching? Probably git misuse :-)
 
@JosephWright only a vague plan to have another dated release before end of year.
@yo' I know nothing about git. svn this is
 
1:04 PM
@yo' Theses, manuscripts, ...
 
yo'
@JosephWright stupid (IMHO); wider margins suffice. Always
 
@yo' Depends on your point-of-view I guess (for example, I'm of the 'manuscripts should not look like printed journals, but rather like typewritten material' school of thought)
 
@yo' actually wider margins while it looks better is more disruptive if you then later want to typeset without the space, as you have to reformat all the text blocks, whereas double spacing my alter float placement but figures and things will still fit if doublespacing is removed
 
@yo' In any case, most people expect (in the UK) that theses will be more-than-single spaced, for example for judging length
@DavidCarlisle True, but why would you want to do that anyway?
@yo' Also, it's often in the rules
@DavidCarlisle Ah
 
@JosephWright as far as I can see some people like to print the official copies to hand in according to university regs but print a version for their mum that looks nice (because it won't be read anyway so looking nice is the main thing)
 
1:08 PM
@yo' Oh, grants have the 'must be sanserif' rule too :)
@DavidCarlisle Your experience is different to mine, then: you'd make the document shorter, so people would be disappointed
 
@JosephWright well my own experience involved a photocopier so changing formatting wasn't an option:-)
 
@DavidCarlisle :)
@DavidCarlisle I'm going on recent students (though I think in recent years I've not seen anyone print a copy for family at all, just their own copy)
 
@JosephWright Thanks :)
 
@yo' I think we have the usual issue that in the UK a thesis is very much an 'examination document' so the approach expected is somewhat different from a book or whatever
 
How to add references according to APA, MLA, or IEEE format in latex?
 
cfr
1:24 PM
@JosephWright This one is causing a certain amount of trouble and the user insists on a right to choose an offensive name. They asked if there was an ethics code they'd missed. Hence my question. tex.stackexchange.com/users/80589/baron-furzgesicht See comments on this question:
1
Q: Error messages in main.bbl

Baron FurzgesichtEntry has been Edited: Here's my example with the cluddered mess of a preamble. Sorry about this but I don't know which packages are necessary anymore and which are not, so I just keep them all in. \documentclass[a4paper,twoside,12pt]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputen...

@manetsus Are you using BibTeX or Biblatex/BibTeX or Biblatex/Biber or are you creating te entries manually in a thebibliography environment?
 
2:10 PM
Till now, I have created manually `thebibliography` environment with:
\begin{thebibliography}{99}
But now, I have to maintain APA, MLA, or IEEE standard.
 
@manetsus Well you can do it by hand, or there are various questions on the site
 
@JosephWright By hand, it would be horrible.
 
cfr
3:12 PM
@manetsus So you want to create a .bib database and then either use BibTeX or use Biblatex with either the Biber or BibTeX backend. Most flexible/powerful: Biblatex/Biber. Most widely supported/compatible: BibTeX.
@manetsus You can either maintain the database file by hand (just a plain text file) or you can use a front end such as JabRef. Or you can use something like Zotero or Mendeley and export to .bib. Personally, I just edit my .bib file in my TeX editor with the help of a few scripts, but JabRef seems to be popular.
 
3:58 PM
!!/choose longtable ltxtable
@egreg where is Psmith when you need him
 
4:30 PM
@DavidCarlisle :)
 
@egreg a well deserved tick don't you agree?
 
Max
4:43 PM
@DavidCarlisle I am digging in the code of longtable again. Do I understand correctly that there is no easy way to have a dynamic part in \endfoot? it looks like it is frozen at the moment of declaration. The code is a little hard to follow in places and I can't find the \edef/\xdef that I suspect is responsible for this.
My idea now was to construct \LT@foot manually. What's the correct nesting of the boxes?
 
4:56 PM
@cfr Could you please tell me what actually JabRef does?
 
@manetsus It's an editor for .bib files that provides a handy interface
 
@JosephWright cool :)
@DavidCarlisle oh no
 
@Max it's currently not an *def at all, that's the problem, it is a box. to do a proper job of varying the foot you'd have to rewrite the entire package but I seem to recall putting a version that will work in simple cases in an answer here, I'll see if I can find...
 
Max
Thank you
 
@Max usual issue with output routines, the page builder works asynchronously adding the foot as it breaks each page so you don't know within the table which foot you would need, you might execute the entire table before lt@foot is used at all
 
Max
5:06 PM
yeah I know :/
although why would it walk past the pagebreak by more than one row?
and I think I can handle the one row scenario
 
@Max because it works a chunk at a time (default 20 rows but these days could better be 2000)
 
Max
meh
Any other idea how I could achieve a running total of the current page then?
 
@Max this does headings but wasn't what I was looking for tex.stackexchange.com/questions/223513/…
@Max see ^^ (or use supertab:-)
 
Max
This is already longtabu, not going to complicate things further
I'll try your link first, thank you very much!
 
@Max or better this one
12
A: How to print subtotals in each page of a long table?

David CarlisleThis has a few limitations but it re-calculates the foot box each page... \documentclass{article} \usepackage{longtable} \usepackage[textheight=9\baselineskip]{geometry} \newcount\zzz \def\foo{} \def\zz#1{#1% \global\advance\zzz#1\relax \marks1 {\the\zzz}% } \marks1{0} \makeatletter \def\LT...

 
Max
5:13 PM
how did I not find that one
my search skills really are sub par
 
@Max the trick when searching the site is to search for the answer rather than the question, that is often more specific:-)
 
Max
:P
 
@Max not my favourite package but whatever:-)
 
Max
Mine neither
 
5:54 PM
@DavidCarlisle Plant bugs in packages and then solve them?
 
@egreg plant things that may appear to be bugs, then earn reputation by explaining the features.
 
@JosephWright Thank you. Its really cool :)
 
 
1 hour later…
7:22 PM
While using IEEEtran, an `[online]` tag is coming in every references. How could I remove it?
Say:
K. Berlin, S. Koren, C.-S. Chin, J. P. Drake, J. M. Landolin, and A. M. Phillippy,
“Assembling large genomes with single-molecule sequencing and locality-sensitive hashing,”
Nature Biotechnology, vol. 33, no. 6, pp. 623–630, may 2015. [Online]. Available:
http://dx.doi.org/10.1038/nbt.3238
 
7:51 PM
@manetsus you can use a copy of ieetran under a different name and change
% #0 turns off the display of urls
% #1 enables
FUNCTION {default.is.use.url} { #1 }
to use #0 instead of #1
 
Max
@DavidCarlisle I know we both dislike tabu, but do you have any idea why the solution you gave me fails immediately if I replace longtable with longtabu?
 
or leave then displayed but change `% The default URL prefix.
FUNCTION {default.name.url.prefix}{ "[Online]. Available:" }` or ....
 
Max
It appears the output routine is untouched, so that shouldn't be it
 
@Max oh well that's expected, my answer pokes redefinitions in places that longtable isn't expecting redefinitions and if they don't exactly tie up with tabu's changed code base, that's just (TeX) life. Can't really blame tabu for that:-)
 
@DavidCarlisle could you please tell me how I would do it?
 
Max
8:07 PM
@DavidCarlisle
major headache coming up
 
@manetsus IEEEtran.bst is just a plain text file, you can copy it to a new name and edit in any editor
 
Max
I don't know why but whenever someone asks me for help with longtable in some form or other I end up tweaking something with the output routine
 
@Max welcome to my world
 
Max
feels like a leaky abstraction
probably the wrong term bu tsomething like it
@DavidCarlisle well you'd know, you wrote the damn thing
 
@Max you can't have a leaky abstraction in a macro programming that has no abstraction or encapsulation of any sort, and all code is exposed at all levels and can be changed at run-time
 
Max
8:10 PM
@DavidCarlisle yeah that's why I meant the term is wrong, but if I have to rewrite it everytime I have to use it, something's wrong
 
2 mins ago, by David Carlisle
@Max welcome to my world
:-)
 
Max
:)
 
@DavidCarlisle Did not you say an alternate way later?
 
@manetsus no I just meant alternative edits, you can turn off the url prefix with #0 as in the first suggestion, or you can leave it in but edit the text in the function that adds it
@manetsus but there may be higher level access to that as already provided bibtex styles for whichever journal or conference is specifying the style, you wouldn't normally expect document authors to have to edit bibtex styles
 
@DavidCarlisle Oh! I see, thanks :)
How to change the default date format which I get from \today?
I want to get it like $3^{rd} October, 2016$
 
8:23 PM
@manetsus \newcommand\today{this Sunday} is the standard way but there are lots of packages and/or babel options to customise date handling.
 
@DavidCarlisle I want to get it in the form $3^{rd} October, 2016$. I meant the format which produced by running this on latex.
 
@DavidCarlisle That's a control entry: don't edit it, use a special citation!
 
@manetsus there must be a package for that, although I don't know, probably texdoc datetime2 is where I would look first
 
Max
@DavidCarlisle Thank you very much for your help. I got it working with longtable, although it was a royal pita. I gave up on longtabu, I don't think he needs it anyway.
 
@JosephWright I was working backwards looking for higher level control but gave up somewhere around there:-)
 
8:30 PM
@DavidCarlisle I use the same trick in achemso (I copied Michael Shell's idea)
% These are the defaults for the user adjustable controls. The values used
% here can be overridden by the user via IEEEtranBSTCTL entry type.

% NOTE: The recommended LaTeX command to invoke a control entry type is:
%
%\makeatletter
%\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}}
%\def\@bstctlcite[#1]#2{\@bsphack
%  \@for\@citeb:=#2\do{%
%    \edef\@citeb{\expandafter\@firstofone\@citeb}%
%    \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}%
%  \@esphack}
@DavidCarlisle ^^^
 
How to solve the error File "`tracklang.sty' not found. \RequirePackage"?
 
@JosephWright 'struth I think it looks easier to edit the bst:-)
 
@DavidCarlisle For achemso I provide a keyval interface at the LaTeX level :)
 
@manetsus no you just need to get the file from somewhere (google find it?)
@JosephWright latex keyval interfaces, good idea that.
 
@DavidCarlisle Indeed, plan to talk about such things at the UK-TUG meeting (which is looking borderline for 'emergency find a new venue')
 
8:39 PM
@DavidCarlisle The question has no answer!
 
@manetsus ctan.org/tex-archive/macros/generic/tracklang?lang=en says it is in texlive and miktex, so you just need to update your tex system and you should have it
 
@DavidCarlisle sudo apt-get install texlive-generic-extra solved the problem
 
@manetsus really it's simplest to get everything, starting from a minimal install saves a bit of space but by definition leaves you with uninstalled packages.
 
@DavidCarlisle So, how to do full install?
 
@DavidCarlisle We should have that on a loop!
@manetsus sudo apt-get install texlive-full
(I think: I'd just use TL from TUG)
 
8:45 PM
@JosephWright Thanks a lot :)
 
So, I've tried Siri on my Mac: what exactly is the point?
 
@JosephWright so your phone and mac can talk to each other?
 
@DavidCarlisle I've got a Nokia C1 :)
 
@JosephWright they'll have to communicate via google translate
 
With the help of `datetime2`,
The following gives date like: "Wednesday 8th March, 2000"
\usepackage[showdow,en-GB]{datetime2}
\DTMlangsetup[en-GB]{ord=raise,monthyearsep={,\space}}
and the following gives: "Wed 8th March, 2000"
\usepackage[showdow,en-GB]{datetime2}
\DTMlangsetup[en-GB]{ord=raise,monthyearsep={,\space},abbr}
But I need to remove the day part fully. I need "8th March, 2000". Is there any short modification to do that?
Ow, got it! The following served the purpose:
\usepackage[en-GB]{datetime2}
\DTMlangsetup[en-GB]{ord=raise,monthyearsep={,\space}}
Thanks!
 
8:55 PM
@manetsus good guess on my part, never actually used the package:-)
 
@DavidCarlisle Thanks a lot. You are a real genius.
 
@egreg ^^
@manetsus not really, just used latex once or twice before.
 
@DavidCarlisle Once or twice? I know how well you are experienced in Latex.
 
Max
modesty is a virtue
Thank you very much for your help and have a good night
 
@Max night:-)
 
9:02 PM
@DavidCarlisle Understatement.
 
9:17 PM
@egreg looks like you should make an answer for your textgreek comment (what does the package do?:-) I should look I suppose..
 
@DavidCarlisle No, it's not the right approach for a document in Greek.
 
@egreg yes just looked at the package and that did occur to me, looked more suitable for occaasioanal word
 
@DavidCarlisle That's right, although “occasional” seems more appropriate. :P
 
@egreg can't type and watch the news at the same time. probably "use xe/luatex" is a better answer
 
Hello
 
9:33 PM
@Alenanno Hi
 
@JosephWright So... I managed to do "something" with expl3, and I was kinda excited, but damn, the struggle.
:D
 
@Alenanno We know we need a beginners guide: someone promised to write one [@egreg ;)]
 
@JosephWright Yeah, and if I may suggest: with examples, if possible. I learn mostly with examples, because you can explain a command in 10 pages, or just use half and then show one or two examples. :P
It seems everybody has been learning it since 2013, I feel like I'm a little late.
 
@JosephWright I just approved an edit via the review queue, which now says " It needs more reviews from other users to be completed." Given that I could have edited the post myself without review, this seems odd. Is there a logic?
 
@Alenanno Sure
@AlanMunn Probably: one for the Powers!
 
9:47 PM
@JosephWright I don't want to sound like I'm "demanding" here. But I think it would be really helpful for beginners like me. :D I'm looking forward to this beginner's guide in any case, though.
 
28
Q: Instant edit approval for high-rep users

TomalakI know this has been asked before, but obviously there's still something that keeps this from being implemented/fixed. I am a pretty active editor on Stack Overflow. In fact, I do edit a lot more questions than I answer. I have the Strunk-and-White badge, and if that one would stack I would have...

Asked and unanswered... :)
 
10:32 PM
@PauloCereda is this your doing?
0
Q: How to turn off the yellow duck in TeXStudio

ScumCoderI really love TeXStudio, but it has one feature that started to annoy me lately. Whenever I want to get more workspace, I start hitting the Esc button. This is a common (among various IDEs) shortcut to a function which is called "Close something", and it basically closes the secondary floating w...

 
@DavidCarlisle I tried and the result is that TeXStudio froze and freezes every time I relaunch it
@DavidCarlisle This is another hint that @PauloCereda may be involved.
 
@egreg I was thinking the same thing
 
10:47 PM
@DavidCarlisle Installing a more recent version doesn't make things better
 
@egreg it's not emacs, that's the main problem
 
@percusse This is a place where English clearly needs the Turkish miş :) tex.stackexchange.com/questions/332308/…
 

« first day (2163 days earlier)      last day (2771 days later) »