All Questions

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

What is the Problem with “fontspec” Package to Select Font Externally?

I want to use the fontspec package to select some fonts that I download from the internet for my document, but I constantly get this use error: Undefined control sequence. <argument> ......
1
vote
1answer
7 views

How do I adapt a standard LaTeX template for Pandoc (in a Docker container, not using RStudio/knitr )

I want to use Pandoc to convert markdown text files to beautifully formatted PDFs using LaTeX templates. I want to be able to do this reproducibly across unknown future machines, so I am using the ...
0
votes
0answers
9 views

Keep my algorithmic environment in one piece without using figure environment

I am working on a paper and I wish to use the algorithmic environment. The problem is, if I use the following code: \begin{algorithmic}[H] \label{alg1} \FOR{$-M_x<m_x<M_x$} \...
0
votes
1answer
17 views

Applying \LARGE\rmfamily\scshape\textbf to entire title in beamer class

I'm trying to apply \LARGE\rmfamily\scshape\textbf to an entire title and \rmfamily\scshape\textbf to an entire subtitle in the beamer class (see the minimal working example below). However, if I use {...
1
vote
1answer
11 views

hyperref \href underlined vertical spacing

I am trying to underline links using \href from hyperref in a tabular environment, with an increased vertical spacing. As you can see in the MWE and the picture following it, it results in a line ...
0
votes
1answer
26 views

Make cases smaller

I have the problem that the cases in my PDF file take a lot of space, which is not necessary. My question is: How can I make: $\begin{cases} a\\ b\\ c\\ \end{cases}$ smaller?
0
votes
0answers
14 views

Putting ']' symbol in a subcaption gives ! Extra }, or forgotten $ error [duplicate]

When writing my M.Sc. thesis, I noticed that when I want to write an interval (like so: $[a,b]$) in the subcaption of a Figure, I get an error ! Extra }, or forgotten $. Deleting only the right, ...
0
votes
0answers
9 views

Disable orange highlighting in TexStudio

Sometimes I have this orange highlighting and sometimes I don't. I don't know what causes it. how can I get rid of it?
0
votes
1answer
15 views

Dashed table column separator

I'm trying to create a table with dashed separators between my subcolumns. This is the kind of result I need (with | representing continuous separators and ╎ representing dashed separators): +---------...
0
votes
0answers
16 views

Drawing a more connected hierarchical diagram

I'm attempting to draw a hierarchical diagram. I already found this example and a corresponding question. This helps a lot but unfortunately I need a slightly more sophisticated diagram and don't know ...
0
votes
0answers
18 views

Which citation style is used in the following article?

I'm writing a math paper on TexShop and BibDesk, and I was wondering which citation style is used on this paper. In particular, notice the all-capitalized authors' names. I'm using \bibliographystyle{...
1
vote
0answers
23 views

How book/specification authors do manage the same document in two versions: HTML and PDF?

Look at the example: http://www.r6rs.org/. Authors managed to provide two independent versions of the same content: one is in a singe PDF file (LaTeX rendered) and the second one in a well-structured (...
0
votes
0answers
8 views

Selective formatting of items in \printbibliography - Perform \bibcheck in \defbibenvironment?

I would like to change the style of single references selectively when using \printbibliography so I can highlight featured publications. Is there an elegant way to do that using a library? If not, ...
3
votes
0answers
15 views

Citation prenote inside footnote not working (Biblatex)

I'm having an issue that seems like a bug. When doing a citation inside a footnote with BibLatex using \footnote{\cite[myPrenote][myPostnote]{ref}} and in MLA style, the prenote doesn't show properly. ...
1
vote
1answer
27 views

Superscripts size in tikz label

The size of the superscripts (2) should be smaller, how can I fix that? \documentclass[border=5pt]{standalone} \usepackage{sansmath} \usepackage{tikz,pgfplots} \usetikzlibrary{angles, arrows.meta,...
0
votes
0answers
7 views

Algorithm pseudocode is not executable in IEEE Transection Template

\documentclass[journal]{IEEEtran} \usepackage[lined,boxed,ruled,commentsnumbered]{algorithm2e} \usepackage{algpseudocode} \begin{document} \begin{algorithm}%[H] \caption{%\textcolor{blue} {Pseudocode ...
0
votes
1answer
21 views

Align objective value variable

Z(p) = \begin{mini}|l| {x}{c^T x}{}{} \addConstraint{Ax}{\geq b} \addConstraint{Dx}{\geq d} \addConstraint{x}{\in \mathbb{Z}} \end{mini} How do I get the Z(p) to be aligned properly?
0
votes
1answer
35 views

how to plot a red dot?

I wanna plot a feynman diagram as below. I plotted the diagram but don't know how to add the red dot. my latex code is below. Anyone can give me a favor? \documentclass{standalone} \usepackage[compat=...
0
votes
2answers
32 views

Improve A Tikz Flowchart

How can I add the circles as shown in the above flowchart so I can number each process? Now my optimum goal is to show a process using a flowchart and describe each box under the flowchart so I came ...
0
votes
0answers
14 views

Beamer color box doesn't extend to cover frame number

My latex preamble for beamer in lyx: \usetheme{Madrid} \hypersetup{pdfpagemode=None} \defbeamertemplate*{footline}{mytheme} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.7\paperwidth,ht=2....
0
votes
0answers
30 views

Trying to reproduce Federal Sentencing Transcripts

I am trying to reproduce the federal sentencing transcript but I can’t get the format correct the numbers on the side are all crazy and the words are all over. Can you please help understand how it ...
0
votes
0answers
18 views

Connecting line between For and End loop

I have written a code that defines the procedure defined in the image. I need to insert connecting line between the For and End loop as circled in red color. I searched for exisiting solutions 1, 2, 3 ...
0
votes
1answer
25 views

How to insert in \int_case value, return by function?

I want to check the sum of a sequence of variables. I created a function which returns this sum. But when I use it I get an error. \documentclass{article} \usepackage{expl3} \pagestyle{empty} \...
0
votes
0answers
18 views

arXiv stamp gets misplaced

I'm trying to upload a thesis on arXiv (a single-column A4 document), and the only problem with it is the misplaced arXiv stamp on the title page. I'm providing a mock screenshot of the minimal ...
1
vote
1answer
28 views

White border around figure in beamer

I am using LaTeX/Beamer to create some slides I have made the background black and the font white using \setbeamercolor{background canvas}{bg=black} \setbeamercolor{normal text}{fg=white,bg=black} ...
0
votes
0answers
23 views

Pythontex in TeXShop

I use TeXShop version 4.51 on macOS Catalina version 10.15.7. Followed the README.pdf titled "The Pythontex engine by Richard Koch" Downloaded anaconda from https://www.anaconda.com/...
1
vote
0answers
11 views

exam/geometry: First footer is shifted below when setting geometry using \AtBeginDocument

This answer does the job for placing the header right. However, the first footer is unknowingly shifted way much down. So, why does \AtBeginDocument{\settototalheight\headerTotalHeight{\headerContents}...
3
votes
1answer
104 views

What causes this misalignment bug in eqnarray?

\documentclass[12pt,a4paper,oneside]{article} \begin{document} \begin{eqnarray} p&=& 0 \\ a&=& 0 \\ h&=& 0 \end{eqnarray} \end{document} One of these simple & similar ...
1
vote
2answers
44 views

Draw hash table (int -> array)

I would like to visualize a hash table that maps integers onto arrays of integers. I have found visualizations for both arrays and hashtables, but none of the hashtables had arrays as values. What I ...
0
votes
1answer
39 views

Adjustment of a tcolorbox and an image in a row

I am making this template for my notes, and I was trying to put an image (a logo) on the right side of a tcolorbox. The code is as follows: \begin{tcbitemize}[raster equal height=rows, raster columns=...
0
votes
0answers
14 views

Glossaries package incompatible with documentclass{lni}

I have an issue with the latex glossary package, in that it is incompatible with the lni documenttype. The following code \documentclass{lni} \usepackage[utf8]{inputenc} \usepackage[]{glossaries} \...
2
votes
3answers
39 views

Improve a keycommand macro

My question is about how to improve an already working macro via the keycommand package. The small inclusion shows my efforts so far: \documentclass{article} \usepackage[margin=0.95in]{geometry} \...
0
votes
0answers
9 views

Display arguments of a newcommand definition in a \cref statement or similar thing

I am searching for a way to refer to members in a multi-value object (the arguments in a \newcommand definition) in a \cref statement, like e.g. here \documentclass{article} \usepackage[utf8]{inputenc}...
4
votes
1answer
156 views

LaTeX: Why \\ causes no paragraph break for fully justified text, but does so for \raggedright, \raggedleft, and \centering?

Note: This question is not about getting a desired visual effect in pdf, it is concerned with LaTeX/TeX internal algorithm. In the following code, presence of \\ sometimes produces a new internal tex-...
0
votes
1answer
40 views

\psi gives different results?

I have two different Overleaf files from different people. Using \psi in the two documents gives different results. Any idea what could be the reason? I prefer the first one. Following help from ...
2
votes
0answers
26 views

Returning more than one argument - tikzmath

I have the following code: \documentclass[tikz,border=5mm]{standalone} \usepackage{etoolbox} \usepackage{tikz} \usepackage{fp} \usepackage{xfp} \usetikzlibrary{fixedpointarithmetic} \usetikzlibrary{...
2
votes
2answers
24 views

Why are the alphabetical numbering of Appendices missing and the 'appendix' package giving error?

I want to alphabetically arrange my appendices like Appendix A, Appendix B, and so on. When I use the appendix package, an error appears 'appendices already defined'. So, with the use of the command \...
0
votes
0answers
11 views

Issues with endpage pylatex

I'm runnig a program to generate a pdf but when I run it, it generates the pdf but also promts out an Error. The code is similar to this one but I just add some extra lines concatenating and adding ...
0
votes
1answer
28 views

fitting tikz in two column document

I have the following tikzcd diagrams in my two column document" \begin{center} \begin{tikzcd}[column sep=20,row sep=20] P: \prod_{i=1}^{WS}{G} \arrow[r,"RTL"] & \prod_{i=...
0
votes
0answers
27 views

pdflatex doesn't seem to recognize where beamer.cls is

(I'm relatively new to Latex) I'm trying to compile a simple beamer LaTeX document using the following line: pdflatex -interaction=nonstopmode example.tex And I'm getting the following error: This is ...
2
votes
2answers
174 views

Displaying letters of this alphabet

Is there anything I can do (like a font (or whatever) I can install) in order for these symbols to display properly? o͘ O͘ ⁿ á é í ó ó͘ ú ḿ ń Á É Í Ó Ó͘ Ú Ḿ Ń à è ì ò ò͘ ù m̀ ǹ À È Ì Ò Ò͘ Ù M̀ Ǹ â ...
3
votes
1answer
26 views

Control punctuation after “ibid” in author-year citation

I would like to have a colon as the delimiter between the year and the page number in an author-year footnote citation. But after the word "ibid" I would like to have a comma instead of a ...
2
votes
1answer
49 views

Drawing a 3D manifold with gridlines in TikZ

I'd like to draw an arbitrary 3D manifold, such as this, with gridlines and labeled axis, using TikZ: There are a few similar posts here and elsewhere, but nothing that quite achieves what I'm ...
0
votes
0answers
13 views

TexStudio cannot find inkscape

I am trying to include svg files in my document. I am using TeXstudio 3.0.1 with Miktex 20.11 on Windows 10 Pro. Inkspace 0.92.4 is installed. I have amended the pdflatex command to the following: ...
2
votes
0answers
27 views

\def\@absorbperiod.{} in LateX3?

In TeX: \def\@absorbperiod.{} will strip the period from the token stream. I can't figure out a way to replicate this behavior in LaTeX3 (nor can I figure out a way to use this as a TeX command ...
3
votes
2answers
37 views

Cancel command spans multiple lines of equations

I am trying to cancel out an equation term that is simply too long, and the cancelling arrow overlaps the equations above and below what I want to cancel: Minimal code: \documentclass[8pt]{extarticle} ...
1
vote
1answer
21 views

Table border missing when using multirow/multicolumn within tabularx

The borders of this table do not close completely when I use the \multicolumn command. Also in the last row between columns C & D, I have the same problem. I am sure there is a easy fix to this, ...
1
vote
0answers
43 views

What is the meaning of an error message “can't find file ***.vrb”? (A fix now known, a full explanation still missing)

My system: Windows 10 WinEdt 10.2. MikTeX 2.9. The problem: I am editing a set of powerdot slides named Luku16.tex. All of sudden I started getting these strange error messages when trying to ...
0
votes
0answers
26 views

Long sim sign in commutative diagram with tikz-cd

In a tikzcd commutative diagram I've tried to accomplish a long sim sign (vertically, along with an arrow) but I can say that I'm dissatisfied, by far, with the result (which is given in picture below ...
5
votes
1answer
44 views

So what is the everypage package replacement?

I'm getting a warning that the everypage package is now in legacy status due to similar functionality provided by LaTeX. Great, what is it?

15 30 50 per page
1
2 3 4 5
4169