# All Questions

174,018 questions
0answers
10 views

### BIBTEX not BIBLATEX: Suppress fields in bibliography — any updates?

I have the same question as: Suppressing fields in bibliography? Omitting unwanted bibtex information from bibliography? Any updates as on MacTeX 2019? I am asking a simple way to suppress fields ...
0answers
10 views

### Avoid passing an empty optional argument an environment with verbatim content?

this query is related to How to pass an optional argument to an environment with verbatim content? (whose solution did not work in my case) and with Emulating @ifnextchar in expl3 (which is the one I'...
0answers
7 views

### Math mode display style: Move a character to left with breaking the centered text [duplicate]

\documentclass[12pt, oneside]{article} \usepackage{amsmath} \begin{document} \begin{displaymath} \frac{2x}{(x+1)^3} = \frac{2x+2-2}{(x+1)^3} = \frac{2(x+1)}{(x+1)^3} - \frac{2}{(x+1)^3} \end{...
0answers
10 views

### Does LaTeX (lualatex) have the Adobe Illustrator equivalent of “Outline” mode?

I am working with a manufacturer (there are some language barriers) who is asking for the "outline" of some of my pdfs. What they mean: they want what Adobe Illustrator does in its "Outline" submenu. ...
0answers
10 views

### Add footnote to equation number

I'd like to add a footnote to an equation but exponents would be confusion, rather, in the align env, adding a footnotemark to the equation number would be valid. Any way to do this?
0answers
8 views

### Add algorithm2e to toc with koma script

How can I add the list of algorithms from algorithm2e to the table of contents of a koma class? MWE: \documentclass[oneside,listof=totoc]{scrbook} \setuptoc{loa}{totoc} %does not work \usepackage{...
0answers
12 views

### Is there a way to show the “reference number in brackets” instead of “name, year”?

I'm using "apacite" package. and I was wondering whether there is a way to do this: Let reference [5] be: "Besterfield, D. (2013). Quality improevment (9 ed.). Pearson." When I use "\cite{...
0answers
45 views

### Your opinion about locally saving all posts in the text.stackexchange.com [on hold]

I am considering using wget -p -k -n Tex.stackexchange and thus save all posts to some future emergency if I or the site goes offline. Do you think this is a good idea?
0answers
24 views

### Let LaTeX decide where to place figures

There are too many posts that complains LaTeX is not doing a good enough job in placing floats such as figures, and ways to work around them ([!htbp], \usepackage{float}, etc.). Upon curiosity I ...
2answers
41 views

### Help Recreating a Table

I am trying to recreate this table using LaTeX. I want to additionally align the decimals. I have tried using this code to do so. \begin{frame} \frametitle{Table} \begin{table} \begin{tabular}{l *{4}...
0answers
9 views

### Change line spacing in Authblk

My author list consumes several lines. I would like to reduce the spacing between lines, between the authors and their affiliations, and between their affiliations. I attempted to use the setspace ...
0answers
36 views

### Typesetting journal names and abbreviations

I am confused. What is the proper / accepted way of using the journal macros in bibliography? I have found about 3 different sources, and each of them has an incomplete set of the journal macros that ...
2answers
19 views

### Changing font size of a specific portion of the overall document

I have to write a paper for one of my classes and I have what I'm sure is a very basic question that I can't seem to find the answer for. Basically, I just want to be able to increase the font size ...
1answer
20 views

### Using the unicode prime character outside math mode with unicode-math and newunicodechar

I am trying to use unicode-math, newunicodechar and LuaLaTeX/XeLaTeX to write my LaTeX code making use of unicode characters in the source text. This works fine, except for the prime character; if I ...
1answer
19 views

### Unwanted gap between top margin and text caused by tikzpicture overlay

I have the following code based on atbegshi, tikz and a boolean switch to insert pages with a sidebar: \documentclass[a4paper]{article} \usepackage[margin=1.0cm,noheadfoot,showframe]{geometry} \...
2answers
25 views

### fit longtable to textwidth

I am applying How to fit landscape multi-page table to textwidth to fit longtable to textwidth in this example: \documentclass{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \...
0answers
12 views

### Width of a \schembox inside schemata

I have this diagram \documentclass[12pt,a4paper]{memoir} \usepackage[T1]{fontenc} % Support for more character glyphs \usepackage[utf8]{inputenc} %per interpretare tutti i caratteri \usepackage{...
1answer
20 views

### How to activate or deactivate babel layout locally

Consider this example, how to deactivate tabular layout in RTL context \documentclass{article} \usepackage[nil,bidi=basic-r,layout=counters.lists.tabular]{babel} \babelprovide[import, main]{arabic}...
0answers
20 views

### Tikz .tex file for a ggplot image made in R won't render as pdf in my tex document (but no compile error!)

I'll preface by saying that I'm not sure whether this is better off posted in StackOverflow, and I'd be happy to move it over there if that turns out to be the case. tl;dr I followed the ...
0answers
17 views

### Problems with tcolorbox and TikZ external

I am writing a book which will contain a lot of TikZ figures and tcolorboxes. To speed things up I want to use the TikZ external library. However, I have run into some problems that I would like to ...
1answer
27 views

### Centering parts at KOMA-Script

As a continue to this question: How to center headings at KOMA-Script I'm trying to center the parts... MWE: \documentclass{scrartcl} \usepackage{adforn} \setkomafont{part}{\itshape} \renewcommand\...
1answer
45 views

### Continue tikz picture on next page

I want to place a node of a tikzpicture depending on a node of a previous tikzpicture. MWE: \documentclass[a7paper]{scrartcl} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \...
0answers
7 views

### Enlarge y-axis, then shrinking it again

I have this .tex \documentclass[12pt,margin=2mm]{standalone} \usepackage{pgfplots} \usetikzlibrary{calc} \pgfplotsset{compat=1.16} \usepackage{filecontents} \begin{filecontents}{amm.csv} year,aabach,...
0answers
8 views

### \resheading personalized

I would like to change my \resheading tab and insert a black box with question number in white. Like this post (Problem 1): \resheading in two column book document class Thanks! Helena
1answer
33 views

### Plot a 3D volume in PGFplots using something akin to maximum intensity projection

I have a function $\rho(x, y, z) = e^{-|x|}$, which I'd like to plot. It yields a 3d volume - I've already plotted it in Julia (using Makie.jl), and it looks like this: I'd like to be able to plot ...
1answer
10 views

### Table wider than screen in Lyx when its width set to 100% of page width

When I change width of table's columns in Lyx (for example: 30, 30 and 40% of page width in the case of table with three columns), I get result that I expected in PDF, but in Lyx editor this table is ...
1answer
11 views

### Strange listing alignment behaviour with and without a frame

Consider the following code which does an alignment experiment with listings. We are interested in the behaviour aboveskip and belowskip with and without a frame. % -----------------------------------...
0answers
9 views

### pagenote converts spaces to newlines and breaks verbatim typesetting

I want to typeset verbatim end notes (using minted). Unfortunately pagenote converts all spaces in my page notes into newlines, as the following minimal example shows: \documentclass{memoir} \...
2answers
20 views

### Multi-row and Multi-column text alignment and grid

I am trying to create the table below using tabular in latex. Exploring the stack exchange for similar problems like this one has brought me to my current table: \usepackage{multirow} \begin{...
1answer
39 views

### Is there any alternative for tcolorbox in Context?

I am planning to move to Context, however, the fact that I'll miss some of LaTeX packages (especially tcolorbox) feels sad. That's why I asked such a question.
1answer
10 views

### pgfplots: How to set xticklabel date year as YY instead of YYYY?

By default, xticklabel = \month/\year, will be displayed as 04/2019. However, I want to display it as 04/19 instead of 04/2019. Minimum Working Example (MWE): \documentclass{standalone} \usepackage{...
2answers
15 views

### Listing in a command error: Text dropped after begin of listing on input line

While I wanted to test some alignment options to ask another question regarding to listings, I have encountered a problem that I was not expecting. Consider the following code: % Preamble \...
0answers
15 views

### A frame environment with alternating margins depending if the frame is odd or even

I am trying to build a wrap around beamer frame so that all characteristics of a frame are maintained, but the only difference will be the right and left margin. These would change if the frame (page) ...
1answer
54 views

### xkeyval — read keys from file

I want to read xkeyval options from an external file, like: \setkeys{my@keys}{\input{conf}} I tried several combinations of \edef and \expandafter, but to no avail. Any ideas? Best regards, ...
1answer
35 views

### Is there a simple way to create a cross-shaped array in ConTeXt?

According to https://en.wikibooks.org/wiki/LaTeX/Mathematics#Matrices_and_arrays, the following code creates an array that has a cross-shape, with four items centered in each quadrant. \begin{array}{...
1answer
12 views

### Margins of header apa6 document class

I can modify the margins of the body of an apa6 class document by reloading the geometry package: \usepackage{geometry} \geometry{ a4paper, total={170mm,257mm}, left=15mm, right=15mm, top=20mm, ...
0answers
13 views

### Standalone crops arrowhead and border does not show in parent file

Problem: Arrowheads are cutoff in a tikzpicture environment in a standalone and the parent file that calls the standalone. I've tried using a border, but that only seems to rectify the issue in the ...
1answer
44 views

### How to overlap an image so that is behind text? (transparent image)

I was wondering if I can force an image to be behind the text; without affecting the text. Or the other way around which is to place the text on top of the image. Here are the examples of my trials: ...
1answer
17 views

### Avoid breaking inline math insertions [duplicate]

It is not a good idea to break mathematical insertions in text. It happens in this example: \documentclass{report} \begin{document} dfasfsd asdfsdafds asdfsdfds gdsds sfsdd ssfsd wwer sfdsf ggfh dh ...
0answers
28 views

### LaTeX file gives error 135 in Acrobat on some machines but not others [on hold]

I'm not sure if this is the best place to ask this, but I can't think of a better one. I am using the Tufte book class (with help from a professional) to typeset a book. When I run my code it runs ...
1answer
46 views

### tilt a tikz shading

I'm trying to draw a band with a shading over a whole page. This band should have a small angle of 15° from west to east. But I seem to be unable to give the shading the "correct" angle too. How can ...
3answers
59 views

### tabularx column has extra padding at right?

\documentclass[]{article} \usepackage{tabularx} \newcolumntype{h}{>{\hsize=.5\hsize}X} % half width of X \begin{document} \begin{table} \begin{tabularx}{\linewidth}{ h | X | X } \...
1answer
33 views

### Extra period after et collab. (french et al.) in francais.bst

I am using the francais.bst bibliography style and there is an extra period after the "et collab." (the french equivalent to "et al.") in the bibliography entries. When citing in the text, there is a ...
1answer
25 views

### ConTeXt: text to the left of a numbered displayed formula

I read in an old style manual (Sättningsregler, by Lansburgh) that suggests to set short word(s) separating two displayed formulas (if there is space) to the left of the second displayed formula, as ...
2answers
303 views

### How to get a single big right brace?

I am trying to make the right brace cover the whole matrix like the `\overbrace'. Is there a way to do this? \documentclass[reqno,12pt]{amsart} \usepackage{amsmath,mathtools,amssymb} \usepackage[top=...
0answers
15 views

### TexStudio doesn't find the package “Pygments” although it is installed

I'm try to use the minted package in latex to display code in latex document. From Texstudio, I get an error message you must have pygmentize installed to use this package. So I tried to install the ...
3answers
712 views

### How to create a command for the “strange m” symbol in latex?

I am wanting to use the "strange m" symbol in my latex code. I had hoped to use the scorpio symbol, but have been unable to find a scorpio command that produces what I am looking for. The two that I ...
2answers
37 views

### fraction of matrix

If we need an equation with matrix and fraction, the most evident code is L(z)= \frac{\bordermatrix{& & & i & & \cr & 0 & \dots & 1 & \dots & ...
0answers
27 views

### How to include PNG (or PDF) and EPS Files in LaTeX (Overleaf)?

I need to include both types of these files in my document (and definitely need EPS as I'm importing organic mechanisms), but I can't seem to find anything that works. As such, I'm on the setting ...
1answer
140 views

### tikz: drawing arrow

How can I make the left vertical lign arrow-style as the right one? \documentclass[tikz,border=3.14mm]{standalone} \begin{document} \begin{tikzpicture} \draw[->] (0,3) -- (0,0) node[below] {$0$} ...

15 30 50 per page