# All Questions

178,957 questions
Filter by
Sorted by
Tagged with
203 views

### Caption in landscape table, need help?

Today is my second day to learn making table in latex. I am facing the following difficulty. I have a landscape table looks like the following I would my table looks like the one in the Journal of ...
52 views

### Title Case containing math

I have ben using the \xcapitalisefmtwords from the mfirstuc package (mentioned in the questions in the References section). However, that fails if the content contain any math content. Is there ...
37 views

### Is chapter style like this in memoir possible? [on hold]

I am interested in a chapter style in memoir that resembles this: How can I do this?
36 views

### Pgfplots labels position is wrong

I can't understand why does label position fail? I use Miktex + Pgfplots. Code: \documentclass[a4paper, 14pt, twoside, unicode, titlepage, final]{extreport} \usepackage[T2A]{fontenc} \usepackage[...
28 views

### Adding medium profile in profile section

I want to add my medium profile in the personal section in my resume. Given that this is my first time using TeX, is there any way to do this. As font awesome is supported, so I added these lines: \...
24 views

### Problem with wrapfigure when left positioning the figure

I have the following piece of brief code. As you see, when I am using verbatism after the wrapfigure in the left mode {l}, the generated pdf file is a mess. But it is ok if I use wrapfigure with {r}. ...
66 views

### Help creating the following table in Latex (bullet lists and merged cells)?

Could someone please help me create the following table? There are 3 columns and 3 rows. The second and third rows of the second column are merged. Also, this merged column along with the last column (...
21 views

### How to name a function like a relation (dependence atom)

I want to achieve something like this: how do i do this for an arbitrary relation symbol? Latex is putting a whitespace after it.
29 views

### Tex file just showing what looks like binary code after restarting computer

My computer crashed so I restarted it. When I opened the tex file I was working on (in TexStudio) it just shows code which looks like its in binary or something. I can't copy and past on stack ...
79 views

### Is there a guide to help me transition from PSTricks to TikZ?

Is there a guide or tutorial for someone who loves and has been using PSTricks for a very long time but would like to give Tikz a chance? Ideally, I would like to know a few things: What are the ...
35 views

### How to create local total counters?

I would like to write page numbers like this '7/9' in all minted environments of my document. The first number ('7') is the current page and the second number ('9') is the maximum number of page ...
27 views

### Formatting DOI field from bbl file

How to avoid https prefix? From bbl file, DOI field prints out like this: https://doi.org/10.7551/mitpress/7503.003.0009 while the publisher requires it to be like this: doi: 10.7551/mitpress/...
60 views

### Proper way to typeset the phrase “x-y plane” in US English [on hold]

What's the right way to typeset the phrase "x-y plane" in US English? A full sentence example would be something like: Our new detector has incredible resolution in the x-y plane, but provides no ...
27 views

### Missing whitespace in align environment

I have the following code: \begin{align*} \varphi = & \{ ... \} \\ \cup & \{ ... \} \end{align*} In the output, there is no whitespace between = and { as well as between \cup How ...
17 views

### Modifying page-number formatting in in-text citations when using natbib

I use natbib in author-year format, along with a custom .bst file. It formats bibliographies as I want. But in the text of my documents, I have many citations like \citet[12-30]{lamport94}. They ...
15 views

### How to decrease the space between the top margin and the chapter number box?

I am a beginner in using LaTex and I need some urgent help. I want to decrease the distance between the grey box(chapter number) and the top of the page in order to have more space in the beginning of ...
25 views

### Left-Margin in bibliography numbering

i have a Problem with the Left-Margin while using numbering in bibliography. I want more margin to the numbering, but i dont know how that works. Here is my Code: \usepackage[square, numbers]{natbib}...
53 views

### titlesec’s update 2.10.2 → 2.11 caused subparagraphs not working in scrbook+classicthesis

I read that classicthesis is somewhat incompatible with KOMA-script, nevertheless I am working on a large document that uses scrbook and classicthesis (that invokes titlesec) and this pair has been ...
20 views

### Labeling Equations in style (A.1), (A.2), … , (B.1), (B.2), … in the appendix in the amsart document class

I am using the amsart document class, which by default continues the equation labeling in the appendix from the main sections. So if the last equation in an ordinary section would be (35), the first ...
15 views

### How to print citations in a beamer presentation with the same style used for articles

Consider the following MWE: \documentclass{beamer} \setbeamertemplate{bibliography item}{\insertbiblabel} \begin{filecontents}{lib.bib} @book{stallings2016wireless, title={Wireless Communication ...
73 views

### How can I make a picture like this with tikz? [on hold]

I want to make like this picture with tikz thanx
26 views

### Showing fractions at polynom package

Here is MWE: \documentclass{scrartcl} \usepackage{polynom} \begin{document} \polylongdiv{(x^4+0*x^3-x^2-2)*1/4}{x-1} \end{document} This is the result: It is possible to show the polynomial with ...
47 views

### U+21B3 UTF8 character failure with \newunicodechar

the following % file testbismon.tex %% see https://github.com/bstarynk/bismon/ for more about Bismon \documentclass[11pt,a4paper,svgnames]{article} \usepackage[T1]{fontenc} \usepackage[utf8x]{...
45 views

### How to use stroke width for positioning (without being affected by scale)?

Question I want to shift some TikZ coordinates in units of the line width (stroke width). When I use some externally defined length as the line width, it is not affected by scaling, which is what I ...
50 views

### Tikz: name path gets lost when using markings decoration

I am trying to draw an arrowhead inside a curved path named uu that is crossed by a vertical line named vert, and two nodes placed at the intersections of these two paths. Here is my minimal example: ...
26 views

### specify exact font for lstlisting

I am writing a document in Latex (pdflatex) and I am bound to use a predefined custom style. Now, I want/need to print a code listing using \lstlisting, which I need to be monospaced sans-serif. My ...
43 views

### Aligning pieces of equations on the right [duplicate]

I would like to write an environment to write linear system of equations that could be used with \begin{linearSystem} 2x&+y&=&2\\ x&-3y&=&1 \end {linearSystem} and should ...
25 views

### Adjusting Latex table width & length. Splitting table to multiple pages

I am latex beginner.If I use tabularx, I am unable to split tables to multiple pages. \begin{table}[h!] \centering \caption{Summarized Analysis of Structured, OO, ADL \& WSO Approach} \begin{...
45 views

### Using .bib files in Proceedings of the Royal Society A

I am writing a paper to be submitted to the Proceedings of the Royal Society A. In their example LaTeX file they claim that you can simply write: \bibliography{references} if you have a .bib file (...
87 views

### How to pass array of values in lualatex?

Here is code for matrix multiplication. \documentclass{article} \usepackage{luacode} \begin{luacode} function MatMul( m1, m2 ) if #m1[1] ~= #m2 then return nil end local ...
44 views

### Complex alignment in equation

Why there is no space between the text ("Min/Max", "Subject to") and fm(x) and hk(x). What's wrong? \left. \begin{aligned} \text{Min/Max} & f_m (x), ...
40 views

### Error using extra y ticks, trying to evaluate it : Package PGF Math Error

Hello there here is a minimal code : \documentclass[border=2pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{graphics} \usepackage{tikz,pgfplots} \begin{document} \...
126 views

### Finding Greatest Common Divisor using LuaLatex

Here is my code to find Greatest Common Divisor of two positive integers. \documentclass{article} \usepackage{luacode} \begin{luacode} function gcd(a,b) if b ~= 0 then return gcd(b, a % ...
36 views

### Evaluate variables for positioning multiple times

Here is a working code (I'll describe it just after) : \documentclass[border=2pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{graphics} \usepackage{tikz,pgfplots} \...
26 views

### Suppress Page number on Footer and add it in the header

\documentclass[article,19pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{minitoc} \usepackage{amsthm} \usepackage{amsmath} \usepackage{listings} \usepackage{color} \usepackage{...
37 views

### Animate itemize but not subitemize with beamer

I would like to do the opposite of what is in this question. That is, I would like an itemize environment to be animated, but I don't want the subitems to be animated. The result should be as follows....
38 views

### Why opacity changes in a scope are not applied to the background layer?

I have some complex schematics that I want to uncover by parts is a presentation. The schematic is in a external file that I do not want to modify and to do that, I use tags that are styles that may ...
25 views

### Chapter titles do not escape characters properly when a link is near a page break

Consider the following document (also on Overleaf): \documentclass{extbook} \usepackage[utf8]{inputenc} \usepackage{hyperref} \usepackage{titlesec} \usepackage{lipsum} \begin{document} \...
24 views

### How to make spacing before \left the same as before \bigl?

Compare result of the following two examples: $1\mathopen{\hbox{$\left(\vbox to8.5pt{}\right.\nulldelimiterspace=0pt \mathsurround=0pt$}}$ \end $1\left(\vbox to8.5pt{}\right.$ \end Why \left( in ...
80 views

### Digital display font, specifically to emulate a digital clock

I am looking for a LaTeX font to emulate a digital LCD clock display, looking something like the fonts at this link. I found this and this possible font on the LaTeX Font Catalogue, but when I try to ...
32 views

### First list in TikZ Poster is wrongly spaced

When using tikzposter, the first itemize is handled differently, namely the space to the adjacent paragraphs are off: \documentclass{tikzposter} \begin{document} \block{}{ ...
21 views

### pgfkeys fail drawing tree: dont know '/tikzedge from parent fork down'

I want to draw the Tree given in the example at: https://golatex.de/tikz-trees-zeichnen-t19334.html Code is: \begin{document} \begin{tikzpicture}[edge from parent fork down,auto] \tikzset{ ...
60 views

### tikz-3dplot: How to get a coordinate system with costum axes? [duplicate]

What do I have to set to get a coordinate sytem like MWE: \documentclass[]{standalone} \usepackage{tikz} \usepackage{tikz-3dplot} \begin{document} \tdplotsetmaincoords{60}{110} %\...
52 views

### indexing the references with the chapter number [on hold]

I have a document class "book". And I have some subsection 1 inside some section 1, inside some chapter 1. I want to reference to the subsection number as 1.1.1 and not 1.1. I want that across the ...
38 views

### What command gives me the highlighted operator? [duplicate]

I need to write this equation in latex, but I don't know how to get the vertical line and the B subscript below it. If anyone knows the operator or command, it'd be very helpful.
32 views

### arrow between columns in tabularx using tikzmark

I want to have a table with three columns and to have some arrows between the row in the table. So this is my code: \documentclass{article} \usepackage{tabularx} \usepackage{tikz} \newcommand{\tm}[1]{...
17 views

### \Crefformat does not respect subsection formatting

I am having some trouble getting \Crefformat to honor the formatting for subsections. My (non)working example is as follows. \documentclass[11pt]{article} \usepackage{amssymb,amsfonts,amsmath} \...
24 views

### Auto Adjusting the text area

I was making a book in the latex document. I changed my page size to 9" height and 6" width. But due to this my content stared going out of page and you can see below. Is there a way to auto-adjust ...