All Questions
253,798
questions
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
60
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
31
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 ......
7
votes
1
answer
93
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
41
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
64
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
55
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
12
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
59
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
0
answers
10
views
How can I increase the space between the footnote mark and the footnote text (not just an indent) when using endnotes?
I'm using endnotes to make a policy brief, using endnotes. In the notes section, the footnote mark is very close to the footnote text is at. I'm trying to add space between the footnote mark and the ...
0
votes
1
answer
46
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
22
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
31
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
14
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
54
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 ...
0
votes
0
answers
23
views
Lyx - external program error - NO LOGS
I am getting the following error whenever exporting to pdf:
The external program
latex
finished with an error. It is recommended you fix the cause of the external program's error (check the logs).
...
1
vote
0
answers
50
views
How to write structural inductions proofs using LaTeX?
Just wondering what packages or methods I can use in LaTeX to write out a structural induction proof for a list in LaTeX; I am writing the proof out in overleaf.
As an example, I tried to write out ...
0
votes
0
answers
14
views
Is LaTeX an implicit prerequisite in Undergraduate Mathematics? [migrated]
I am expected to start my first semester in college next spring as a math major. While preparing for undergraduate studies I heard from my peers that I should study this language/program called LaTeX ...
2
votes
1
answer
31
views
\index in \newcommand breaks MakeIndex
When I use \index, everything is ok, but when I use \newcommand instead, some large symbols can not show:
\documentclass[a4paper,openany,12pt]{amsbook}
\usepackage{imakeidx}
\makeindex[name = index, ...
2
votes
1
answer
68
views
Using system installed font alongside with font package
I'm trying to create a template for my lecture handout. I'm using Segoe UI as the main font for the presentation and I want to use BaskervilleF (https://tug.org/FontCatalogue/baskervillef/) for the ...
2
votes
1
answer
28
views
+50
Compile error when using scrartcl with \newtcbinputlisting
I get the error:
\cl@chapter ->\cl@chapter
@elt {pythoncode}
l.239 listing file={#3},#1}
when using the scrartcl documentclass with the \newtcbinputlisting. Can you tell me how I can go ...
1
vote
0
answers
47
views
Cannot hide forest generated subtrees [closed]
I use beamer with the forest package and wanted to show the step-by-step construction of a tree. I am not quite familiar with TikZ and forest. I downloaded a solution to my problem and changed long ...
0
votes
0
answers
12
views
Modify \footcite{} structure
I am using \footcite{} in a research project proposal. This proposal has a page limit. To maximaze the amount of space that I am given, I would like to modify the structure of the citations generated. ...
0
votes
0
answers
16
views
How to write over an uploaded pdf file on overleaf [duplicate]
Thank you for taking a look.
I want to upload a pdf file and write over it using This document class, however the text automatically goes to the next page. Can I make it so that the text stays on top ...
0
votes
0
answers
30
views
Replace syntax brackets by visible brackets
General overview
I have a BibTeX entry of the document I am working on itself, and I put this deffinition in a variable to be able to use it everywhere I whant. The goal is to print on the document ...
1
vote
1
answer
97
views
Undefined control sequence when using algorithm environment with dgruyter.sty
I need to write a document using the dgruyter template. When I include an algorithm environment I get the following error.
Undefined control sequence.
<write> ...\protect \numberline {\plist@...
2
votes
2
answers
63
views
Conditionals in \foreach loops
I drew a ruler using the MWE below then I realized that It draws each medium (5 mm step) vertical line over the small ones (1 mm step) and each large (numbered) vertical bar over both medium and small ...
4
votes
2
answers
210
views
How can I use \mark in a multicolumn environment in OpTeX?
OpTeX has the macros \begmultiand \endmulti to split a text into multiple column, but since it becomes inner vertical mode, the \mark command does not have any effect anymore.
Compare
\headline={\...
1
vote
2
answers
59
views
Including two separate figures in latex as a subplot
I have two separate figures in tex file: fig1.tex and fig2.tex
for example
\begin{figure}[t]
\begin{tikzpicture}
.
.
.
\end{tikzpicture}
\caption{caption}
\label{fig1}
\end{figure}
I use \input{fig1....
0
votes
0
answers
18
views
Inconsistent spacing in itemize environment inside tikz node inside center environment
I have noticed inconsistent spacing when using itemized lists in a TikZ node when the tikzpicture is inside a centering environment.
I have the following code:
\documentclass{memoir}
\usepackage{tikz}
...
1
vote
1
answer
55
views
How to force latex to neccesarily put a mathematical expression in a single line? [duplicate]
I'm writing a game theory book, and I've wrote something like this:
As it can be seen, that mathematical expression has been splited into two lines. It surely can be fixed, by making some spaces' ...
0
votes
0
answers
31
views
How can I find a TeX Live repository for a certain version of TeX Live? [duplicate]
I have TeXLive 2022 installed on my system - it's my Linux distribution's default. If I run tlmgr --gui, and try to load the default repository (URL: https://mirror.ctan.org/systems/texline/tlnet) - I ...
0
votes
0
answers
23
views
Export library as Biblatex and not Bibtex with Zotero
When I mark an entry as a "Web page" in Zotero, it is automatically exported as "@misc" in my .bib file, which is causing me problems to correctly show urls in my latex document.
I ...
0
votes
0
answers
25
views
Problem with titledquestion in exam document class
I have titled and notitled question in my document, also I'm using ifthen package, but in notitled questions, there are numbers in square brackets. How can I get rid of them??
My document:
\...
3
votes
0
answers
46
views
Pgfmathsetmacro doesn't have the same printed precision if the value is negative or positive
I'm expecting the values print with \pgfmathsetmacro{\variable}{value} have the same precision regardless the variable is positive or negative. How can I fix it and is it the expected behaviour ?
A ...
3
votes
2
answers
72
views
fill opacity in pic angle acts on the arrow stealth and latex heads
I want to add some opacity to draw several angles but the arrowheads (-latex and -stealth) are modified with fill opacity option. At the moment, I'm re-drawing all angles twice, with fill options and ...
2
votes
2
answers
117
views
Custom Environment with Parentheses around Optional Parameter
I am trying to create a custom "proof" environment that behaves as follows:
\begin{proof}\end{proof} should produce \textit{Proof.}, while \begin{proof}{method}\end{proof} should produce \...
1
vote
1
answer
41
views
Using equation from Google lens [duplicate]
Apologies if this question is off topic.
I am trying to create a maths test paper for my daughter by scanning questions from her textbook.
I found that Google lens can ocr the equation quite ...
1
vote
2
answers
32
views
How to color entire rows on a tab?
I'm a complete newbie to LateX, and I've been trying to make a multicolored tab. My issue is that (1) the text is not centered as I wished and (2) the color doesn't fill the entire row. Could someone ...
0
votes
1
answer
43
views
Font too thin and lines disappearing
I am having issues getting a nice font for my paper as whatever I try, the serif font just looks way too thin in places and parts of characters are disappearing.
You can see it in the "A", &...
1
vote
1
answer
40
views
fontspec's \addfontfeatures messes with calc's \widthof
In addition to Werner's answer, I would also like my list labels to use tabular numbers.
I would have thought that the first approach below would work, but the list labels are slightly in the left ...
2
votes
1
answer
28
views
Option 'scatter' cause color not normal in pgfplots in LaTeX?
With pgfplots package, we can plot several figures by groupplot.
\documentclass{standalone}
\usepackage{tikz,pgfplots}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{tikzpicture}
\...
0
votes
0
answers
8
views
How to disable only the question indentation and keep the parts and subparts indentation
I've been using the Exam package for my answering my problem sets, that's going good.
The exam package indents all the questions for some reason, because my document is only questions, it makes the ...
0
votes
0
answers
18
views
xelatex font search path
I am using Linux Ubuntu, using Tex Live 2023. I have fonts in both directories /usr/local/texlive/texmf-local and in /usr/share/texmf/fonts.
But my xelatex installed in /usr/local/texlive/2023/bin ...
1
vote
3
answers
30
views
Breaking Long Radical Over Multiple Lines
I need help making this monstrosity look presentable:
\documentclass[12pt, a4paper]{article}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{parskip}
\usepackage{enumitem}
\usepackage{float}
\...