1. All Categories
2. TeX – LaTeX

# TeX – LaTeX : Recent Questions and Answers

## How to keep section titles together with the content in ConTeXt?

I found many places in my document where the subsection titles are places alone at the bottom of the page with the content on the next page, like this:...

## How to select a range of data within a .csv file in latex using pgfplots?

I am generating a plot of data using pgfplots in latex. I am using data from several excel files as .csv. Here is the MWE:documentclass[border=5mm,convert]{standalone}usepackage{pgfplots}usepackage{siunitx}usepgfplotslibrary{fillbetween}begin{document}begin{tikzpicture}begin{axis}[%width=0.9textwidth,%height=6cm,%title=This is my graph,xlabel={Crosshead Extension...

## How to draw a thick point?

begin{tikzpicture} draw[dashed] (1.9,3)--(4,3); draw[dashed] (4,3)--(4,0); draw[dashed] (2.5,4)--(4,3); ...

## Inconsistent overfull boxes and line breaks between systems

I have two systems, one running Debian and one running Ubuntu, and both have the latest version of TeX Live installed (TeX Live 2019/dev/Debian and TeX Live 2019) from their...

## Creating better HTML code with minted and tex4ht

I have a web publishing setup where I compile my LaTeX down to static HTML templates using tex4ht. I end up creating my own styling for these pages. I also...

## els-cas-templates – Elsevier updated LATEX templates - extra comma when including images using begin{figure}[h]

I'm using Elsevier single column using Overleaf. When I include images using the following code, I saw an extra comma added on the top of the image. My file is...

## Typesetting plus-minus uncertainties with different upper and lower bounds

I'm making a data table and need to include my error bars with my data. $pm$ works great if the upper and lower bounds are the same, however, several...

## Unicode emoticons with pdflatex

Following this answer, I tried to use Unicode emoticons with pdflatex like so:{fontfamily{DejaVuSans-TLF}selectfont 😎}The font is selected but the emoticon does not show. There are some ...

## Caption fontsize in a listing using minted

With listing and minted and a pycon lexer to emulate an IPython console, I'd like to change the caption font size to be footnotesize. Unfortunately, my code below does not...

## issue with hhline and cellcolor in table

I am trying to setup a table with hhline and cellcolor. After I got it so far, that I don't see hhlines in the colored cells I am now...