# All Questions

176,883 questions
2 views

### How to print commands and their output in a PDF document and to the terminal/console

I found a big list of symbols and the source here. I would like to simply do this: place each command on a new line, and evaluate the command in the first column, and print the command in the second ...
6 views

### Math symbols in math operators

I would like to customize the weak and the weak-star limit as math operators. I have done this for the weak limit: \DeclareMathOperator*{\wlim}{w-lim} But how do I do this for the weak* limit? It ...
10 views

### Writing citation in beamer

\documentclass[8pts]{beamer} \usepackage{amsmath,amsrefs} \usepackage{amssymb} \usepackage{graphics,graphicx} \usetheme{Frankfurt} \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing} \...
19 views

### Drawing colored sticks

I am trying to draw some "matrices" that looks like this So above the diagonal the sticks should be blue and below they should be red. Using some help from the answer by marmot in my previous ...
4 views

### Bar graph with tick labels from table column by index?

How do I use yticklabels from table if I want to define the column by index? According to the documentation of yticklabels from table: Furthermore, it can be [index] <integer> in which case <...
12 views

### Why does \tkzInterLC calculate the wrong radius?

The following description of a triangle is given: Let Δ ABC be a right angle triangle. With ∠ABC=90, AB=12cm, AC=15cm. The point D lies on AB such that DB = 7cm. The last point E lies on AC such ...
20 views

### Regular triangles in a row

How can I properly align these triangles? My MWE: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning,shapes} \begin{document} \begin{tikzpicture}[border rotated/.style = {...
11 views

### Does the APA6-Class “Keywords” do anything but formatting?

everyone, I was wondering if the "Keyword" command from the APA6 class does anything more than just formatting. (e.g. pass as PDF keywords or similar?) If not, does anyone know how these are ...
10 views

### Equalise spacing before and after tcolorbox environment

I don't like tampering with the AMStheorem default theorem styles (theorem, definition and remark), I find they fit my needs well. In this instance, I am using tcolorbox to draw boxes around ...
22 views

### Count the number of entries inside each refsection in biblatex

I am formatting my publications in LaTeX. Below is the content of the main file: \documentclass{article} \usepackage[style=alphabetic]{biblatex} \addbibresource{publications.bib} \begin{document} \...
15 views

### Indent itemize/enumerate lists with the jfm document class

When using the article documentclass, itemize lists over 2 or more lines automatically indent. However, when using the jfm (journal of fluid mechanics) documentclass, they do not. I have the same ...
22 views

### LaTeX report Longtable caption on list of tables

I am creating the document for my thesis, which is made up of three chapters. In one of them I have longtables. When writing that chapter as an article, I found a solution to get the table to have a ...
25 views

### Difficulties in using gathered

\documentclass{article} \usepackage{mathtools} \usepackage{mathtools, nccmath} \usepackage{amssymb, amsthm, mathrsfs} \begin{document} We say that a $d$-tuple \$\mathbf{T}\in \mathcal{B}(\mathcal{H})...
13 views

### The hline of my table is broken how to fix it

I tried to create a table where the space is quite large inside each cell. However, I have got a broken line. Here is my try: Here is my try: \begin{table}[h] \small \begin{tabular}{|l|...
14 views

### Force Truncate Author List in Citation for long list of authors

I am writing an research article using elsarticle. It uses natbib with a custom bst file for citation. I could not modify it in a way so that in citation, it would truncate the authors list with et~al....
15 views

### Titling: Unwanted Font Change in scrbook

I can't figure out why the "maketitle" font uses a different font than the selected global document font. The reason why I used the "maketitle" title is to be able to use the \lowertitleback command ...
8 views

### Creating a page with lyx

I am creating a cover page for a report. At the upper center some centered text, over an image, should be placed between two images, how do i achieve this (with a text inside a box maybe)? Also how ...
24 views

### Clear xcolor color definition

I'm trying to create a command that creates colour palettes from a partially complete set of defined colours. In order to make sure the palette is complete I use lines like this to use a fallback ...
29 views

### Forest package: problems with height

I am having trouble with the height of the arrows, how can I fix it? \documentclass{article} \usepackage[edges]{forest} \usetikzlibrary{shadows.blur,shapes.multipart} \tikzset{grimsel/.style={...
66 views

### Effects on rectangles

I want to make my diagram’s rectangles look like these, the arrows and rectangles are in bold plus they have a shadow effect: Right now they look like this: \documentclass{article} \usepackage[...
58 views

### Hierarchy diagram

I’m trying to resemble what’s on the picture by using a template. \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[level 1/.style={sibling ...
28 views

### How to wrap a formula inside a table to decrease the column width and increase the row thickness

I have a table in which the last column has a wide formula. Do you know how we can wrap a formula inside a table to decrease the column width and increase the row thickness: \documentclass[openany]{...
37 views

### Can I use a macro in \halign's preamble?

I'm using Plain TeX and want to be able to abstract away the preamble of an \halign so that I can just call it with a number of columns in a macro like \customalign, and I want to use a macro to make ...
20 views

### How to specialize marker style depending on point meta class?

Situation and Problem This question is a follow-up and based on marmots answer of this question. The general situation is described there. I modified the markers as in this answer, but could not make ...
40 views

### On the math Belleek font: how to use it?

I am writing a little expository note on the Poisson equation. During the redaction of the note, due to the simplicity of the content, I decided to experiment with mathematical fonts: I experimented ...
20 views

### Labelling subfloats in a two-column document

I am writing a two-column document and there are a lot of figures that I need to put in. I had a set of 12 plots and I planned to arrange them in three rows of four. \begin{figure*}[] \subfloat[]{ \...
123 views

### Bent arrow under a node

Here is my problem. I am trying to get a bent arrow "go" under the CxExF node by breaking the long arrow into two parts. However, I would like the two parts to follow the same "path" as the long ...
11 views

### How to create sub-assumptions within an assumption chunk and be able to reference them via labels?

I currently am trying to create an Assumption with 4 parts to it. I have first declared the assumptions chunk, then enumerated A,B,C, and D within. I am then trying to create reference labels for them....
34 views

### How to find out the page span of a section

I have several short documents out of which I want to build a larger document, each smaller document corresponding to a section in the larger document. I want to set the footer to contain the name of ...
17 views

### How to ignore the size of the content when using underbrace and overbrace?

Based on the suggestion here How to add an underbrace and overbrace to a term in a equation or here What causes the problem when compiling a displayed equation with \overbrace and \underbrace? for ...
55 views

### Drawing text in between arrows using TIKZ

Hi dear TeX community! I hope you can help me out a bit with some matrices I have drawn (with the community's help of course) using the TIKZ package. I think that I need to post almost the whole ...
24 views

### Make every citation in separate square bracket

Right now I have [1-3] [3] [1,2] But I need [1]-[3] [3] [1],[2] How I can do that by altering just settings, but not the actual code? MWE for this question is following: \documentclass{...
39 views

### latex does not use specified font

I have the latest full TeX-live installed. The following MWE does not select the font Droid Sans: \documentclass{standalone} \usepackage{selinput} \usepackage{droidsans} \usepackage[T1]{fontenc} \...
20 views

### centering calstable issue

I'm having issues getting my calstable to center on the page. I saw this thread here and tried the solution, but my table gets malformated. Is there another way to solve this issue? Here is my table:...
10 views

### Portable installation of TexLive and dehypht-x-2018-03-31.tex

This question is about a borderline installation of TexLive, and as such it could be off-topic. I am sorry if this is the case. Background: I am trying to install a portable version of TexLive 2019 ...
13 views

### Resizing paper to 19x26

How to write in a format 19x26. The printer said to change my paper format and make it 19x26. The current format is A4 paper and the documentclass: book
18 views

### Omit name in cleveref only in specific occasions

In the document I'm working on, in most cases I need \cref{eq:kolmogorov} to write, e.g., Equation (2.4). But in some specific cases I only need it to be (2.4), without Equation. How can I do this? ...
99 views

### writing a function between sets vertically

Could someone help me write this picture situation I'd like to write this centrally, but I do not know where to start ... Thank you very much in advance.
66 views

### Problem while updating MiKTeX - How to solve?

I 'm trying to update MiKTeX packages by MiKTeX console (from here), but I get this error message: The remote package repository is not online. You have to choose another repository. Informations ...
56 views

### Checking if argument is a floating point without breaking on control sequences in argument

Inspired by this answer to test whether an argument is a positive integer, I would like to extend this to floating point numbers. I want to have a macro \TestNumber that checks, whether its first ...
28 views

### X-Y Position of box changed with 2 variable (odd/even) and (numeric range)

I have box A and this box A can moving when (No - odd/even) & (Type - 1/2/3) change. Minimal working coding: \documentclass[a5paper,twoside,8pt]{article} \usepackage[a5paper,landscape,left=1.0cm,...
41 views

### How to add dot after equations before the number?

I am writing a paper for an IEEJ journal, and they require that after the equation, there should be dots before the equation number. It should look something like this The publisher provided a ...
14 views

### Unwanted Line Breaks between Paragraphs [duplicate]

I am typing up an article in LaTeX and everything works perfectly, but for some reason there is a point where there are a few paragraphs where there is a line break between each paragraph. Has anyone ...
36 views

### How to make a space between the item at description?

Here is a MWE: % Preview source code %% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[a4paper,...
24 views

### How can i make both the chapter name and the book-title name appear when citing a book using the Vancouver style in latex?

@BOOK{Khalil2002, title = {Gain-Scheduling}, publisher = {Prentice Hall, Inc.}, year = {2002}, author = {Khalil, H. K}, booktitle = {Nonlinear Systems}, } %The title of the book ...
21 views

### 'mgs.exe' is not recognized as an internal or external command, operable program or batch file

I am getting the error: 'mgs.exe' is not recognized as an internal or external command, operable program or batch file. when I run latex->ps->pdf on TeXnicCenter editor where I use Miktex 2.9 and my ...
25 views

### Horizontal and vertical lines in pmatrix

I am trying to replicate the following matrix in TeX: So far, I have this (the elements in my TeX are supposed to stay in that way): \documentclass[11pt,a4paper]{article} \usepackage{amssymb, ...
35 views

### TexLive 2019 and Hoefler Text features

I just updated my system to use TexLive 2019 and, since the update, some of the features that were previously working for Hoefler Text don't seem to work any more. I have problems with alternate ...