All Questions

Filter by
Sorted by
Tagged with
4 votes
1 answer
127 views

Fully expanded \str_if_eq test

I am sure I am getting something utterly wrong, but I am also sure this used to work with previous versions of latex3: \documentclass{article} \ExplSyntaxOn \...
  • 1,012
0 votes
2 answers
34 views

How do I make box of text using circuitikz?

I wanted to explain thevenin's theorem and I want to make box like this. Is it possible or do I have to use extra package and how do I do it?
1 vote
3 answers
118 views

How can I include the red-circled paragraph in the math mode? [closed]

I am facing a problem when trying to include the following red-circled paragraph like math text under math mode: How can this be resolved?
0 votes
1 answer
36 views

Making a beamer file with a tikz skip counting grid

I'm trying to make a table from 1-120 where I can identify each cell and colour it to show skip counting. Here are the first few slides of what I am trying to achieve for skip counting from 30-75 by ...
1 vote
1 answer
13 views

How to change bibliography title size in book class

I am using the book class in overleaf and when using the command \begin{thebibliography}, the title BIBLIOGRAPHY printed is far too large. How would I go about changing this to a 9pt font title ...
0 votes
0 answers
31 views

Complex stacked bar chart in LaTeX

I'm trying to do this horizontal stacked bar char in LaTeX in which each box has a different label. So somehow, its a compilation of charts that are being displayed together. I'm having a hard time ...
4 votes
2 answers
337 views

How to specify a different font on different computers

On the Mac, the Baskerville font that comes pre-installed with OSX works wonderfully with LaTeX (as suggested here by Manuel). However, I believe that font is licensed and thus can't be freely copied ...
0 votes
0 answers
29 views

Export parts of tex file separately

I'm writing a longer document and need this version, where everything is put together, and a few parts of the file in seperate pdfs. For example it might be that I need subsection 1.2 as a standalone ...
  • 11
1 vote
1 answer
31 views

How to draw lines together with arc

Does anybody know how to draw the right vertical line parallel to the left vertical line? CODE: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \...
3 votes
1 answer
98 views

How to prevent newlines from appearing after enumerations in ConTeXt?

I am trying to place three columns of information after enumerations in ConTeXT, like this: 1 text | more text | yet more text 2 text | more text | yet more text 3 text | more text |...
  • 12.7k
0 votes
2 answers
69 views

Blank Unit Circle

I would like to adapt the following code so that the angles (Degree and radian) along with the coordinates are blank. I have tried to change some of the code, but I don't know if there is an easier ...
  • 512
2 votes
1 answer
40 views

QR code aligning

tell me please how the QR code can be aligned to one of the corners? note: \qrcode[height=3cm]{https://github.com/AnMnv/eBook} works fine, but colorful QR code not \documentclass[14pt]{extreport} \...
3 votes
1 answer
172 views

Wrapping long numerator

I have a long square root equation that walks off the edge of the page. See the following picture where the end of the equation is cutoff. \[ S=\sqrt{\frac{306.250+240.250+156.250+110.250+90.250+56....
  • 33
0 votes
0 answers
53 views

How can I get rid of CreationDate error from pdfx package?

I'm trying to compile my memoir document with the package pdfx into a PDF/X-1a1 compliance by using XeLaTex from latexmk and neovim with the vimtex plugin. EDIT: Here's the following log message by ...
0 votes
0 answers
15 views

How does one indent the beginning of a theorem like a new paragraph?

How do I indent my lemma as if it was the beginning of a new paragraph? In my preamble this is all I got for the Lemma environment: \theoremstyle{definition} \newtheorem{lemma}{\normalfont\scshape ...
  • 187
1 vote
1 answer
28 views

Help with the view of a long equation development

I need help with putting in a good way some equations with arrows and text and I have no clue. These are the equations: This is the code: \begin{DispWithArrows}[format=c] \Psi\dl x,t\dr=A\dcos{kx-\...
-1 votes
1 answer
72 views

The brachistochrone

Can someone help me program this with tikz?, I've been trying for days without result
0 votes
0 answers
14 views

Citing equations in ieee (biblatex+biber), same source but in different pages

Let's say that in some book there is a equation 1.2 in page 1 and some other equation 3.6 in page 120. I would like that my output looked like this: bla bla [1, eq. 1.2] ... bla bla [2, eq. 3.6] ...
0 votes
0 answers
22 views

Hello. The error report is " Package tikz Error: Sorry, image externalization failed: the resulting image was EMPTY." Can you help me?

\raggedbottom \documentclass[12pt]{scrbook} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{mathptmx} \usepackage{asymptote} \usepackage{float} %\usepackage[applemac]{inputenc} \usepackage{...
1 vote
1 answer
35 views

How can I have most compact code inside a lstlisting frame?

I want most compact code inside a lstlisting frame. I have tried to fit the frame into the two-column using xleftmargin=1.1mm,xrightmargin=2.5pt by manually trying and checking with eye. But my real ...
  • 904
0 votes
1 answer
21 views

is it possible to force a full-page figure to go inside the list of references? (BibTeX)

The usual question is "How do I get my figure to not get placed inside the reference list?" I am asking the opposite. I want a certain figure to go on the first page after the references ...
0 votes
1 answer
43 views

Latex L3 Programming Layer Interface using \_ and \__

Have been looking at style files using the L3 Programming Layer Interface for Latex, in which people use \_ and \__. What is their purpose, are they standard indicators for specific things, or simply ...
  • 195
1 vote
1 answer
46 views

Is there any problem to add a super big number after `\alignat` in ams package? [closed]

In the official document, alignat is followed by the total of "right column and left column" pairs. Here is an examaple of alignat in the document. \begin{alignat}{2} x& = y_1-y_2+y_3-...
  • 113
0 votes
0 answers
16 views

Subfigures on next page does not continue numbering

I am using the code below to separate 7 subfigures to 2 pages - the first page has 4 and second page has 3 figures. The figures on the second page starts counting from (a), but I want it to continue ...
  • 33
2 votes
2 answers
137 views

Extended arrays with 12 parameters

I have a document to type where I need to write a lot of extended arrays and I want to create a function that does this nicely but unfortunately both the ´\def´ and ´\newcommand´ commands only allow 9 ...
  • 385
0 votes
0 answers
24 views

Error 'You can't use `\eqno' in math mode' [closed]

I am getting the error 'You can't use \eqno' in math mode'` with this code: \begin{equation} \textbf{E}(\textbf{R}^{'},t)=\frac{q}{cR}[\hat{s}\times(\hat{s}\times\dot{\textbf{\beta }})]_{ret}, ...
0 votes
1 answer
43 views

using tkz-euclide instead of Tikz

I am trying to learn how to use tkz-euclide I was wondering if anybody could help be changing this Tikz doc into a tkz-euclide so I can begin to learn how to use it properly. \documentclass{standalone}...
  • 547
1 vote
1 answer
32 views

Problem with MathOperators [duplicate]

When I write this MathOperator (that I invented), the output of this code is not well. How could improve it? Thank you so much \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{mathtools}...
  • 925
0 votes
0 answers
25 views

Extra bottom margin with reledpar

I'm using the reledpar package to have one chapter of a book with two texts typeset in parallel on pairs of facing pages (no footnotes or critical apparatus). Unfortunately, that chapter exhibits an ...
0 votes
0 answers
43 views

L3 programming layer interface for latex3 [duplicate]

The L3 programming layer interface for latex was introduced to provide better syntax and library for LaTeX programmers. With little material about the language, where can I find its technical manual?
  • 195
0 votes
0 answers
13 views

Error when using acro: 'long-short' of type 'acro-first' is (xtemplate) unknown

I just switched from overleaf to using vim for latex and executing everything on the commandline. My code previously compiled without errors in Overleaf, but now i am getting a problem with acro. MWE: ...
  • 53
0 votes
1 answer
28 views

Subscripts fail to render

I used the code $d_n$ and what came out was really "d_n", instead of "n" becoming the subscript of $d$. I tried other formulas including _, all of which failed to render the ...
  • 135
1 vote
1 answer
43 views

how to break line on a chemfig?

noindent \textbf{Dehydrogenation} \begin{figure}[h] \label{dicosimo_mechanism} \centering \scalebox{.8}{ \begin{center} \setchemfig{scheme debug=false} \schemestart %%%%%%%%%%%% ETEP 1 part1 %%%%%...
0 votes
0 answers
19 views

Unmatched Styling listofalgorithms in LaTeX

I am using the same commands to style both the list of figures and the list of algorithms, however, the output is totally different. I cannot make the algorithm name be in the middle and the page to ...
user avatar
0 votes
0 answers
22 views

I have an algorithm on latex with algorithmic settings on top of page. Problem is the first line is a little above margin which is causing problem

I have tried using \vspace{} but that shifts the lower two lines, not the first line which is in margin and I need to shift it a little downwards. How can that be shifted down? The picture shows the ...
  • 1
2 votes
1 answer
120 views

Unwanted space after lessthanequal operator: P(Z{\leq}z)

Why is there a space after the <= sign here: P(Z{\leq}z) What am I doing wrong?
  • 121
1 vote
1 answer
29 views

Maximum number of questions in the alterqcm package?

I wrote a MCQ with an unusually large number of proposed answers (7 answers). I realize that it is not possible to propose more than 5 answers to a question. How can the MCQ be able to offer more than ...
  • 23.2k
0 votes
0 answers
18 views

"Missing number, treated as zero" error with xcntperchap package

I get some unexpected error messages ("! Missing number, treated as zero.") building both the examples provided in the xcntperchap package documentation and the following MWE: \documentclass{...
0 votes
1 answer
41 views

Placing text below a figure

How is it possible to place some text below a floating image? I use a figure with some variables. I want to define these variables below the figure, so no matter where the image is positioned, they ...
  • 15
1 vote
1 answer
21 views

How to adjust standard errors in regression table (long text disrupting the formatting)?

When I am centering and formatting my regression table using tabulary, the text on the table causes the standard errors to appear much below the coefficient. I don't know how to adjust this. I have ...
  • 25
2 votes
2 answers
43 views

Only loading blackboard bold of a font

I'm looking to use the vvarbb style blackboard bold font from newpxmath but use eulervm for all other math. Unfortunately it seems that eulerpx doesn't support the vvarbb option. Is there a way to ...
2 votes
0 answers
36 views

Dozens of errors when updating TeX Live from command line: are they concerning?

I ran this line of code on the command line to update tlmgr itself and all packages. tlmgr update --self --all While the packages successfully updated, there was a significant amount of warning and ...
1 vote
1 answer
25 views

import parentheses from another package but original hat and bar can't display correctly

I use \usepackage{newtxtext,newtxmath} but import '"(" & ")" from package stix instead. code as follows \makeatletter \DeclareFontEncoding{LS1}{}{} \makeatother \...
  • 43
0 votes
0 answers
21 views

No Part number in TOC for appendices with titlesec/titletoc

Aubrey Blumsohn gave the answer to "Add 'Part' before the number in Toc when using titlesec package". However, with Appendices the Part number fails to appear. Here is a MWE: \...
  • 2,057
1 vote
1 answer
19 views

Citation links on pdf are being created on both author list and year

The following is what I am doing now. \documentclass[11pt,english]{extarticle} \usepackage{listings} \lstset{language=Matlab} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsmath} \...
0 votes
2 answers
48 views

How to span table across two pages?

Say I have the following MWE: \documentclass[letterpaper,11pt]{article} \usepackage{ragged2e} \usepackage{latexsym} \usepackage[empty]{fullpage} \usepackage{titlesec} \...
  • 103
3 votes
2 answers
51 views

How to make table columns the same width?

I made a table, but the column width is not even. I tried many methods, but still could not make the column width even. Strange things is that I have many other tables with the same style and their ...
1 vote
1 answer
41 views

! Missing \endcsname inserted while using showkeys

Using showkeys of my MikTeX 2.9, the code below \documentclass{article} \usepackage{showkeys} \begin{document} section \ref{sec:methods} section \ref{methods} \section{Methods} \label{...
  • 3,555
0 votes
0 answers
27 views

Windows TeX Live Shell GUI Malfunctioning

When loading repository in the GUI an error immediately pops up saying Error: key "texlive.infra" not known in dictionary. The detailed error message is as follows: key "texlive.infra&...
1 vote
1 answer
44 views

Why is this code not giving me custom enumerations in ConTeXt?

I am trying to make some enumerated items in ConTeXt appear with a small section of underline, instead of the bullet point. Here is my attempt, but no matter how many combinations I try, I cannot get ...
  • 12.7k

15 30 50 per page