All Questions

176,867 questions
8 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 ...
12 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]{...
14 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 ...
10 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 ...
24 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 ...
19 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[]{ \...
35 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 ...
10 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....
25 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 ...
12 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 ...
32 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 ...
14 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?
36 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} \...
13 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:...
8 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 ...
12 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
17 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? ...
48 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.
48 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 ...
41 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 ...
23 views

X-Y Position of box change with 2 variable

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,...
36 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 ...
32 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,...
15 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 ...
20 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 ...
23 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, ...
30 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 ...
18 views

Incorrect figure numbering using wrapfigure

I am having an issue with wrapfigure and I can't seem to find a solution anywhere. Not even in the documentation. What happens is as follows: I have a wrapfigure environment in my code followed by a ...
17 views

pgfplots: How to add label to colorbar of 3D plot? [duplicate]

I want to add a label to a colorbar of a 3D plot. While adding labels to the axis is pretty easy, how to add it to the colorbar (which works as a z-axis in this plot)?? Minimum Working Example (MWE): ...
28 views

Replace one word with another without shifting the text in beamer

So in my presentation I want to replace a term in the equation with another term, I know that I can do this with \only but then there will be a small shift of the entire equation. Basically I want to ...
44 views

Expand command in an argument before the main command

Related to my problem for xsim here. I want to use commands \ExOption and \ExPart to implement more easily my collection in xsim package. But i'm facing the problem that my commands do not expand in \...
36 views

how to plot function from multiple points

Actually wanted to draw and plot Optical and acoustic branch but don't know it what's the command to draw a function like this ? Thanks for the help
47 views

curve from given points and tangents

This is the inverse problem of that. At that I wanted the tangents given the curve. This time I want the curve given the tangents. I 'll explain it! Given: some points A, B, C,... and K, L, M,... ...
51 views

many tangents to a curve [duplicate]

I use this for draw tangents to an arbitrary plot. For example: \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.10} \usetikzlibrary{intersections} \makeatletter \...
60 views

How is it possible to use square brackets as shorthand commands?

I have defined a command, that is used in text scripts for stageplays. At the moment, you can write: \says[quietly]{Minka}{Hello, are you there?} which compiles to something like: *Minka*: (...
35 views

drawing a 3D cone cut by a vertical plane

What I am trying to draw is a half cone with the peak at the middle of a braun bar right behind the wind turbine, which got cut by the vertical plane. The intersection line is marked red. This is ...
19 views

Citing in PRL format with abbreviated journal name

I want to cite in the Phyics Review Lettersformat with the journal name in abbreviated form. How do i produce the journal name in abbreviated form for PRL format? This is my .bib entry file
10 views

Citing Journal name in abbreviated form [duplicate]

I have used the Physical Review Letters format for citation but the journal name does not appear in abbreviated form. How do i do it?
24 views

Long Table that Horizontal Line doesn't span some column

I am creating a table to record the sponsorship list regarding to the event hosting. \documentclass[12pt, a4paper]{article} \usepackage[margin=2.5cm, left=2.4cm, right=1.7cm]{geometry} \usepackage{...
17 views

footnote in \Xarrangement{paragraph} does not go to the next line in reledmac

Dear members of this communication, I use reledmac for a critical edition of a Persian book. During my work, I faced a problem and would be grateful if you could answer it. Using \Xarrangement{...
12 views

pdfTeX error: pdflatex (file jkpbne): Font jkpbne at 600 not found [duplicate]

I'm running the error : pdfTeX error: pdflatex (file jkpbne): Font jkpbne at 600 not found In my latex file, I already added \usepackage{lmodern}% http://ctan.org/pkg/lm I'm using MikTex 2.9 ...
29 views

Problem in Tylor and Francis LaTeX template

I'm new to LaTeX and I am using the 'Tylor and Francis' template to prepare my article. The problem I am confronted with is, that my references at the end of the article are not organized in APA style....
115 views

Graphing large functions in LaTeX

I want to graph a function with rather large values using the pgfplots package. The function is represented as (1375*(801-2.96*x)/(x*(18-0.1*x). The code I have currently is: \begin{tikzpicture} \...
55 views

Is it possible to get the latex version rather than pdf version of papers?

I am going to learn latex, I think the quickest way to do it is to imitate good latex examples. The latex version of the published papers are excellent examples, is it possible to download the latex ...
20 views

Keep Footnote Number with Chapter Title

I need to have a footnote attached to a word which forms a chapter heading; unfortunately, the footnote number appears lines below the word that needs to be explained.The footnote should be a ...
21 views

Want to plot curve from points and want to remove axis values

Actually want to draw this curve exactly but dunno how to plot it from the points and can't remove the axis values \begin{figure} \centering \begin{tikzpicture} \begin{axis}[ grid style=dashed, ]...
30 views

Inserting a device tree in a Latex Doc

all. I'm trying to insert a device tree in my undergrad thesis, but the listing package doesn't support the device tree syntax. Any suggestion?