I’ve written before on using arXiv (see why I post to it and watching out for posting delays) and I rely on it to share preprints for most of my work. It’s usually fairly easy to share a paper by uploading the LaTeX source files. But recently I hit a snag due a conflict between a journal’s requirements, arXiv’s backend, and the LaTeX install on my own machine. I wasted probably a couple of hours on trying to identify the problem (mostly tied to the biblatex package) and get a clean solution, but in the end I did the simplest thing I could think of and wanted to share it here.
A brief summary:
Problem: I needed to use the biblatex package to properly format my references for IEEE Transactions on Biomedical Engineering (TBME). biblatex is very finicky with version numbers and it was recently updated. arXiv won’t compile a source whose bbl file (i.e., reference list) was generated from a different version than its system.
Solution: Disable use of biblatex in the version uploaded to arXiv, since they don’t have TBME’s formatting requirements.
For more rambling about how I stumbled into this problem, read on …
Continue reading “Biblatex and arXiv: A Simple Workaround”
LaTeX is great for typesetting equations and figures to look just the way you want. There are plenty of options for alignment and spacing. However, what if you regularly make major changes and need to keep multiple latex document versions? In this post, I’ll talk about how to do this using switches.
Continue reading “Multiple LaTeX Document Versions Using Switches”
This is third and final of a series of posts on plotting in MATLAB. This series is focusing on suggestions and considerations to get your plot looking “just right” for your paper or presentation. In the first post, I talked about how to improve the look of curves. In the second post, I talked about fixing up the text, including axis labels and legends. Here, I will talk about using a plot wrapper to automate most of your work. I will also talk about exporting your figure to whatever format you need.
Continue reading “How to Make Better Plots in MATLAB: Plot Wrapper”
This is the second of a short series of posts on plotting in MATLAB. This series is focusing on suggestions and considerations to get your plot looking “just right” for your paper or presentation. By the end, you will have a plotting function that will do most of the tweaks automatically. In this post, I’m talking about text in figures. These include axis labels, legends, and other annotations.
Continue reading “How to Make Better Plots in MATLAB: Text”
Mendeley is a popular citation manager but it doesn’t properly export bibtex files. Bibtex files (with a .bib extension) are used to add your references to papers compiled in LaTeX. You can find many reports of these problems, including the Mendeley support page. Some of these problems haven’t been officially fixed for over 6 years! In this post I will share some code that addresses these problems, including:
- Constraints on what you can write in the “year” field
- Extra curly braces around titles
- Incorrect format of “month”
- Ability to select what types of entries include the URL (instead of only webpages)
Continue reading “Fixing Bibtex Files Made by Mendeley”
This is the first of a few posts on plotting in MATLAB. I’ll be describing more than the mechanics of calling the plotting (and related) functions. This series will present suggestions and considerations to get your plot looking “just right” for your paper or presentation. By the end of the series, you will have your own plotting function that can automate as much as possible. I’m focusing on 2D plots generated by the MATLAB “plot” function, which is the most common in MATLAB, but most of the ideas also apply to the other plotting functions, too (like “histogram”), or even to plotting in general (via MATLAB or elsewhere). In this first post, I’m talking about improving the curves themselves. The next post describes annotations and other text.
Continue reading “How to Make Better Plots in MATLAB: Curves”
There’s a love-hate relationship between deadlines and research. If open research is really open, then unrealistic deadlines only get in the way. Does it make sense to have a submission deadline if you haven’t figured out what problem to solve? I definitely don’t recommend pushing out an incomplete paper just to have your name on something. If that’s the case, then the deadline is being more of a stick than a carrot.
Continue reading “Deadlines and Academic Writing”