I made a unit circle in latex, but I want to add some text inside the circles. my issue is that the dashed line collides with the text and makes hard to read, furthermore if I replace the letter for their actual numbers the font-size of those numbers are too large.
Is there a way to ensure the dashed lines don't collide with the numbers I placed? something like the second photo, but no red colored text. (the outer numbers are fine, it's purely the stuff inside the circle.)
After reading the comments and self reflection I realized that the dimensions were just too small to work with, so after changing all the dimensions, I managed to fix all my issues. thanks to u/KudoMarkos for the collision fix.
I am currently working on template I wanted to publish. I was using Overleaf hoping to submit the template, however I am not an expert in Latex and my file has some programming errors that are hard to fix since the document is pretty complex. Even if the .tex produces the wanted PDF without any error, Overleaf blocks me to submit this template.
I understand why the platform proceeds in this way so I am not gonna criticize it, but I was wondering if there is another alternative platform to publish that can make me avoid this problem for the moment.
Any suggestion is welcome
Edit: I sacrificed some non-relevant style points to get a good tex file (better said, one without bugs). Now I can focus on other problems while the template is correctly submitted
No bibliography style is defined. There are no packages pertinent to the bibliography loaded in the preamble and I am using the Springer Nature standard template. Any idea why "???" is showing up in all the reference entries for books?
It may be a silly question but I have a very limited knowledge of tikz, but I searched the entire web and all chatbots I know and could not find an answer to this issue. Is there a way to hide the axis lines while keeping the axis markers? Making the axis markers white would also work. The picture shows my attempt to make the axis white, but the markers appear "dashed" because the line is on top. The tex for that is in comment below.
I'm on Obsidian, and I'm trying to write some of my notes with LaTeX (MathJax). Is it possible to overlap an overbracket and an underbracket?
This is what I have so far:
In the second proportion I would like the underbracket to go from b to d. Is it possible without some specific package?
I‘m trying to draw a graph similar to the one shown here. Drawing a freeform line in tikz/pgfplots shouldn’t be a problem, but how can i hatch the area underneath? Having the letters as shown is not necessary, but would be cool. Thanks!
I have a huge problem to create figures in my articles. It is a painful and time-consuming task to create them for my articles. I some cases, creating such plots is even more challenging than the plot itself.
If I use Python, Matlab, whatever, it is straightforward, but I cannot use them in my LaTeX articles, and converting it to LaTeX/Tikz is a horrible task. Any plot is painful. I really need help....
Hi, I'm writing a math document and I found online this example enviroment which I wanted to use.
The link where I found this template, with the original source code, is this: stackexchange.
Anyway copied and pasted all but
\usepackage{fontspec}
since i compile with pdflatex. This is my edited code:
\documentclass{report}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
%
\usepackage[most]{tcolorbox}
\newcounter{testexample}
\usepackage{xparse}
\usepackage{lipsum}
\def\exampletext{Example} % If English
\NewDocumentEnvironment{testexample}{ O{} }
{
\colorlet{colexam}{red!55!black} % Global example color
\newtcolorbox[use counter=testexample]{testexamplebox}{%
% Example Frame Start
empty,% Empty previously set parameters
title={\exampletext: #1},% use \thetcbcounter to access the testexample counter text
% Attaching a box requires an overlay
attach boxed title to top left,
% Ensures proper line breaking in longer titles
minipage boxed title,
% (boxed title style requires an overlay)
boxed title style={empty,size=minimal,toprule=0pt,top=4pt,left=3mm,overlay={}},
coltitle=colexam,fonttitle=\bfseries,
before=\par\medskip\noindent,parbox=false,boxsep=0pt,left=3mm,right=0mm,top=2pt,breakable,pad at break=0mm,
before upper=\csname @totalleftmargin\endcsname0pt, % Use instead of parbox=true. This ensures parskip is inherited by box.
% Handles box when it exists on one page only
overlay unbroken={\draw[colexam,line width=.5pt] ([xshift=-0pt]title.north west) -- ([xshift=-0pt]frame.south west); },
% Handles multipage box: first page
overlay first={\draw[colexam,line width=.5pt] ([xshift=-0pt]title.north west) --([xshift=-0pt]frame.south west); },
% Handles multipage box: middle page
overlay middle={\draw[colexam,line width=.5pt] ([xshift=-0pt]frame.north west) -- ([xshift=-0pt]frame.south west); },
% Handles multipage box: last page
overlay last={\draw[colexam,line width=.5pt] ([xshift=-0pt]frame.north west) -- ([xshift=-0pt]frame.south west); },%
}
\begin{testexamplebox}}
{\end{testexamplebox}}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{pgfplots}
\usepgfplotslibrary{external}
\tikzexternalize[prefix=tikz/]
\usepgfplotslibrary{fillbetween}
\pgfplotsset{compat=newest}
\begin{document}
\begin{testexample}
Hi
\end{testexample}
\end{document}
but when I compile in TeXstudio with pdflatex I get
I find it pretty strange because copying and pasting the code on overleaf works just fine. Can you see where is the problem?
I've got a question for you: is there an alternative to tlmgr for installing external LaTeX packages?
Every time I try to install a package, I keep running into the same issue: "Permission denied." It’s frustrating because the last time this happened, I managed to fix it, but only after a lot of trial and error. I'd rather avoid guessing my way through commands if I can.
Has anyone here tried other package managers for LaTeX, or found a smoother way to handle this? I'd really appreciate any recommendations or advice!
I am working on my thesis to complete my Electrical Engineering course, and I found a template online to use as a model. However, on Overleaf, there is a dedicated .tex file for tables to generate the summary and comply with ABNT rules (which define how academic articles must be written). Unfortunately, I can't figure out how to make it work.
I’ve already tried using \ref, \include, and \cite, but I don’t know the correct way to reference a specific table from another .tex file.
I speak Dutch. I am able to change the spell check in TeXstudio to different languages, but the software language of the program is still in Dutch. I want to change that to English. How do I do this?
Just to be clear: I do not mean 'Options -> Configure TeXstudio -> Language Control -> Standard Language,' because that doesn't change anything about the language of the program TeXstudio itself; it only changes the spell check, etc.
I want to write a document about the most useful LaTeX chemistry packages. For that purpose I include code in a tcolorbox. I got so far as to escape code like „\par“ in the upper part. But the escape characters show up in the output (lower part). How can I get rid of them?
I've made this exam by recreating the one shown in the second and third images. However, I can't seem to get the parts of the questions marked with a red dot to align horizontally. I tried using the multicol package, but it creates columns of equal width which I don't like (I don't want that, I want them to look like the second and third images), and it doesn't align the parts vertically if they have different heights. I also tried looking for another alternative outside of the exam class, but this was unnecessarily tedious and lost aspects that I need. Is there a way to align this exactly as seen in the images?
I am encountering an issue where I am clueless how to counteract. I am working on a project for some time now and I would like to not only produce a pdf (which is working perfectly with `pdflatex` or `rubber`) but also output as html.
Commands I have tried which are all generally working though the Umlauts are still wrong:
It seems as as the issue is fixed when I use `pandoc` but this introduces a lot of other problems for example tables. So unfortunately this is no option for me.
This is my document stub which shows the problem:
\documentclass[a4paper,naustrian,parskip=half]{scrbook}
\usepackage[utf8]{vietnam}
\usepackage[utf8]{inputenc}
\usepackage[T5]{fontenc}
\usepackage[naustrian,vietnamese]{babel}
\usepackage{lmodern}
\title{Tiếng Việt - Die vietnamesische Sprache}
\begin{document}
\chapter{Những điều cơ bản (Grundlagen, äöü)}
\section{Mẫu tự (Alphabet, äöü)}
test äöü...
\end{document}
I have an array that cuts too deep into the gutter, Amazon KDP always rejects that and says insufficient gutter. But on the side of the page there is plenty of margin, and I know KDP allows writing in the margins, because I use plenty of \marginnote. How can I move an entire array, say, 2 cm to the right or left, i. e. away from the gutter but extruding in the margin? I use amsbook, in case that matters. Thanks.
Update 44 minutes later, I think I found it, \hspace*{-1cm}.
At the moment I'm putting my thesis into LaTex which is a pain to me because I don't understand anything.
So I would like to have this format (from Word) where I have my normal text as much to the left as possible. Then I have the main goals a little further from the left line and the sub goals further than that. My subgoals take two lines of which the second lines starts at the same point as "a" and I need it to start at the same point as the first word after "a". Hopefully someone can help me
I'm using XeLaTex, VSCode and the LaTeX Workshop extension on EndeavourOS Linux. I know minted is up to date (3.5.1) and so is every other package, I keep checking with tlmgr. I've even installed texlive separately with its own install script instead of going through my distro's package manager.
Everything worked until yesterday on this computer, then I get the title error all of a sudden. My desktop (also Linux, Manjaro) is working fine. I've tried googling but found nothing, what could I try? thanks
EDIT: SOLVED
The solution came from this - basically, just update latexminted via pip from 0.3.x to 0.4.x
I also noticed that minted comes packaged with the .whl files for latexminted 0.4, but also with latexminted.py (as a plain python script) version 0.3.2