All Questions
234,543
questions
3
votes
3
answers
142
views
Make tikz matrix of nodes uniform
I want to create a diagram with a couple tables and arrows/braces to describe what changes between the table as different functions are applied to it. However, when creating a table with matrix of ...
0
votes
1
answer
42
views
Align tcolorbox in center vertically using overlay
In first slide, tcolorbox is aligned vertically center. But in second slide, unable to align the tcolorbox properly.
\documentclass[fontsize=10pt,landscape,parskip=half]{scrartcl}
\usepackage{scrlayer-...
0
votes
1
answer
20
views
How to create a picture composed of 4 sub-sub-figures with 4 sub-sub-captions and 2 sub-captions?
I want to create a page in overleaf contains 4 sub-sub-figures, each figure has a sub-sub-caption ?
each two sub-sub-figures have its own sub-caption, as illustrated in the bellow picture:
1
vote
0
answers
47
views
Old LaTeX Template
I have always liked to read old articles as I find the writing font and symbols very attractive compared to modern templates. Does anyone know what kind of font this is? I would like to make my class ...
0
votes
0
answers
15
views
Removing the subfigures letters in LyX
I am using LyX beamer and I need to remove the letters (e, f) in the subfigures titles attached, but keeping the captions below each figure.
1
vote
1
answer
24
views
Error in making table with multiple columns
I try to make a table with more than two columns as follows
\begin{center}\begin{tabular}{cc}
Sub & $A_i$ & $B_i$ & $C_i$ & $D_i$ & $E_i$ & $F_i$ & $G_i$ & $H_i$ \\ ...
0
votes
0
answers
27
views
\mathbit undefined control sequence
Recently i have been tasked with converting a word file into latex.
Word can now copy equations in a latex format into overleaf for editing.
Issue is with most if not all equations the following ...
0
votes
0
answers
6
views
How to add "Nomenclature" in "sn-article" Springer through winedt?
The problem: How to add a "Nomenclature" section for Springer journals in a 1-column format at the after abstract and before introduction?
So, I googled a lot for this problem and finally ...
3
votes
1
answer
32
views
Different numbers for the same footnote
Can someone help me to make this?
1
vote
0
answers
33
views
How can I fix the formatting of my CV?
I am currently writing a CV using the template found at https://www.overleaf.com/latex/templates/data-science-tech-resume-template/zcdmpfxrzjhv, but am having trouble reformatting the document after ...
0
votes
0
answers
33
views
Exotic bracket symbols for a math article [duplicate]
I'm looking for a new type of "bracket" symbol for a math article, which is analogous but easily differentiated from $(\cdot),[\cdot],{\cdot},\langle \cdot\rangle,|\cdot|,<\cdot>$.
...
0
votes
0
answers
37
views
After compiling the tikz figure shows overlapping
I am having trouble with the following tikz figure. Any help will be appreciated.
Compiling the code below, the following erroneous figure comes:
\pdfminorversion=4
\NeedsTeXFormat{LaTeX2e}[1994/12/...
3
votes
1
answer
36
views
How can I add a capacitor and ground to the supply voltage of OPAMP?
I am new to LaTeX and currently trying to redraw this Schematic via Circuitikz, which my Professor drew in class by hand.
For some reason I cannot get the capacitor and ground on both supply voltages ...
5
votes
2
answers
243
views
Close align brackets
I was trying to close this bracket:
\frac{}{}\theta=2\pi k + \begin{cases}\arctan\left ( \frac{n}{x} \right ) & \text{ if } x> 0 \\ \frac{\pi }{2} & \text{ if } x=0 \\ \arctan\left ( \frac{...
0
votes
0
answers
20
views
How to use [<+- | alert@+>] in metropolis beamer with no alert on a whole bullet point but rather a partial alert
I've tried to have four slides, with new alerts on every item but I would want the last bullet point (which doesn't have an actual bullet) to only partially be on alert and I can't manage to do it. ...
0
votes
1
answer
38
views
Hyphenate \texttt
Before anyone says anything, yes, of course I've seen this. But, it's not what I want.
What I'm looking for is basically a way to either alter the way \texttt works, or a new command that works just ...
2
votes
3
answers
73
views
Count the number of a given character in a token list and apply the corresponding operation
I would like to define a command that counts the number of a substring in the input and apply corresponding operation according to the result.
For example, in the following code, the command should ...
0
votes
0
answers
28
views
errors when using htlatex
I'm trying to compile a .tex document into an html format, so I can convert it into a .doc file. I have enabled htlatex in MikTex, an am using windows command line by cd-ing to my directory and then ...
0
votes
1
answer
20
views
In Emacs AUCTex how can I change the pdf output viewer to use the doc-view-mode inside Emacs?
I am using Debian 11 and would really like to be able to use a internal to Emacs PDF viewer, as it seems it can be acomplished with doc-view-mode inside Emacs, there are some posts about this from ...
0
votes
0
answers
7
views
Bibliography for each section plus general parts
I am about to submit a dissertation based on published scientific papers.
I was asked to prepare bibliography for each paper at the end of each section.
However, the references of the introduction of ...
1
vote
1
answer
21
views
List of abbreviations using setlist and enumitem package
I am writing a list of abbreviations. This is the format that I use.
So I use this configuration
\usepackage{enumitem}
\newlist{abbrv}{itemize}{1}
\setlist[abbrv,1]{label=,labelwidth=1in,align=...
0
votes
1
answer
51
views
Adding question marks when I add more than one citation
I'm writing a report for which I need to add citations from the literature. When I add more than one citation in the entire body of the text, only one appears as it should and the others turn into (?,?...
1
vote
1
answer
57
views
My table is not centered [closed]
I am new to latex. I have been trying to adjust my table several times to be [1]][1]centered on a landscape page, but my attempts did not work out. I would appreciate your help!
Also, if you could ...
0
votes
0
answers
13
views
Graphic size error in lyx
i am getting this error :
Latex error :cannot determine size of graphic
Try typing to proceed.
If that doesn't work, type X to quit.
0
votes
1
answer
47
views
I would like to insert a counter inside an index in LaTeX
This is my first question on Stackexchange, please apologize if I am too naive!
In my lecture notes, I am inserting exercises in the text.
They have a specific counter, say \ExoCounter.
I am using a ...
0
votes
2
answers
31
views
Header not displayed for table of contents
The headline of my pages should look like this:
And it is working as suppost for all pages, just not for table of content, table of tabels and the table of pictures.
In this cases it looks like this:
...
2
votes
1
answer
110
views
Using \textsc{} manually in section
I am using textsc in section by manually adjusting fontsize between normal size and script size. For example:
\section{P\scriptsize ROGRAMMING \normalsize P\scriptsize ROGRAMMING}
should produce:
...
0
votes
1
answer
59
views
How to split longtable cell and adjust width fix with image width
I am trying to draw a long answer table containing image.
My effort is multicolumn and split the cell in to small table.
I can not adjust the width of small table with the image's width.
My MWE, ...
0
votes
1
answer
32
views
How to read counter value from every section
I'm trying to read a counter value for a specific section. For example
\documentclass{article}
\usepackage{amsmath}
\newcounter{M}[section]
\numberwithin{M}{section}
\newcommand{\foo}{\refstepcounter{...
0
votes
2
answers
76
views
How to draw a circle in 3D such that the plane containing the circle is orthogonal to a given vector?
How do I draw a circle in 3D space such that the plane containing the circle is orthogonal to a given vector?
0
votes
1
answer
23
views
Classicthesis color not showing
In the classicthesis package, when I change the color from Maroon to ForestGreen, I get the following error: package xcolor Error: Undefined color 'ForestGreen' and the text is black. I would like the ...
0
votes
0
answers
38
views
Replicate eclipse screen for java code
Hi there is a method to replicate the eclipse screen with keyword colors for a java code like this
I tried this but it doesn't work
\documentclass[a4paper, 11pt]{article}
\usepackage{geometry} ...
1
vote
0
answers
52
views
Abstract Syntax Tree (AST) for LaTeX
I would like to manipulate a LaTeX document in a program, e.g. add/change used packages or their options and adding environments.
Instead of doing this purely on the text level, it would be great to ...
1
vote
0
answers
34
views
Use "each nth point" with \addplot3
I would like to use each nth point in combination with \addplot3 to plot every tenth data-point for both the x-axis and y-axis, but whatever I try, pgfplots just ignores it and uses all the data ...
1
vote
0
answers
36
views
Change parskip in beamer without side effects
Background
If I understand correctly, beamer does not distinguish between lines and paragraphs, as far a vertical spacing is concerned. As an example, there is no visible difference in this MWE:
\...
4
votes
3
answers
116
views
Can't multiply width in \newcommand for includegraphics
Minimal example, multiplying by 0.5 makes the command fail :
\documentclass{beamer}
\usepackage{graphicx}
\begin{document}
\newcommand{\dontwork}[1]{\includegraphics[width=0.5*(#1)\textwidth]{frog.jpg}...
2
votes
1
answer
66
views
Normal \hat along with realhats package?
The realhats package changes the \hat{} command, such that LaTeX places a random, funny hat on top of the variable, instead of the normal "^"-shape. I would like to use the package to get ...
1
vote
1
answer
20
views
Printing PDF from overleaf with comments included
I would like to print my PDF from overleaf, but have it include the comments made using overleaf editor (The ones where you select a piece of text-> add comment). Is it possible to somehow do this?
...
1
vote
2
answers
60
views
Remove the heading of the page where the figure is?
I need to insert a very large figure which will occupy the whole page, so I need to remove the heading of the page where the figure is. I do this with code:
\documentclass[a4paper,12pt,twoside]{book}
\...
0
votes
1
answer
13
views
Count \glsfirst as actual first usage (package glossaries)
I know that this is not the intended behavior given the user guide.
Background: There are cases where I absolutely need the full form (and I want to enforce that - in case I accidentally copy a text ...
0
votes
0
answers
11
views
Aligning 12 figures in a grid - how to centre this structure when it is wider than the text width [duplicate]
For clarity, I need the grid to be wider than the text width so that my figures are large enough to read.
I have tried this:
\begin{figure}
\centering
\begin{tabular}{ccc}
\subcaptionbox{...
0
votes
1
answer
49
views
How can I define this new math mode environment with comma-separated keyval options?
My MWE using LuaLaTeX:
\documentclass[oneside,DIV=12]{scrbook}
\usepackage{scrhack}
\usepackage[automark]{scrlayer-scrpage}
\usepackage[english]{babel}
\usepackage[babel]{microtype}
\usepackage{...
1
vote
0
answers
33
views
Bibliography section doesn't appear
I have a trial.tex file with the following content:
\documentclass[12pt,twoside]{report}
\usepackage{biblatex}
\addbibresource{trial_ref.bib}
\begin{document}
2 plus 2 equals 4.\parencite{test}
\...
0
votes
2
answers
16
views
misalignment problem about newenvironment
My code:
\documentclass{article}
\usepackage{amsthm}
\usepackage{enumerate}
\newenvironment{mypro}{\begin{proof}\hfill\par\noindent}{\end{proof}}
\begin{document}
\begin{mypro}
1\\
2
\end{...
1
vote
2
answers
33
views
listings does not ignore comment character inside a string
I'm trying to insert a matlab code file in my tex document using listings but the output is messy because I'm using % inside a string with fprintf which is also a comment character.
In the line ...
0
votes
0
answers
15
views
Latex Compilation Error on Overleaf - It just shows the source code in another theme instead of the pdf of the compiled output
I am working on an academic paper on Overleaf. When I make a copy of the working, existing project to make some edits, I can not see the compiled document - It simply shows me the source code in ...
4
votes
2
answers
386
views
Most common command to compile a LaTeX document?
I am not sure if the question makes sense; this is my attempt.
I am writing a program that generates a String that is valid LaTeX and compiles it. It will generate a PDF for my users. In my computer I ...
0
votes
3
answers
43
views
Putting a brace across multiple lines with text in Plain TeX
I'm changing a document prepared in Plain TeX and I'm trying to get a brace to cover multiple lines for example:
S is P { cannot both be true (L. of Contradiction)
S is not P { cannot both be ...
10
votes
2
answers
243
views
Why do CTAN announcements no longer show at comp.text.tex?
For years or decades even, CTAN announcements of any package update/changes is send to comp.text.tex all the time.
On Feb 17, 2022 they suddenly stopped.
If you go to https://groups.google.com/g/comp....
0
votes
0
answers
39
views
All occurrences of "\section\subsection..." in the template all report the following error "Undefined control sequence. \section{Introduction}"
This is the template download link I use. Template download link When I uncomment the "\section" in the template, some errors will be reported.
\documentclass[jcs]{iosart2x}
\pubyear{...