# All Questions

174,108 questions
25 views

### How to prevent additional space after a table?

I have a table and I was not able to remove additional space that exists after the table's caption. \begin{table}[ht] \raggedright \begin{tabular}{l|l} ... \hline \end{tabular} \...
37 views

### Centre column head with siunitx

Consider this example \documentclass{report} \usepackage{siunitx} \begin{document} \begin{tabular}{l S} A & {sf}\\ 0 & 9887779.1\\ 0 & 9999.1 \\ \end{tabular} \end{document} In ...
27 views

### Images disappearing when compiling with tex4ebook

I am trying to convert an existing book from plain PDF output to ebook format for online publishing (and doing some reformatting in the process, but that's another question). I have images in the \...
37 views

### pgfplots: How to set xticklabel as two line?

I want to design xticklabels as two line texts: First line: Date, e.g. \month/\day Second line: Time, e.g. \hour:\minute Minimum Working Example (MWE): \documentclass{standalone} \usepackage{...
48 views

21 views

### full width longtable in tufte-book, like table* environment

I am using pandoc to create a tufte-book latex. pandoc's tables are rendered using the longtable environment. Within tufte-book this only uses the \textwidth. Wrapping it in a fullwidth environment ...
332 views

### Draw a pulley system

Consider: I need to draw a pulley system as in the figure. How can I do that? \begin{tikzpicture} \fill[pattern=north east lines] (-3,0) rectangle (3,.3); \draw(-3,0)--(3,0); \draw(-2.5,...
26 views

### How to enable contextual substitutions in lstlisting?

Fira Code (available via its GitHub Release page) not only provides fancy programming ligatures (see Use Fira Code font with ligatures in code listings), but also contains contextual substitutions. ...
9 views

28 views

### How can I create a two-page spread of a tabular environment?

I want to make a teacher's lesson planning book. (You know the story: I've never found one I liked, so I want to make my own.) To do this, I need a planning grid that spans a two-page spread, with the ...
45 views

### How can I simplify an equation in LaTeX?

I am new to LaTeX, and I am using OverLeaf. I am trying to typeset simplifying the equation u+v-w=p*r+q*s-(q-p)*(s-r)=p*s+q*r. I tried: \begin{align} \left\ u+w-v &= p\times r + q\times s - ...
16 views

### Error interacting with visualization depends on with values and pgfplotstable

Problem When changing the values of the markers on a scatter plot using the visualization depends on key and when the data comes from a \pgfplotstable the marker printing is broken. If I have the ...
23 views

### function multiple lines into box

I'm trying to write the Leapfrog integrator for Monte Carlo Hamiltonian, but I can not properly align each of the rows, any suggestions please. Expected Output: My code: \documentclass[12pt,a4paper]...
39 views

### \newenvironment without using environ package [on hold]

I want to create a new environment without using the environ package, which conflicts with other packages that I have. I can create the command like this when using environ package. \NewEnviron{...
44 views

### Young tableaux and braces

I would like to use the following drawing in my memoir: \begin{figure}[!h] \centering \begin{ytableau} ~ & \none & \none & \none & \none \\ \none[...
38 views

### Add a vertical bar to specific pages using TikZ

I use a template that creates a document with two pages. The first page has a vertical bar and the second page has a horizontal bar. I would like to extend this template in order to add an arbitrary ...
38 views

### Lualatex/Japanese document compiles fine in TeXstudio, but not MacTex

I'm having trouble compiling the following document. I have done a fresh install of MacOS 10.14 and installed the full size MacTex 2018 distribution directly from TUG. I have also upgraded all ...
54 views

### Sizing table to page

Apologies for a general question but I need some help strategizing about how to include a fairly large amount of data in an article document. Basically I have several 35x35 matrices that I need to ...
63 views

### Trouble with the “initials” package [Solved]

EDIT: Many thanks to Bernard for solving the issue. I needed to refresh the font map files. I've been trying to experiment with using LaTeX for more than just math papers, and I thought I'd try using ...
26 views

### APA citations and bibliographies

I'm new to TeX, and am struggling to format the citations and bibliography as I want them for my thesis (written in Overleaf). I have tried countless packages and different citation/bibliography ...
36 views

### Citing entire journal issue in biblatex-chicago

According to the biblatex-chicago manual the entrytype periodical should be used for citing entire journal issues, providing a string such as "special issue" in the note field (see pgs. 67, 76, 93, ...
222 views

### Keep at all times, the minus sign above aligned with minus sign below

How can I change the frg command such that I can create and maintain at all times the minus sign above aligned with minus sign below? PS: If you can show how to include a font setting for the whole ...
30 views

### Update TexLive 2018

I work with TexLive2018 However, some of my packages seem to be old: (/usr/local/texlive/2018/texmf-dist/tex/latex/tools/array.sty Package: array 2018/04/30 v2.4h Tabular extension package (FMi) ...
20 views

### Random authors' names before cover page

I don't know why but when dowloading the pdf file from overleaf, some random authors' names contained in the references section pop up right before the cover page, like the image below is pg. 1 of the ...
132 views

### Centre cell vertically in tabularx [duplicate]

Consider this example: \documentclass{report} \usepackage{tabularx} \usepackage{lipsum} \begin{document} \begin{tabularx}{0.5\linewidth}{lX} A & \lipsum[1][1-2] \\ \end{...
50 views

### Typesetting single chapters in large book while preserving all cross-references, accurate page numbering, etc

I'm writing a large book (using tufte-book) that will likely be 500 pages. My computer has enough working memory that I can typeset the full text but this book is about art and the digital document ...
46 views

To generate pdf document I was to do "pdflatex thesis.tex" but now pdflatex does not exist.
33 views

### Inserting the image intro the text

I am currently working on the project and trying to add images into the text. I want images to be wrapped. I am adding them after the paragraphs since otherwise Overleaf marks it as a mistake. I am ...
269 views

### Table formatting with tabularx?

I am trying to format the table to obtain the one in the picture. However, the result is less than satisfactory, could you please help me with tabularx enviroment? \begin{table}[] \centering ...
29 views

### Repeated references with multibib

I am trying to cite multiple references, sorted by reference type (journal vs. conference). Some of the journal references cite the corresponding conference paper where the results originally appeared....
32 views

### In proof environment , “proof” doesn't show at the beginning of a proof in pdf

I use a proof environment in a solution environment which inside a description environment. But after compiling my tex file, in the pdf file the proof doesn't show at the beginning of a proof. "...
42 views

### Sudden problem with compiling PDF

I have a problem with compiling PDF, suddenly I received information: Sorry, but pdflatex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:/Users/asus/...
26 views

### How to change \lstinline{} font size? [duplicate]

I have the following example. I use \lstinline{} command to provide code within latex text. However the font size seems to be small. Please if you know how to to trigger this please let me know. ...
40 views

### ModernCV symbols (email, skype etc.)

I looked for the moderncv documentation, but without any success. I'd like to know the list of the symbols (email, skype etc.). Can you tell me if there is this list please? Thank you in advance.