All Questions

Filter by
Sorted by
Tagged with
-1 votes
1 answer
57 views

How can I plot this graph? [closed]

I can't plot sin^2(deg(x)) or else it just gives me an error I can only plot sin(deg(x)), and I can't add anything to the deg(x), so how can I go about plotting this? Also I can't remove the dots on ...
Ocean darkn99's user avatar
0 votes
1 answer
187 views

How can one check if a page exceeds the page margin? [duplicate]

I have a multipage document (a research paper) that I generated with latex. How can one check if a page exceeds the page margin? An ideal solution would minimize the amount of manual work. Example of ...
Franck Dernoncourt's user avatar
0 votes
0 answers
26 views

Overleaf Compilation Problem with Package natbib Warning Error

I have spent days of trying to solve these problem but I failed. So I decide to ask for help from you guys. I am writing on Overleaf and using the model2-names.bst to generate my bibliography. However,...
Turing Tu's user avatar
0 votes
0 answers
49 views

final great circle to draw triange group (2,3,4)

I have all the great circles to draw the triangle group (2,3,4) except for one. I'm missing the great circle that would intersect (1) the intersection of the green and violet arcs and (2) the ...
Amy Herron's user avatar
1 vote
1 answer
14 views

MakeIndex cross reference "see|" does not work for more than one word

I want to cross reference phrases using MakeIndex. For one word cross referenced to one other word, there is no problem. If I try to cross reference more than one word, the reference does not appear. ...
teg327839's user avatar
1 vote
1 answer
54 views

How to avoid page breaks before or after 'figure' environments

I was trying to reference some pictures in my document but something went wrong. Here is the code : main.tex: \documentclass[french, 12pt, twoside, openany]{book} \usepackage[utf8]{inputenc} \...
Gigi's user avatar
  • 137
0 votes
0 answers
26 views

Cite references in the text by name and year [closed]

I'm writing a math paper using Springer Nature’s LaTeX template. How to cite references in the text by name and year in parentheses. Some examples: Negotiation research spans many disciplines (...
walid hidda's user avatar
3 votes
2 answers
284 views

How to reference a picture with two images?

I have a little problem and would be extremely grateful if somebody could help me. Indeed, I am having trouble while referencing images. In fact here is my code: main.tex: \documentclass[french, 12pt, ...
Gigi's user avatar
  • 137
3 votes
2 answers
61 views

Arrange subfigures in 2x2 + 1 centered shape

I'd like to arrange my 5 subfigures like this, where each column is the same width. It must compile with LuaLaTex. Basically there is a 2x2 matrix occupying the two left columns and two rows, and a ...
infinitezero's user avatar
1 vote
0 answers
33 views

how to get rid of this warning "amssymb should not be used in conjunction with mbdch"

I am writing an article in East Asian J of Applied Mathematics. The preamble is \documentclass{eajam} %%%%% journal info %%%%%%%%% \setcounter{page}{1} \renewcommand\thisnumber{x} \renewcommand\...
ajey tiwari's user avatar
3 votes
1 answer
244 views

How does \if:w work?

I cannot work out how \if:w works and LaTeX3's manual does not show any example on how to use it: I want to check whether the document is currently in oneside or twoside mode: \if@twoside Twoside ...
Dave's user avatar
  • 327
0 votes
1 answer
25 views

Appropriate Font for Figure Legends in Elsevier's Journal

I'm preparing a manuscript for submission to Elsevier's journal Chaos, Solitons & Fractals. In the past, I've had issues with the fonts used in axis labels and figure legends being rejected for ...
Anthony Couthures's user avatar
5 votes
1 answer
295 views

How can I get the value of the f(1/2) is 11/4 not 2.75 when I use \pgfmathprintnumber\pgfmathresult?

This is my code \documentclass[12pt,a4paper]{article} \usepackage[left=2cm, right=2cm, top=2cm, bottom=2cm]{geometry} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usepackage{tikz} \usepackage{...
Thuy Nguyen's user avatar
  • 1,084
5 votes
1 answer
87 views

How can I break an alignedat/gathered environment between pages?

So, I've read the discussions here and also here but neither seem to solve my problem. I'd like to break a long list of matrices between pages, problem is I'm using an alignedat (and sometimes a ...
Marco Olivieri's user avatar
0 votes
0 answers
43 views

Letter Ł in llncs [closed]

I am using the template of lecture notes in computer science. I am trying to write the name of Jerzy Łoś. However, unlike How to type the letter Ł it seems it is not sufficient to type \L because then ...
user1868607's user avatar
3 votes
0 answers
25 views

Use different fonts in math mode [duplicate]

I would like to use two different font in math mode, depending on the caracter: letters in fourier numbers in sansmathfonts Is it possible in an easy way ? Edit: Here is a MWE \documentclass{article}...
rahotep's user avatar
  • 105
-1 votes
1 answer
80 views
+200

raisebarno not working

It is needed to configure the \raisebarno parameter. The basic code is as follow: \documentclass[border=8pt,varwidth]{standalone} \usepackage{tikz} \usepackage{musicography} \usepackage{musixtex} \...
ABV's user avatar
  • 443
3 votes
1 answer
67 views

Multiple citations of the same reference, each time with a different page number

Problem description: I cite the same references multiple times; each time they are cited, different page numbers are provided; the page numbers are being shown together with the citation, on the ...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
0 votes
1 answer
22 views

beamer titlepage how to organize authors in a table which spans slide-width

Hi I'm working on my first beamer presentation in view of my PhD defense, I've plenty of time and started to experiment, I quite like the design and style of LaTex presentation; however, I'm not yet ...
Matteo's user avatar
  • 311
0 votes
1 answer
24 views

Changing default background image in specific pages (XeLaTeX)

I have a default background image for my document, but I need a different background on specific pages. Atm the only thing I was able to do is to have both the backgrounds, while I need to momentarily ...
Teodoro's user avatar
  • 589
4 votes
1 answer
58 views

\IfBlankF in \NewDocumentCommand removes content leading up to argument

I'm trying to define a command with \NewDocumentCommand that create a subsection with a given name (mandatory) and optionally some descriptive paragraph. Since I don't want these paragraph to be ...
bru3s's user avatar
  • 43
0 votes
0 answers
17 views

Configuring paths TeXLive search paths for embedded fonts

The IEEE Access Latex template includes multiple embedded fonts. You can easily compile the template by running pdflatex inside the directory where you unzipped it. However, to work with the build ...
Gaslight Deceive Subvert's user avatar
3 votes
1 answer
29 views

Beamer overlay makes tikz picture move

I am trying to use tikz and beamer overlays to reveal a graph with some nodes that contain a little amount of text node by node. However, the middle note (that is the first node that is uncovered) and ...
YukiJ's user avatar
  • 235
3 votes
1 answer
35 views

draw arc with big arrow between two point

I would like to draw a arc with big arrow like below: I have try below code with big arrow! \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc,shapes.arrows} \begin{document} \begin{...
lucky1928's user avatar
  • 4,275
0 votes
0 answers
30 views

The order of references [closed]

I'm writing a math paper using Springer Nature’s LaTeX template with \documentclass[sn-mathphys-num]{sn-jnl} I'm using bibtex to generate the list of references. Currently, the references are ordered ...
walid hidda's user avatar
1 vote
1 answer
13 views

Making citations with many names display correctly in beamer

I want to cite references in a beamer presentation. When there are two many author names, it fails to display them correctly. The behavior can be replicated with the following very simple example. % ...
shuhalo's user avatar
  • 2,575
1 vote
0 answers
46 views

The backref subpackage of hyperref has omissions: it fails to generate back-references for certain citations [duplicate]

Some backlinks provided by \usepackage[backref=page]{hyperref} failed to show up. Uncertain whether the issue lies with backref.sty or the sn-article-template. MWE.tex below should work with sn-...
谢尘竹's user avatar
1 vote
1 answer
63 views

Combining `\addplot3` Commands with Separate Colors in PGFPlots

I'm trying to combine all \addplot3 commands into one while maintaining separate colors for different y domains in PGFPlots. Here is the code I have so far: \documentclass[border=3mm]{standalone} \...
mori's user avatar
  • 81
3 votes
1 answer
87 views

xfrac reverses numerator and denominator in align environment with babel

I use the xfrac package to make nice-looking fractions and I encountered a problem with it. I use the babel package to write my documents in Hebrew, and I found that using xfrac inside an align* ...
Shai Avr's user avatar
  • 909
4 votes
1 answer
102 views

Why \IfPackageAtLeastTF{⟨package⟩}{⟨date⟩}{\PassOptionsToPackage{⟨option⟩}{⟨package⟩}}{} doesn't pass ⟨option⟩ to ⟨package⟩?

My current version of parskip is 2021-03-14 so: \IfPackageAtLeastTF{parskip}{2018-08-24}{\PassOptionsToPackage{indent}{parskip}}{} \usepackage{parskip} should pass the indent option to parskip. But ...
Denis Bitouzé's user avatar
1 vote
1 answer
63 views

Placing images and environment side by side

I am working on a document using ConTeXt that need to have page layout similar to the picture The pictures illustrate steps that are provided in the itemized environment. How could be approach it? I ...
EvgeniySharapov's user avatar
2 votes
2 answers
93 views

Move the equation to left side inside split environment

Question: Is it possible to shift the entire equation to left side? Because when I am using split alignment inside the equation, it centers in the middle of the page. MWE: \documentclass[12pt,a4paper]{...
SandyM's user avatar
  • 2,869
7 votes
4 answers
685 views

Big zeros in block diagonal matrix

I'm trying to create a block diagonal matrix with labeled blocks as shown in the images below: I have tried: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \...
LogicLuminary's user avatar
0 votes
1 answer
36 views

Customized highlighting of a markdown text document with Pandoc

Using Pandoc to render PDF from a Markdown text file, I use highlighting code blocks to format a different type of text, like this: this is normal text ~~~~~~ this is special text ~~~~~~ The snippet ...
nightcod3r's user avatar
0 votes
0 answers
14 views

pgfplots: shifted axis with set layers

When using set layers to draw several axis on the same set of layers, I get alignment problems. Here's a typical setup where several axes are aligned with respect to each other, using xshift and ...
schtandard's user avatar
  • 15.4k
2 votes
2 answers
60 views

Supplying data to hyperref's pdfauthor: different command types give different results

The hyperref package allows a list of authors to be assigned to the pdfauthor option. For example, this works for me \hypersetup{ pdfauthor={Me, Bobby McGee} } The two authors are recognised in the ...
Blair's user avatar
  • 407
1 vote
0 answers
26 views

Inserting text in header using tikzpicture adds an a space

My MWE \documentclass{book} \usepackage{tikz,tikzpagenodes} % BEGIN_FOLD \NewDocumentCommand{\pageframeHeader}{O{0.75} O{gray} O{0pt}}{ \begin{tikzpicture}[remember picture, overlay, opacity=#1, ...
Al-Motasem Aldaoudeyeh's user avatar
2 votes
1 answer
65 views

Surface of revolution around x-axis

How is it possible to get this picture in tikz/Latex. Rightnow I have the following code. I want to rotate a function around x-axis. Her is my code. \documentclass[border=1cm]{standalone} \...
Rose White's user avatar
1 vote
1 answer
46 views

How can I create a left-aligned table of a fixed width containing equations?

My goal is to create a two column table with fixed column widths where each row contains two individually numbered left aligned equations. However, when putting equations inside a table with the W or ...
paddi's user avatar
  • 13
0 votes
0 answers
21 views

Preventing white space above chapter heading

When I want a chapter heading as follows what I get is something as this As we see, there is small space above chapter heading. Previous answers as in this question only reduce space above chapter ...
Al-Motasem Aldaoudeyeh's user avatar
0 votes
0 answers
53 views

Unstable ATS parser results [closed]

I am editing my resume to make it ats friendly. I have numerous parsing problems. with adding or removing sth, my parsing result in enhancv ats parse rate goes from 100% to 42% then comeback to 97% ...
Farhang Amaji's user avatar
3 votes
1 answer
84 views

How can I replace the single quotation mark with another one in the listings package?

\documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{listings} \usepackage{xcolor} \usepackage{graphicx} \usepackage{tcolorbox} \...
Özgür's user avatar
  • 3,344
0 votes
0 answers
18 views

Label align environment by a name not a number [duplicate]

I'm interested in giving an equation a name and not a number. E.g. I want equation to label the equation in the following align environment by "(Pythagoras)" instead of a number given by the ...
user99432's user avatar
  • 137
0 votes
0 answers
23 views

How to highlight the chapter, section, subsection with different colors?

So, I'm making short notes for physics and I'm writing the my notes in twocolumn and the documentclass is book. i want to highlight(or have some different color at the background) the chapter, section ...
physics_physique's user avatar
0 votes
0 answers
34 views

xfrac behaves weird with babel and anyfontsize

I use the xfrac package to make nice looking fractions, and I noticed some weird behavior of this package. Let's begin with this simple example: \documentclass{article} \usepackage{amsmath} \...
Shai Avr's user avatar
  • 909
0 votes
2 answers
31 views

Color scheme changes in LyX don't get applied

I'm following https://wiki.lyx.org/Tips/ColorSchemes and copying the settings into the preferences file as explained. However, when I open LyX, the changes are not applied. I'm trying to change the ...
P. C. Spaniel's user avatar
4 votes
2 answers
152 views

Adjusting the indentation and the horizontal spacing in tables in latex

I'm trying to make a partial list of symbols in my thesis. So far, I have written this code \documentclass[12pt,a4paper,openany]{book} \usepackage[utf8]{inputenc} \usepackage[left=1in, right=1in, top=...
Hussein Eid's user avatar
0 votes
1 answer
78 views

How to Recreate a Flowchart from a PDF in LaTeX? [closed]

I found a flowchart in the book "Algorithms for Optimization", specifically on page 107 (available here). I would like to recreate this flowchart in LaTeX. Below is the flowchart for ...
Abichouuu's user avatar
0 votes
1 answer
42 views

How do I make this expression in one line?

How do I make this expression in one line ? $ (\forall (a ; b ) \in \mathbb{R}^{2}) (\forall (x ; y) \in \mathbb{R}^{2}) ; (a ; b )\star(x ; y) = \left(\dfrac{ax + by}{2};\dfrac{ay + bx}{2}\right) $
mlc's user avatar
  • 3
0 votes
2 answers
25 views

Spacing between equations in columns in Beamer

I am currently creating a Beamer presentation and I am somewhat new to LaTeX. I have two columns with three equations in each, and I want the columns to have less vertical space between them. I have ...
Blair Johnson's user avatar

15 30 50 per page