# All Questions

210,696 questions
Filter by
Sorted by
Tagged with
13 views

### [ukrainian,russian]babel + amsmath redefinition command issue

While typesetting following document error !LaTeX Error: Command \sh already defined occur. \documentclass{article} \usepackage[T2A,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,...
12 views

### How to draw a recurrent or a feedback neural network with tikz in Latex?

I am writing my thesis. I am facing problem in drawing recurrent neural networks with Tikz in latex, one with a hidden layer and another without a hidden layer as shown in the attached image. I ...
16 views

### LaTeX compiller and editor interaction

When pdflatex finds an error it stops and asks for a user reply. It I press "e" the editor should open the file at the place of the error. However, I use a different (nonstandard for LaTeX) ...
14 views

### Generative book cover

I wonder if it is possible to use LaTeX tools to generate a book cover inspired by Faber Finds project. http://blog.fabric.ch/index.php?/archives/62-Faber-Finds-generative-book-covers.html The ...
9 views

### Custom added TOC item does not locate to proper page

I am using \addcontentsline in a custom command to add the term in the table of contents. Commonly, when I click on an item of TOC, it should jump to the page where the pdf viewer has the referred ...
25 views

### Evaluating a result in \foreach

I'm trying to animate total reflection.. so I need to evaluate the second angle inside the \foreach loop, I tried \pgfmathparse{asin(1.33*sin(deg(\th))}, but I got the error !missing number, treated ...
28 views

### How can I add some line numbers of emacs into pdf created by latex

Is it possible to print Line Number in emacs to the Latex pdf for lines that I prefer? If it is easy, I want to use those numbers with M-g M-g (goto-line command) I asked the same question here, I am ...
17 views

### Find fontspec name for font lmr and increase its size in select portions of document

On my mac running OSX 11.0.1 and TeX Live 2020, I'm trying to find the fontspec-name for the default font used by latex so that I can increase the font size in some locations of my document. By using ...
21 views

### Problem regarding chapter design

I have made the following design for the chapters of my bachelor thesis: %--- CHAPTERS --- \usepackage[margin=1.5cm,a5paper]{geometry} \usepackage[explicit]{titlesec} \usepackage{titletoc} \usepackage{...
14 views

### Cayley Table Error Message [duplicate]

I am trying to make a simple Cayley table for Z_5. Here's my attempt: \[ \setlength{\extrarowheight}{3pt} \begin{array}{l|*{5}{l}} \oplus & [0] & [1] & [2] & [3] & [...
58 views

### TeXstudio - MiKTeX compile error

I have an issue with MiKTeX and TeXstudio which won't compile anything. I am using overleaf but since my project got bigger and compiles very slow and often not at all I tried to switch to my computer....
13 views

### Figure caption line numbers with achemso package

I have written an article for a journal of the American Chemical Society using the package achemso (Texlive 2020). After the submission I have been asked to supply also the pdf file with the line ...
29 views

### Iterating over two lists of text elements (or a list of pairs)

Let's assume I have two lists of text elements - L1,L2,L3,...,Ln and R1,R2,R3,...Rn - or a list of pairs - (L1,R1),(L2,R2),(L3,R3),...,(Ln,Rn). I want to iterate over them in order to produce an ...
35 views

### Topographic Maps to use for Mountaineering Guide Book?

Do you know how to create topographic maps to be included in LaTex books? Alternatively, where can I get topographic maps to be used in a book? I would like to write a small backcountry skiing (...
16 views

### How to automatically index acronyms under a different index entry?

I would like to use scribal abbreviations of the works of Aristotle (e. g. NE or EE), but the author (Aristotle), who may not specifically named or cited, should automatically appear in the Index of ...
17 views

Is it possible to add the beamer "navigation symbols" to the Metropolis theme? By which I mean these: I know how to remove the symbols from a presentation, but not how to add them to a ...
22 views

### tikz - draw date-value pairs from csv file

I wish to draw date-value graph from csv file. below example draw it as a number but not date. \documentclass{standalone} \usepackage{pgfplots} \usepackage{filecontents} \begin{filecontents*}{data.csv}...
54 views

### Forbid latex to split a sentence with a float

My publisher recommends that my text is not split by floats. More precisely, a sentence should end before the float and a new sentence should start after the float. The float is allowed to be moved ...
16 views

### Simple box in beamer

I'm looking for a beamer theme with a simple box around each frame. Just a coloured rectangle, really. I tried to frame each slide myself with tcolorbox, but I can only make it start below the frame ...
37 views

### Layout a catalogue of exam questions in LaTeX

Using LaTeX I want to layout a catalogue of exam question with the following requirements: All cell contents should be centered vertically Question and answer cells should have their text left-...
17 views

### TeXnicCenter not working with Acrobat Reader

Even after updating to R20 in the PDF section, TeXnicCenter is not opening Acrobat Reader. I'm using Adobe Acrobat Reader DC version 2020.013.20074. The old trick does not seem to work.
59 views

### Table cannot be contracted [duplicate]

I read all the contents but still have problem with diminishing the table width. tried all the solutions they do not work or most of them same results. This should not be closed. My code is different ...
55 views

### Calculating moon phase for LaTeX calendar

How can I calculate the moon phase for LaTeX calendar? My start point is D.E.Knuth's algorithm to calculate Easter is applied here https://texample.net/tikz/examples/birthday-calendar/ The number E is ...
23 views

### csquotes and foreignlanguages: setting the outer language for quotation marks

The package csquotes defines the quotation marks from the quoted (=inner) language, not from the environning language. How can one set the outer language for defining the quotation marks of \...
21 views

### First page of CV not visible in the output of my LaTeX document

For some reason, the first page of my CV created with LaTeX is not visible. I can only see the text starting from "Extracurricular Activities". Could someone please tell me what is wrong ...
25 views

### Vertical alignment instructions are reversed with tabular

According to Overleaf documentation for tables, I have to use m{}, p{} or b{} to vertically align my text, but for some unknown reason, in a three-column test table, the instruction in the first ...
40 views

### math font pixelated for concmath fonts [duplicate]

I am using the concmath package (ultimately I only need the concrete font in the math environments but lets do it globally for now). My issue is: In the math environment I get a pixelated font. See ...
56 views

### Is it possible to make texnegar work with arabic poems in LuaLaTeX?

I stumbled upon texnegar for resolving kashida issues, and wonder if it is possible to use it to write poems in Arabic either using ArabLuaTeX or any other solutions such as bidipoem. Also, I don't ...
69 views

### Check with if and usage of section*

I struggle with the syntax of the macros. Basically I want to check if I should use \section or the starred section \section* depending on the parameter. \documentclass{article} \newcommand\mySection[...
14 views

In my memoir document, I have a preface, which is defined as an unnumbered chapter, that contains a brief bibliography but I do not want that bibliography to show up in the table of contents. When ...
23 views

### How does one rotate an entire metapost figure?

I have a metapost figure that I generated using map data and I would like to rotate the whole image by a small number of degrees to make the major lines parallel to the bottom of the screen. Is there ...
28 views

### biblatex: Change formatting of back references

When using back references, biblatex-chicago formats bibliography entries as "author, year, title. (Cited on page x)." Given that the back reference follows a period, it makes no sense to ...
13 views

### Can't change the title of the endnote section

I'm using the enotez package in order to put my footnotes at the end of my documents. When setting the document langage to French, the notes section's name change to “Remarques”, and I would like to ...
19 views

### Can't get x coord trafo to use previously used x values

I would like to replicate an Arrhenius plot: it's a semi-log plot presenting something as a function of 1000/T (T being the temperature in Kelvin). This is not very convenient for the reader, so an ...
19 views

### Caption width in xltabular environment

I am creating a Table as follows: \usepackage{xltabular} \begin{document} \begin{xltabular}[l]{\textwidth}{X | X | X | X} \caption{Here is a long text that does not break and exceeds the page ...
31 views

### Garbled text with ean13isbn — what gives?

Here's an MWE: \documentclass[a4paper]{article} \usepackage{ean13isbn} \usepackage{xcolor} \begin{document} \EANisbn[ISBN=978-80-7340-097-2] \end{document} Below is what I get with both xelatex and ...
13 views

By default, the bibliography entry produced by biblatex in the table of contents of my memoir document is aligned with the chapter title. MWE: \documentclass{memoir} \usepackage{filecontents} \...
31 views

### Underline text with === (SETEX style)

I'm trying to recreate the typewriter look. How to make \underline{sometext} work like SETEX-style section marker? The intended use is with monospaced/typewriter fonts for lines with plenty of space ...
23 views

### Biblatex with LatexBangla

I have a document (Texstudio in OSX) written using the LatexBangla package (XeLaTex system). But I am unable incorporate a bibliography in English written using biblatex (biber). The minimal code is ...
22 views

### Problem with my tabular

I am having troubles with this table. As you can see, the table is not closed and I would like for the title of my other two columns to be centered both vertically and horizontally with the first. Any ...
24 views

### Can't change place of footer and header page numbers [duplicate]

I'm using the command \pagestype{myheadings} to make sure that the page header contains nothing else that the page number. However, I can't manage to make the page number of the first page of chapter ...
28 views

### Customize text of cross reference with values of multiple counters

I'm looking for a way to make cross reference, in which the text of hyperlink include several counters in a customized format, as following picture: The counter theorem are defined as follow: \...
28 views

### Set Table's Second Column Width to be Dynamic based on Page Width

I'm trying to set up a table environment where it takes up the remaining width of the page. I need it to be dynamic as it will be sent to print on both A4 and Letter sized paper. I have a placeholder (...
59 views

### Drawing cylinder 3d (inside each other)

I'm trying to graph the same figure using latex, Any idea where to start? Update, I tried the following code .. it is not near what I want \documentclass[border=10pt,tikz]{standalone} \usepackage{...
74 views

### How to draw a Bicuspid curve using Latex?

Can anyone help me how to draw a Bicuspid curve using Latex? Thanks a lot.
28 views

### Small size words while contraction of the table to be fitted to the page [duplicate]

Regarding this code my table is fit to the page but the size of words are diminished. What should I do? \begin{table}[H] \centering \caption{Printing parameters} \resizebox{\columnwidth}{!}...
20 views

### Change font size in xltabular

I am creating a table as follows: \usepackage{xltabular} \begin{document} \begin{xltabular}[l]{\textwidth}{X | X | X | X} \caption{Table 1} \label{Table 1} Text 1 & Text 2 & Text ...
28 views

### Adding keyword to a listing that matches exact instances [duplicate]

I want to add more keywords to a listing, however, I only want to match the exact instances of that new keyword, as the keyword sometimes happened to occur as part of normal words and it gets colored ...