All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

How to include a bib file into my latex file?

What is wrong with my code? It doesn't compile! I use Zotero to gather my references. I exported the references from Zotero as biblatex file, and I used this code and It doesn't compile! \...
A witch's user avatar
  • 101
0 votes
0 answers
6 views

multiple lstlisting for commands and outputs

I wanted to have some commands and outputs in my document. Is it possible to have two seperate lstlistings? The command would be: \begin{lstlisting}[language=cl, caption = Command Caption, label=...
MSH's user avatar
  • 101
2 votes
0 answers
11 views

linespacing and \large [duplicate]

When I run the following code: \documentclass[9pt]{article} \usepackage{setspace} \linespread{2} \def\lipsum{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, ...
user182849's user avatar
0 votes
0 answers
15 views

Is it possible to include citations within a `\textcolor` block?

I'm currently writing a response to reviewers document and it's required that my responses to each question be in red while the rest of the text is in black. I planned on using the xcolor package for ...
jack_bioinf's user avatar
1 vote
1 answer
9 views

How can i adjust adjust the distance between captions and subcaptions using subfloat?

For the following code i get the result in the image. How can i adjust the distance between the image and its captions ? \begin{figure}[ht] \subfloat[Sinal na $f_c$.]{ \begin{minipage}[c][1\width]{ ...
Arthur De Queiroz Tavares Borg's user avatar
0 votes
1 answer
26 views

Command \ch and \arctg already defined

Two errors: document.tex: error: 2: Command \ch already defined. \begin{document} document.tex: error: 2: Command \arctg already defined. \begin{document} for that simple piece of code: \documentclass[...
user2272592's user avatar
0 votes
0 answers
12 views

May the top margin text be shorter than the title text? [duplicate]

Some times the text in the top margin matching a section, or subsection, title, is too long. Is there a way to use There is a long and winding road as subsection title, and the long an winding road ...
Frode Alfson Bjørdal's user avatar
1 vote
1 answer
11 views

Newline inside musixlyr

It is needed to set a newline inside musixlyr, the basic code is as follow: \documentclass[ border={-8.1cm % Izquierda -7pt % Abajo -7.3cm % Derecha -3pt % ...
ABV's user avatar
  • 589
0 votes
0 answers
9 views

adding a prefix before the number to the list of remarkboxes for the tocbasic package

I have the following question: does anyone know how to add a prefix to the list of remarkboxes created with the tocbasic package? There is a "name" option in the \DeclareNewTOC command. It ...
Piotr's user avatar
  • 1
2 votes
1 answer
24 views

Syntax for combining perpendicular node placement and calc in tikz

In the following example, the two attemps to express a node at the intersection of C and the midpoint of A and B is failing. The workaround with creating a separate coordinate works fine, but is there ...
jII's user avatar
  • 487
0 votes
0 answers
30 views

Computer modern fraktur R and I

The celebrated gothic R and I glyphs are present in the Don Knuth's computer modern symbols family. Is there any "story" concerning the glyphs, e.g. why they where abandoned in the ...
Martino's user avatar
  • 1,370
0 votes
0 answers
15 views

Basic question - Texmaker very slow and laggy when editing \chapter{}, \section, \label

I am using a basic setup of texmaker to write my thesis. The editor freezes for a couple of seconds and is in general very laggy when I try to edit chapter names/section/labels (the xyz in \chapter{...
felisnigripes's user avatar
0 votes
0 answers
28 views

I'm trying to use latex to generate pdf and svg formats of the pictures I made, but the useage of the dvisvgm tool will make my pdf file look weird

Thank you for reading my question Introduction My latex compile environment is VSCode + Texlive + LaTeX workshop. I want to use the tikz toolkit in latex to draw some pictures and generate .pdf and ...
BqBPdx's user avatar
  • 1
0 votes
0 answers
24 views

Synchronization in TeXstudio

I use TeXstudio to create LaTeX files. When the files are in English, there is synchronization between PDF file and LaTeX files: I click on PDF, the LaTeX source scrolls automatically to the ...
Marina's user avatar
  • 133
0 votes
1 answer
41 views

Drawing angles with pgfplot

I would like to put an angle between a curve and a particular axis (let's say the x-axis). I tried several options but chose to use angles however it's still not working. Can somebody help me to ...
Waxler's user avatar
  • 646
2 votes
1 answer
43 views

Width of tcolorbox and resizebox. Prevent boxes to appear in line

As soon as I use resizebox around a few tcolorbox, they all appear in the same line. I want to create a nice layout, with linebreaks, between some of these tcolorboxes, and then just shrink it to fit ...
Albercoc's user avatar
  • 161
1 vote
0 answers
25 views

Asymptote: draw a torus with 6 holes drilled in it

I am using Asymptote to generate a 3D image of a torus with 6 holes drilled in it. I don't know how to merge the holes with the surface. I can only approximate it with cylinders, so the intersections ...
hbghlyj's user avatar
  • 201
1 vote
0 answers
10 views

Pagenotes with multiple index and useage with tex4ebook - needs support

Please refer to \index in \pagenote with splitindex option (for multiple index) With the following MWE no epub could be made with tex4ebook. \documentclass{report} \usepackage{index} \usepackage[...
Thomkrates's user avatar
4 votes
1 answer
174 views

curve of x*e^(1/x) - e^((1-x^2)/x) - x - 1 on [0, +\infty[ tikz

I constructed the curve of the mentioned function but it is not displayed correctly. \documentclass{standalone} \usepackage{pgfplots} \usepackage{amsmath} \begin{document} \begin{tikzpicture} \...
Dots's user avatar
  • 55
2 votes
1 answer
22 views

PGFPLOTS labels placement

I am trying to come up with a way to get the labels for my data points to not overlap. I have been able to change the anchor or the alignment options of all the labels at once but I couldn't make it ...
stuck's user avatar
  • 73
3 votes
1 answer
31 views

Reference and &-character in text along path in tikz

I would like to use the &-symbol and reference (to sections) in the texts that are circled around the inner point but whenever I try to do this, the document compiles to infinity. Minimal working ...
JuliePRE's user avatar
0 votes
0 answers
13 views

Horizontal placement of fullpage float with twocolumn + title + incgraph

This MWE gives a page 2 where the figure is placed too far down on the page. The problem disappears if I comment out \maketitle or remove thetwocolumn option. Why is this? Is it a bug? How can it be ...
pst's user avatar
  • 4,664
2 votes
3 answers
64 views

How break page numbering and restart it by the last automatically?

When I write a document it is usual I divide it into more part: so, I am usual to not number part page as into the example put below where I put a document with three parts, like Overture, Part I and ...
Antonio Maria Di Mauro's user avatar
-2 votes
1 answer
53 views

how to draw a figure eight curve using tikz?

Just as the title, how to draw a figure eight curve using tikz ? Or more general, how to use tikz to draw a parametric curve with the given parametrization ? I knew how to draw basic things by tikz ...
PermQi's user avatar
  • 189
0 votes
0 answers
18 views

Unexpected Font Change in Header When Compiling LaTeX Document Locally with TeX Live

I'm using the ctexart document class for my LaTeX document. Recently, I noticed that the font of the header in my document has changed from the default KaiTi (楷体) to SongTi (宋体). I haven't made any ...
YKWTII's user avatar
  • 1
3 votes
1 answer
41 views

Alignment in itemize

I need to align some elements within an itemize environment. For example, each item contains a question and some space (with dots) for students' answer. How can I have some elements within itemize ...
Gauffke's user avatar
  • 91
0 votes
0 answers
9 views

Changing Vertical Spacing After Heading (w. \linespread) [duplicate]

For my paper, I need to use \linespread for linespacing. But I have such problem: After seciton heading the vertical space is changing with respect to the size of the text after heading. Here I have 2 ...
Alper's user avatar
  • 243
0 votes
1 answer
26 views

How to get quantikz2 working locally?

I am using latex in Ubuntu 22.04. I have been trying to generate quantum circuits using quantikz. I have been reading the documentation and they import the package as: \usepackage{tikz} \...
Gabriel Balarezo's user avatar
0 votes
0 answers
11 views

Inserting image below date using Rmarkdown YAML

I am creating a report in Rmarkdown that is knitted into a PDF. I want to include two images on the first page: a logo above the title, and then a nice image below the date. The problem is that the ...
Flyredbird's user avatar
1 vote
0 answers
50 views

minted package doesn't work in XeLaTeX but works well in PdfLaTeX

I'm trying to use the minted package in my new computer. My tex code is as follows, and I'm using MikTeX + TexMaker in Windows 10: \documentclass{article} \usepackage[cache=false]{minted} \begin{...
Neymar87's user avatar
0 votes
0 answers
17 views

CV using curve and other languages besides English

I am typing my CV in overleaf using curve document class. I have my papers in Hindi, Sanskrit and Assamese languages. I wish to to include them under Publication. How to do it in curve document class? ...
Anamika's user avatar
0 votes
2 answers
24 views

How to make a dotted vertical line with \twocolumn?

My code creates a vertical line between the two columns, but I'm not sure how to make it dotted. \usepackage[automark]{scrlayer-scrpage} \usepackage[english]{babel} \usepackage{blindtext} \...
lizochka's user avatar
0 votes
0 answers
56 views

How can I merge new.bib with old.bib so that new.bib uses entry names from old.bib, for the entries present in both new.bib and old.bib?

I have a LaTeX project (a research paper) that uses .bib file (old.bib). I received a new .bib file (new.bib), which includes the BibTeX entries present in old.bib with more complete information, but ...
Franck Dernoncourt's user avatar
0 votes
0 answers
17 views

Chktex regex warning on Arch Linux [duplicate]

This issue is related to this one: ChkTeX Regex WARNING "Compilation regular expression" on macOS Parsing a simple latex file gives me a warning. I am using the latest release of chktex. Can ...
Edvards Zakovskis's user avatar
1 vote
0 answers
27 views

Is there a way to use the style=authoryear and get the numerical citation?

Is there a way to use the style=authoryear and get the numerical citation? I have, \documentclass{book} \usepackage[ b5paper, % h=250mm, w=176mm inner=20mm, % Inner ...
Paul A's user avatar
  • 1,023
1 vote
2 answers
20 views

Problem when using cases environment in pgfplots legend

I noticed that if I use cases from package amsmath in a pgfplots legend, the legend box does not contain the whole text. See the MWE. \documentclass{standalone} \usepackage{amsmath} \usepackage{...
Manuel Du 's user avatar
1 vote
1 answer
28 views

tex4ht - how to properly number equations (MathJax)

I'm using \numberwithin{equation}{section} in my LaTeX preambule and I'd like that the same numbering applies in resulting HTML when compiled using tex4ht. My latex code block in Section 2 is: This is ...
user2743931's user avatar
2 votes
4 answers
574 views

Macro to convert military time to standard time

I'm learning a little TeX. The following code works fine. But I don't know how to add a leading zero for hour and for minute, if each one of them is less than 10. Thank you for your help. This code ...
Rafiq's user avatar
  • 85
0 votes
0 answers
34 views

TikZ - Proper obscuring of objects in 3D

When drawing in TikZ in 3D, is there any way for objects behind to be properly obscured by those in front, as they would appear if actually viewed in 3D? For example: \documentclass{article} \...
Jasper1378's user avatar
0 votes
0 answers
18 views

How to combine two .bib data files [duplicate]

I Have two bib data files - How can I make my bibtex or other use then both? In the old days, I could've used cut and past. would biber help?
jim stasheff's user avatar
0 votes
2 answers
45 views

How to use hang indent to write this paragraph?

I want to write a paragraph like the one in the picture and indent all the lines but the first one. How can do this?
belacqua's user avatar
4 votes
1 answer
80 views

Equations in two columns and in box does not look too good

First of all, let see what I want. It is the two upper box with two equations in each. and the two boxes at the bottom are what I get from the following LaTeX code: \documentclass[12pt,letterpaper]{...
M. Lemelin's user avatar
0 votes
0 answers
17 views

Using `--cnf-line` to add `pygmentize` to `shell_escape_commands` ad hoc

I noticed the command-line flag --cnf-line, which can be used for lualatex (and related commands) and is described in its help page (lualatex --help) as follows (formatted for clarity): --cnf-line=...
steve's user avatar
  • 2,154
0 votes
1 answer
36 views

Unable to load picture or PDF file - Xelatex

As of recently I am having a problem of compiling my .tex file. Mainly it fails when processing or loading an image but only for xelatex, while pdflatex works fine. Here's the sample code: % Setting ...
Abovegame's user avatar
4 votes
2 answers
259 views

Tilde sign in URL is appearing in superscipt position

The Tilde (~) sign in the URL appears in the superscript position. How can I change it so that it gets the same position (near the normal line) as in the text here? \documentclass[12pt,twoside]{report}...
raf's user avatar
  • 623
1 vote
2 answers
33 views

How to make x and y, which stand after the vertical line, have the same size as the small \psi and x, which stand in \partial

\begin{equation*} \psi(\omega) = \left.{\psi}\right|_{\omega=0} + \omega \cdot \underbrace {\left.\dfrac{d\psi}{d\omega}\right|_{\omega=0} }_{\left.\frac{\partial \psi}{\partial x}\right|_{\...
2 votes
3 answers
58 views

Drawing multiple arrows to the same complex with chemfig

I'm currently trying to draw a chemical reaction network in latex using chemfig, however I have got stuck when drawing multiple arrows to the same complex within a linkage class. Here is my script so ...
George's user avatar
  • 21
0 votes
1 answer
35 views

Text aligned with the figure tag

How can I add a text aligned with the figure tag, similar to a footnote (without numbering)?. What I have tried to do, without any success, is something like what is shown in red, in the figure below ...
wmora2's user avatar
  • 325
0 votes
0 answers
32 views

Custom table of contents for Theorems in LaTeX Document

I'm creating a LaTeX document (on Overleaf) filled with mathematical theorems and proofs. To quickly overview which theorems have been proven, I need a custom table of contents (TOC) that organizes ...
Martin Kunze's user avatar
0 votes
0 answers
27 views

hyperref displays the figure section instead of the figure number [closed]

When I write my document, I make a mistake and index two figures with the same label. the hyperref changes the reference of the figure to the reference of the section (the figure in section 2, indexes ...
miliani nadjib's user avatar

15 30 50 per page
1
2 3 4 5
5185