All Questions

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

Why the number of first table is zero in latex?

I have prepared an article in LaTeX. There is 6 tables in this paper. The number of first table (table caption) apear in zero!. Why the number of first table is zero in latex? How can I convert it in ...
0 votes
1 answer
11 views

Control table height

I'm trying to create a table with mailing adresses to print so what I need is to match my table dimensions to the pre-cut sticker paper. So far I've managed to control column width with p{\dimexpr 0....
  • 101
0 votes
0 answers
11 views

Aligning several equations that are each in the box (MathJax)

I'm using MathJax. How to aligning several equations that are each in the box like this one: Aligned at "=" I've tried using \fbox like these: $$\begin{align} \fbox{$2x-4y+3z &= 6$} &...
0 votes
0 answers
19 views

File `subscript.sty' not found. \usepackage

I recently wanted to start writing thesis. However I got this error. I installed the "fragments" name folder from miktex since the subscript.sty was not available in miktex. Searching ...
1 vote
1 answer
24 views

How to add zero before a decimal point (e.g. from .07 to 0.07) in Latex tables?

I have exported many Stata tables to Latex. But I later realized I need to add leading zeros before decimals (e.g. .07 to 0.07 or -.07 to -0.07) in the tables. I know how to do this in Stata, but I ...
  • 11
0 votes
0 answers
26 views

How can I remove the excess slash from middle of the table?

Hello! I'm trying to remove the excess slash as you can see attached below. I don't know how to do it and i can't even find it. I just want to maintain the slashes at both sides of the table. \...
1 vote
1 answer
28 views

How can I reply this type of alignment? And, How could I add a "constant" text to all even rows?

I would like to define an environment to have different alignments in even and odd rows, and add the equiv symbol in all even rows.
0 votes
1 answer
27 views

Visual representation of Deep Neural Network

How can I add one more identical hidden layer to the artificial neural network visualization generated by this code? Code reference: Neural Network Diagram Code: \documentclass[border=0.125cm]{...
2 votes
1 answer
24 views

NewDocumentCommand enumerate macro not working with linebreak while \newcommand does work

In the following code, I write two macros for \begin{enumerate}...\end{enumerate}. In trying to get more than one optional argument, I used the method in More than one optional argument for newcommand....
  • 583
1 vote
2 answers
25 views

Tikz embedded in postnote biblatex citation

I am trying to create a custom postnote in a citation for a project where I need to subtly highlight some citations. I would like to draw two semicircles, filled with different colors, and display ...
  • 11
1 vote
0 answers
20 views

memoir error with \stockheight under pdflatex-dev

Processing the following source... \documentclass{memoir} \begin{document} Hello. \end{document} ... with the pdflatex-dev command now gives error as shown here: This is pdfTeX, Version 3.141592653-...
  • 6,731
0 votes
0 answers
22 views

doclicense incompatibility with pdfmanagement

Package doclicense is now incompatible with the new pdfmanagement when the latter is, as I understand it, invoked automatically by the \DocumentMetadata command. And the cause seems to be that ...
  • 6,731
0 votes
0 answers
47 views

Enabling bold font with palatino [closed]

I am using Palatino and changing to bold font has not been successful. \documentclass[b5paper,12pt]{article} \usepackage[body={13cm,18cm}]{geometry} \usepackage{pxfonts} \renewcommand{\...
  • 195
-1 votes
1 answer
59 views

How to make division of polynomials with latex?

How to make division of polynomials with latex?
0 votes
0 answers
59 views

How can I draw this figure

I found this picture in a book (Ultrafiltration by M. Cheryan). I need to draw something like this. Is it possible using Latex or do I need a plot software?
  • 11
1 vote
1 answer
25 views

ConTeXt: XML processing and buffers

Knowing that buffers and macros don't play well together, I started with the Verbatim XML guide from the wiki. However manipulating the catcode table is insufficient when trying to pass xmlflush into ...
  • 163
0 votes
0 answers
18 views

qrcode failed in exam-zh class [duplicate]

MWE: \documentclass{exam-zh} \usepackage{qrcode} \begin{document} \qrcode{https://gitee.com/xkwxdyy/exam-zh} \end{document} Compile it with xelatex and it will produce something strange(at least ...
  • 571
0 votes
0 answers
15 views

Entry type for … isn't style-file defined

I'm using overleaf and I have this warning: entry type for "hadoop" isn't style-file defined entry type for "spark" isn't style-file defined Here is the citations for them: @...
  • 1
0 votes
1 answer
49 views

Specific problem with \newcommand entries [duplicate]

I am trying to write my CV. I used one of the templates, which has: Education Entry \newcommand{\EducationEntry}[4]{ \noindent \textbf{#1} \hfill % Study \colorbox{Cyan}{% ...
2 votes
2 answers
25 views

\align* inside minipage inside \align*: Argument of \align* has an extra }

My document is obviously much more complex than this, but my reproduction is simple: \documentclass{letter} \usepackage{amsmath} \begin{document} \begin{align*} stuff &= \begin{minipage}[t]{...
  • 297
4 votes
2 answers
59 views

tikz circuits: How to change color of resistor "adjustable" arrow?

I am trying to change the color of the arrow that is added to a resistor to indicate that it is adjustable. I can only seem to change the color of the resistor symbol, the wire to/from the resistor, ...
  • 165
0 votes
1 answer
20 views

How can I reduce the all lines height in \lstinputlisting

I want to reduce all lines' height (empty space between each line) in \lstinputlisting, is it possible? Original code is taken from https://tex.stackexchange.com/a/660320/127048 , only \usepackage[...
  • 904
0 votes
0 answers
37 views

Error Message: Argument of � has an extra } but I am not missing any } [duplicate]

Hello I tried compiling the following text (error location indicated with *********): \section*{Research Issues} This section identifies research problems and what caused these issues. This section ...
2 votes
1 answer
35 views

PGFPlots cube* colour in legend

I'm using a scatter plot with cube* markers. All is fine with with the plot itself, however, in the legend the cube* appears in black. Is there a way to configure the colour used by the legend? A ...
1 vote
1 answer
19 views

TeX4ht: \displaystyle in eqnarray and align environments

I am using tex4ht to convert a LaTeX document to HTML. I would like to know how to obtain a full display of equations either in the eqnarray or in the align environments. The following snippet ...
0 votes
1 answer
34 views

Latex Environment with named optional parameters

Is there a way to get a string options in \NewDocumentEnvironmentor \newenvironment ? i.e \begin{foo}[color=red,size=12pt] \end{foo} where the environment is defined as \NewDocumentEnvironment{foo}{}...
1 vote
2 answers
58 views

What's the font name of librebaskerville?

I can load the package 'librebaskerville' but I can't seem to refer to it in commands that take the name of a font. Here's a short .tex file to demonstrate: \documentclass{article} \usepackage{...
0 votes
1 answer
18 views

Overlaying a tikzpicture on beamer

I am trying to use an overlay system on a beamer slide in order to display successively several images. I start by displaying a blank box containing some text (using \itemize) then I add an associated ...
  • 389
-2 votes
0 answers
55 views

Draw circuit op-amp with current direction [closed]

Is it possible to draw this diagram in LaTex (with circuititkz) with arrows indicating the current direction at the nodes? I've been struggling with it for quite a time now.
0 votes
0 answers
11 views

Labeling and referencing a theorem color box

In the code below, I fail to cross reference to the theorem color box Exe. By doing some tests, it seems that the label takes the counter of the chapter. I also want to know what is the name of the ...
0 votes
0 answers
23 views

No Pagebreak before Chapter

I'm writing in docclass report. I'm writing a thesis which is divided up to two different topics. I'm using \part to split the topics. After the parts I use Chapter for the the titles. But before the ...
0 votes
1 answer
19 views

How to add URL link for \cvitem section

\cvitem{}{YoutubeLink1}{Workflow-YouTube} \cvitem{}{YoutubeLink2}{Editor-in-Chief} I have a cvitem section and I want to give this area a link for the YoutubeLink1 and YoutubeLink2. I have found \...
1 vote
1 answer
40 views

Identifying a line in the .bib file

I am trying to convert a very large .bib file with approximately 500 references produced by mendeley into a readable text via TexStudio. I've cleaned up all the non latin characters and & signs ...
  • 121
0 votes
5 answers
86 views

Encircle text in LaTeX

I'm wondering if there is a command which allows me to encircle text like that: It is important that the line space does not change.
0 votes
2 answers
43 views

How to shade the y>0 region of a graph

I have this graph and would like to shade the area $y\geq0$ in order to highlight it for the reader \begin{center} \begin{tikzpicture} \begin{axis}[legend pos=outer north east,legend cell ...
0 votes
1 answer
20 views

Change the space between footnote line and main text only locally

From this answer, one knows that the vertical space between the footnote line and main text can be accessed via \skip\footins. But the examples in that answer all change this value globally. Is there ...
  • 6,821
2 votes
1 answer
29 views

Choosing typeface for verb

How can I change the typeface used by \verb? I currently have this: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{fontspec} \setmainfont{Roboto Mono} \begin{...
2 votes
2 answers
59 views

How can I draw a triangular Membership function of Fuzzy logic

I’ve been trying to recreate the following image in latex. The MWE I've got so far \documentclass[conference]{IEEEtran} \usepackage{geometry} \usepackage{tikz} \usepackage{lipsum} \title{A Title} \...
  • 49
0 votes
1 answer
32 views

`\vv` is not respecting the current color [duplicate]

How to make \vv, from the esvect package, respect the current color after using \everymath Example: \documentclass[12pt, a4paper, openany]{report} \usepackage{xcolor, amsmath, esvect} \begin{document}...
  • 111
0 votes
0 answers
21 views

Package minitoc Warning: W0010 No file output.toc. NINITOCS NOT PREPARED

I'm writing a latex document and I would like to add a table of contents. I have used the following code: %%%%% MINI TABLES \dominitoc % include a mini table of contents %\dominilof % include ...
1 vote
0 answers
36 views

Text at the beginning of every page

I was wondering how can I automatically insert some predefined text at the beginning of every page ? I am not talking about some kind of header, just regular text automatically added on the first line ...
  • 111
0 votes
0 answers
49 views

Why do control characters appear when I copy sentences from a PDF file created via LaTeX?

When I drag and copy text from PDF file that was compiled by LaTeX, often the content is not fully preserved. Diacritics are separated from characters, some math symbols change into other symbols and ...
0 votes
0 answers
11 views

How to make citation number start from the first Chapter instead of table of contents?

I am writing my thesis work and I face an issue of citation numbering order. Some of my figures have citations in them which is why my citation numbering starts from List of Figures in table of ...
0 votes
1 answer
24 views

Longtlbr formatting

I am trying to make a table that will span on multiples page and I am having lots of problem fixing the formatting. I included my table for reference. 1 - My project needs to be written in french so ...
  • 1
1 vote
3 answers
61 views

Defining an Em Dash with Length Greater Than the Cabin Default

I have noticed that the length of an em dash is not always uniform, depending upon the font being used. Consider the following code which defines an em dash: \documentclass{book} \usepackage[T1]{...
  • 5,757
0 votes
1 answer
16 views

Formatting entires of ToC according to chapter/sections using titletoc/titlesec

In my book, I need my chapters to be bold-face and uppercase, my sections to be uppercase and regular, subsections to be bold and regular case and subsubsections to be italic regular case. In the text,...
0 votes
0 answers
43 views

Include PDF pages in latex

I am trying to include some pages from a PDF file in my appendices section on Latex. I tried to follow : How to include PDF file in LaTex Doc from folder location? But I am still getting errors. I ...
  • 3
2 votes
0 answers
15 views

Using mhchem, make4ht, and cleverref issues with equation rendering

This is a follow-up question to the one answered here: Issue with mhchem and fractions in make4ht and mathml. Using that same MWE, but adding in hyperref, cleverref, and a label in the equation does ...
2 votes
3 answers
133 views

tikz-cd quiver code not working

The quiver gives me the following code \[\begin{tikzcd}[ampersand replacement=\&,row sep=scriptsize] {\mathbb{Z}_2 \text{ A}} \&\& {\text{A} \\ \text{B}} \\ \\ {\mathbb{Z}_4 \...
  • 543
0 votes
0 answers
14 views

Cross-references not working [closed]

When I declare \ref{...} in overleaf, everything after the reference is replaced by white space. How do I go about resolving this? Thank you in advance. Currently, I have the following packages ...

15 30 50 per page
1
2 3 4 5
4800