All Questions
253,941
questions
0
votes
0
answers
42
views
This code i have used in latex has been printed on pdf document as well. How do I remove it from the pdf doc [closed]
The code used after \newpage is \title and \begin{document} has been used after affiliation.
0
votes
0
answers
33
views
Biblatex does not work for two citations, all others work [closed]
I am currently writing my bachelor thesis with Overleaf. The package I use for the bibliography is bibtex.
\usepackage[style=apa, backend=biber, doi=false, isbn=false, footmarkoff]{biblatex} \...
0
votes
0
answers
14
views
footnotebackref leads to error when using footnotes in epigraphs [duplicate]
Adding the footnotebackref package leads to compile error when a footnote is used inside an epigraph, as in the example:
\documentclass{article}
\usepackage{epigraph}
\usepackage{hyperref}
\usepackage{...
1
vote
0
answers
67
views
Learning resources for blind LaTeX beginner
On the Blind Math list I've been asked for "a guide to get started with LaTeX". I welcome suggestions. I've take a look at What are good learning resources for a LaTeX beginner?, but ...
0
votes
0
answers
11
views
How to count Figures and Tables by Subsections - if the section has a subsection?
Is it possible to change the code in my MWE so that all figures in sections, which are not in subsections get no zero, like Figure 1.0.1: Testfig should be Figure 1.1: Testfig. (i.e., just counting ...
0
votes
0
answers
25
views
Interaction between pgfplotstable and a newcommand
I'm trying to generate a big table with informations that are comming from an external csv file that I have generated. I don't really understand what is going on in the following code.
I have defined ...
0
votes
0
answers
16
views
TeXShop option "Wrap Lines: Never" does not work when using % !TEX root
I use the option "Line Wrap: Never" in TeXShop. It works fine, but when I open a file beginning with the magic comment % !TEX root the file is displayed with soft wraps (by word), even ...
0
votes
0
answers
23
views
Spectroscopic Notation for Atoms and Molecules using chemformula
I want to write spectroscopic transitions and atomic excited states. For example, N₂⁺(C-B,0-0) and He(2³S).
Currently, I am using chemformula, but the input is very messy, for these examples I need to ...
0
votes
0
answers
24
views
Difficulty Placing Table in its indended place in my LaTeX Document
I'm struggling with placing a table in my LaTeX document where I intend it to be. I've tried using the table environment with [h!t] placement, but the table doesn't seem to position where I want it to....
1
vote
1
answer
71
views
Cannot set sbox inside tikz [duplicate]
(updated version after Qrrbrbirlbel's answer: I want to measure tikz nodes)
I'd like to compute the width of the content (tikz multiline node) that I will typeset in a tikz-cd node to adapt the shape ...
0
votes
0
answers
23
views
Composition of multiple figures [duplicate]
I'm trying to compose multiple figure into a singular figure block. I would like to obtain something like what in the picture.
2
votes
3
answers
100
views
Simple way to specify a pass a style with syntax `my style={foo}`
I’d like to provide an interface like:
\myNode{content=My content, style node={fill=red}}
While it is easy to provide an interface where we use style node/.style={}, I struggle to find an elegant way ...
1
vote
1
answer
60
views
`easytable` package seems to conflict with `l3doc` class
I tried to use the TAB environment in a .dtx file with l3doc class, but It seems to make latex compilation fail.
MWE:
\documentclass{l3doc}
\usepackage{xcolor}
\usepackage{easytable}
\begin{document}
...
0
votes
0
answers
27
views
Enumerate splitted by pages does not work with \restoregeometry or \afterpage
I have a document used for worksheets.
When I use an enumerate and it flows from one page to the other, the pagestyle of the second page (\pagestyle{fancy}) does not apply, and instead, I am left with ...
0
votes
0
answers
17
views
How can I write in math mode above and below equilibrium arrows with chemfigure?
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{chemformula}
\begin{document}
\begin{equation}
\ch{E + S <=>[k_1][k_{-1}] ES}
\end{equation}
\end{...
0
votes
0
answers
35
views
Generating 3D coordinates using let command
I want to create a tikz figure with 3d coordinates. I wanted to use 3D coordinates to make life easier, but when I implemented the cross-product using the let command, an error "Dimension too ...
1
vote
1
answer
23
views
new section ignores pagenumbering roman
In report class, I want to create an unnumbered Introduction chapter with few subsection. The pages up to the Introduction (including table of contents) should have roman number. After Introduction, ...
2
votes
1
answer
43
views
Unexpected line break due to `foreigndisplaycquote`-environment using `biblatex` and `polyglossia` with Persian as foreign language
I am using the foreigndisplaycquote-environment from the csquotes package for longer quotations in foreign languages in my document. It is set up like this:
\usepackage[autostyle=true]{csquotes}
\...
1
vote
3
answers
99
views
I don't get my table width fixed
I doesn't get my code fixed by the width. Latex says that I use illegal character in the array. This is my code:
\begin{table}[ht!]
\centering
\begin{tabular}{|| c{5cm} | c{5cm} | c{5cm} | c{5cm} | c{...
0
votes
1
answer
33
views
Split a long equation across lines with the numbering bottom aligned
I try to write this equation on overleaf and numbering in second line (the same as in the picture) but I couldn't. Another problem is when I use align or equation, the prime in max' function goes to ...
1
vote
4
answers
90
views
Adding text Macros to an editor
I want to add global macros to my TeX editor. By this, I mean something like this: every time I write \section{x}, it automatically adds \label{sec:x} after \section{x}.
Is it possible on Texmaker? If ...
5
votes
1
answer
197
views
Intended random rotation of figures
I wanted to do add some graphics to a document in a way that are rotated randomly. For this this purpose I tried the following code
\documentclass[ngerman,german,14pt,twoside,openany]{scrbook}
\...
1
vote
2
answers
25
views
How to max out a table within a cell of a bigger table
the following tex code creates a 3x3 table, where each of the first two rows are merged into one cell. Each of the first two rows is populated by another 3x3 table. I'm struggling because of ...
0
votes
0
answers
62
views
\[ .... \] or $$ for mathmode in LaTeX; which is preferable? [duplicate]
Which one is better to use if you want mathmode in LaTeX, \[ ... \] or $$...$$? My teacher said that \[ ... \] is better, but he did not give an argument why. Is there one?
I'd be interested for ...
0
votes
0
answers
68
views
How can we draw the kernel diagram in Category theory? [closed]
How can we draw next diagram ?
Can anyone helps?
0
votes
1
answer
42
views
Text wrapping in CurVe rubric entry name
I'm working on a LaTeX document using the CurVe package to create a rubric for displaying information. I want the rubric entry key values to wrap where specified, however, I'm struggling to find a way ...
0
votes
1
answer
48
views
Wrap text around pseudocode without overlap with other text
I'm looking to have pseudocode in my document placed nicely by LaTeX (ie. no exiting bounding box, no overlapping other text, etc.), while having text wrap around the pseudocode (as the width of text ...
3
votes
2
answers
71
views
\FPeval ceil results in "multiple values"
\FPeval returns a multiple values error when using ceil or floor, but not trunc or round.
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{fp}
\begin{document}...
0
votes
0
answers
33
views
Tikz matrices/tikzcd: Add automatically a node at existing cells to point to it
I am using execute at begin cell to automatically add some nodes in a tikzcd matrix (which is basically a tikz matrix, note that in practice I actually use it only on a subset of nodes, for for ...
0
votes
0
answers
30
views
R markdown ! Package amsmath Error: \hat allowed only in math mode
Here is the error I'm getting trying to knit my R markdown file.
output file: HW4.knit.md
! Package amsmath Error: \hat allowed only in math mode.
Error: LaTeX failed to compile HW4.tex. See https://...
2
votes
1
answer
24
views
Cleverf and hyperlink when resetting chapter counter
I am writing a dissertation and I need it to be in two languages (English and Spanish).
The organization is as follows:
Table of contents
Preface and Abstract appear in both languages
Body of the ...
1
vote
1
answer
34
views
Biblatex: Adjust case of authors family names
I am using the geschichtsfrkl style which prints the family names of authors in small caps.
I want the author names to printed normally, that is the first letter capitalised and the rest lower case, ...
0
votes
1
answer
63
views
Problems with simple bode plots using bodeplot package
I'm trying to plot the most simple Bode plot of the most simple lowpass filter function, given as G(s) = 1/(s+1).
Here's my code:
\documentclass{article}
\usepackage{bodeplot}
\begin{document}
\...
0
votes
0
answers
33
views
Resolving an "undefined control sequence" [closed]
I'm a bit of a Latex beginner. So far writing my thesis using Overleaf. So far everything has been going well, but i've been recently stumped by this error
The error given is:
\sl@StoreMessage ......
8
votes
2
answers
152
views
How to share a package without CTAN
(Honestly I fear this is borderline off-topic... be gentle with the downvotes ;-))
Most of the packages I've written are for personal use but a couple of them are used by some other people. These ...
1
vote
1
answer
42
views
Why is \textcite not producing “author (year)”?
Consider the following MWE:
\documentclass[]{scrartcl}
% PACKAGES LOADING
\usepackage[backend=biber,style=chicago-authordate]{biblatex}
% BIBLIOGRAPHY SETTINGS
\addbibresource{Ref.bib}
% DOCUMENT
...
1
vote
0
answers
21
views
Keep section headings within a certain part of the line
Is it possible to force section headings to stay within the first 30% of the \linewidth? In other words, how can I make the section headings occupy a column whose width is 3/10 the width of the line? ...
5
votes
1
answer
66
views
Why do I get the "TeX capacity exceeded" error with the tcolorbox package
For a package I wrote (schemabloc - https://ctan.org/pkg/schemabloc) which works fine but I have a problem with the tcolorbox package when I use it to display Tikz code examples.
I extracted from the ...
0
votes
2
answers
57
views
TikZ: decorating a circle with a dotted partial-ellipsed arrow
I'm trying to reproduce this simple drawing, How can I simulate the dotted ellipse as it simulates the rotation of the particle?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]...
1
vote
0
answers
27
views
\titlecaps in figure's captions containing mathematical expressions
How can we use \titlecaps to get the right figure's and table's captions IF these captions contain mathematical expressions ?
Based on a suggestion made in this website, I have added in my LaTeX file:
...
2
votes
2
answers
56
views
Align last subfigure on the left side
I have 5 pictures and want to align them that three pictures are on the left side above each other and two on the right side.
I have tried it like this
\begin{figure}
\centering
\begin{subfigure}[h]{....
2
votes
1
answer
62
views
Languages & Undefined control sequence \caption
I try to compile the following code with luatex
\documentclass[a4paper,11pt,latvian]{article}
\usepackage[margin=2.5cm]{geometry} % for margins on a A4paper
\usepackage[shorthands=off,bidi=basic]{...
0
votes
1
answer
47
views
Tikz renders filled lines as dashed with `Lines`
I am attempting to reproduce a pattern fill from the tikz documentation. Specifically, I run
\usetikzlibrary {patterns,patterns.meta}
\begin{tikzpicture}
\draw[pattern={Lines[angle=45,distance={3pt/...
0
votes
0
answers
26
views
Bilingual text with footnotes [closed]
My friend and I are editing a text on LaTeX. The text was initially done on MS Word. When we converted into LaTeX, we ran into several problems and need some help, since we both are pretty new to ...
0
votes
1
answer
34
views
Nested and boxed sub-diagrams using tikz-cd package
Is there a simple way of making nested and boxed sub-diagrams using the tikz-cd package?
For example (from Lawvere and Schanuel, Conceptual Mathematics):
I currently use the following environment to ...
0
votes
0
answers
15
views
Inserting a picture into the text of the theorem (using \newtheorem) [duplicate]
I need the text to wrap around the image. I tried to include \usepackage{wrapfig} and code was like this.
\begin{theorem}
\begin{wrapfigure}{l}{0.4\textwidth}
\begin{center}
\...
1
vote
1
answer
40
views
Italic correction in tcbtheorem
I have redefined the \emph command to give bold and slanted text
\DeclareEmphSequence{\bfseries\boldmath\slshape, \itshape}
however, this appears to affect horizontal spacing on the line which \emph ...
1
vote
2
answers
32
views
How to solve in RMarkdown pdf error related with complex centered subtitle
I am working with RMardown and I am trying to add a centred subtitle containg model syntax that I am going to show at that section
---
title: "example"
author: "X"
date: "2023-...
0
votes
0
answers
29
views
Remove superscript numbers from comment in changes package [closed]
How can I remove the superscript numbers from a comment? For example, using
\usepackage[draft, authormarkup=none, commentmarkup=margin]{changes}
and
\replaced[comment=comment]{Some new text.}{An old ...
0
votes
1
answer
56
views
Multiple author but one mail
I'm new using Latex and I'm trying to put a mail in the end of my document, with a "*" by the side of the 1st author.
I've tried a lot of things but nothing gives what I want.
What I stay ...