All Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
156 views

fraction equation out of the fraction line

I'm using an overleaf springer nature latex template. It can be found here: I tried many packages to get this equation to appear right without success. It appears like . If I use the Elsevier latex ...
user avatar
0 votes
1 answer
35 views

Error with `listings` and `tabularray` used together

I'm in the process of replacing tabular and array environments with tblr in some of my documents. It's already done for dozens of them, with no problem. But I hit a bump with the following MWE: \...
user avatar
  • 822
0 votes
0 answers
40 views

TexLive 2020->2022 resulted in same source code compiled differently

I just upgraded TexLive from 2020 to 2022 in my Macbook through MacTeX and the exact same source file now takes around half a page longer (it was 6 pages) when it gets compiled to PDF. Since I haven't ...
user avatar
  • 101
0 votes
2 answers
66 views

Change the font size of chapters and sections in the header

I want to change the font size of chapters and sections in the page header, so that they are different from the font size of the text. What should I do? Below my file packages and commands: \...
user avatar
  • 1
0 votes
0 answers
24 views

Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation

I have the following code for my main.tex file and it gives the error message "Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption ...
user avatar
0 votes
1 answer
29 views

Capital Appendices in TOC

I'm fairly new to latex and I am trying to prepare my thesis document by using Latex. Unfortunately, I have a problem in table of content. In TOC, "Appendices" should be capital like "...
user avatar
  • 3
0 votes
0 answers
28 views

How to save variable values into list

I want to save the content of a token into a list like this. \documentclass{article} \usepackage{etoolbox} \begin{document} \def\abc{1} \listgadd{\lista}{\abc} \def\abc{2} \listgadd{\...
user avatar
1 vote
1 answer
27 views

Colorcells and Rowcolor in spreadtab

I wonder how to add some colorcell, rowcolor and so on in this type of table \documentclass[a4paper,14pt]{extreport} \usepackage{spreadtab} \begin{document} \begin{spreadtab}{{tabular}{|c|c|c|...
user avatar
2 votes
1 answer
44 views

How to place braces below a tree in tikz using relative coordinates (as opposed to hard-coded lengths)?

I'd like to place curly braces below the branches of a tree. The example below does exactly that, but hard-coded values for the placement of the labels "Toss 1" and "Toss 2" are ...
user avatar
2 votes
2 answers
85 views

How to center-align the numbering, vertically, in the enumerate environment?

Imagine you have an enumerate environment and one of the items spans many lines. Normally, the numbering (e.g., 1., 2., 3., ...) is aligned with the top of the item, i.e., the first line. How can I ...
user avatar
0 votes
0 answers
31 views

overleaf added several letter "e" in inline math mode [closed]

in overleaf sigconf document class, "𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒" was added in the front of the first inline mathmode symbol. There is no error message with this. Does anyone know what it is ...
user avatar
  • 1
0 votes
0 answers
18 views

Subfiles with twocolumn book does not display two columns

I want to have tikz-figures in a two-column document with a subfile structure but I am running in circles. When I throw in multicols I have two columns but no tikz-figures and when I throw out ...
user avatar
4 votes
4 answers
1k views

An elegant way to write long equations in LaTex?

As mentioned in the title: I would like to know if there is an elegant way to plot long mathematical expressions in a latex document in a very "coherent" way. I have no specifically idea ...
user avatar
  • 71
0 votes
0 answers
20 views

Empy lines at the end of a column

I get empty lines at the end of a column like in the picture. I use save-space commands are as follows: \usepackage[all=normal, floats, bibnotes, wordspacing, charwidths, indent, lists]{savetrees} \...
user avatar
  • 7
1 vote
3 answers
61 views
+50

Create display version of array environment

I find array environment pretty useful for aligning some blocks of equations, however it has a couple of issues You have to put it inside another math environment All math (especially fractions) seem ...
user avatar
  • 1,936
1 vote
2 answers
33 views

Textsymbol in mathmode

I need to be able to use unicode symbol #643 (or something very similar) in mathmode. It looks like a small integral sign and is contained as \textesh in the tipa package, but I can't use it in ...
user avatar
1 vote
2 answers
49 views

Dot spaces in Contents and Index

First an MWE and its output: \documentclass[a4paper, 10pt]{book} \usepackage{hyperref} \usepackage{imakeidx} \makeindex \newcommand{\AddIndexLetterToTOC}[1]{\textbf{#1}\phantomsection\...
user avatar
  • 2,791
1 vote
0 answers
27 views

Is whitespace allowed between \section and \index or \label?

Sometimes I need to add a label or index immediately after a new chapter/section/subsection, etc., and the code may look like: \section{TITLE} \index{INDEX} \label{LABEL} This works fine in my ...
user avatar
  • 4,879
5 votes
3 answers
135 views

Splitting the \jobname by hyphens in expl3 syntax

For the purpose of learning the new expl3 syntax I have decided to rewrite my varsfromjobname package that separates the jobname into diffent tokens. I am struggling however with the new syntax. So ...
user avatar
0 votes
1 answer
27 views

Inconsistent line breaking in list environment

The following test code \documentclass[8pt]{article} \usepackage{extsizes} \usepackage{setspace} \setlength{\parindent}{0pt} \setstretch{0.75} \begin{document} \begin{itemize} \item[] ...
user avatar
  • 771
1 vote
0 answers
38 views

Where can I find pf Document class (pf.cls)?

I have a .tex file which specifies the document class has pf. I searched but couldn't find the .cls file related to this pf class. Does anyone know where can I find it?
user avatar
  • 11
0 votes
1 answer
11 views

Explicitly set citation numbers for some references in natbib

I am writing a review paper that discusses a set of core references and additionally cites other supporting references. Since I want to add citation numbers to plots created outside of latex and ...
user avatar
  • 257
0 votes
1 answer
45 views

How to indent notes in `tabularray`

I use the tabularray package to make a table, into which I insert a note, but it shows with insuitable indentation. How to change the indentation of the note to make it align with the colon? \...
user avatar
  • 449
0 votes
0 answers
30 views

A pdf output with exact output dimensions

I want to create a .jpg picture from .pdf with exactly these real dimensions to include this .jpg into my Mobile Phone Samsung Flip Z3 as specified here into my Android Studio Application. Can someone ...
user avatar
  • 1,838
1 vote
1 answer
19 views

tex4ht does not see listings style using \lstinputlisting[style=style_name]{file}

I am using the code from how to make tex4ht work with listings styles for only basic decoration? (frame and background coloring)? thanks to Michal.h2 which works great except that the style defined ...
user avatar
  • 18.1k
0 votes
1 answer
14 views

How to make sublistings with minted package?

I use the minted package for creating highlighted code listings in my text, and I have a need to display several snippets under one float. Firstly, I've tried to use the \subcaptionbox command from ...
user avatar
0 votes
0 answers
55 views

fncychap does not work [closed]

I am trying to use \usepackage[Lenny]{fncychap} to get Lenny look on my chapter headings. However, when I try to use the package, the look does not apply to my document. Code: \documentclass[table,...
user avatar
  • 1
0 votes
2 answers
23 views

Adjusting the position of a box with tcolorbox

I have already asked a similar question but I think that my request was unclear. I have created a box using tcolorbox and I want to adjust it in order to fit the length of my "normal" text (...
user avatar
  • 71
0 votes
1 answer
41 views

TikZ: Why is a scalebox-ed picture not exactly centered even with the centering option?

My figure is somehow centered, but not exactly centered. Why? A more general question would be: If I have a TikZ picture with already-computed coordinates, that I can't easily re-compute, how can I ...
user avatar
0 votes
1 answer
34 views

Misplacement of x in a bar chart with legend

I recently started using latex for my bachelor thesis and I am unable to resolve the misplacement of the symbolic x coords. Also I would like to have a consistent spacing between the different bars. I ...
user avatar
2 votes
1 answer
41 views

3D Matrix as Mark To market Cube for finance in TikzPicture

this isn't my first language), I am just starting out with the tikzpicture environment. Can anyone show me a better method to implement this I would also like to have the smaller arrow pointer and ...
user avatar
0 votes
0 answers
16 views

Is it possible to customize the colors of console, etc of WinEdt 11? [duplicate]

Is it possible to customize the colors of console, options interface, autocompletion list, etc. in WinEdt 11?
user avatar
  • 3,539
0 votes
0 answers
12 views

How to add new images to the existing ones in WinEdt for Menus? [closed]

How to add new images to the existing ones in WinEdt for Menus?
user avatar
  • 3,539
0 votes
0 answers
35 views

Wrong eps to pdf conversion under beamer using pstools

When converting, under beamer documentclass, an eps file to a pdf file using \fragfig command from the pstool package, the generated pdf file takes the whole beamer background and its size is ...
user avatar
  • 678
2 votes
1 answer
35 views

Correct way to add index letters to TOC

First a MWS and its output are as follows. \documentclass[a4paper, 10pt]{book} \usepackage{hyperref} \usepackage{imakeidx} \makeindex \usepackage{filecontents} \begin{filecontents}{\jobname.mst} ...
user avatar
  • 2,791
0 votes
3 answers
55 views

elementary school-like math operation

I'd like to write an equation formatted like this Term can be writted with siunitx package, but to align them like this? \flalign{} doesn't do exactly what I ask. Any idea?
user avatar
0 votes
0 answers
25 views

Where does LuaTeX break my trivlist into pages

I have some verbatim text Line 1 Line 2 ... which is basically turned into a trivlist. \trivlist \item \hbox{\MyPrefix Line 1} \hbox{\MyPrefix Line 2} \hbox{...} \endtrivlist I want \MyPrefix to be ...
user avatar
0 votes
1 answer
18 views

How to move "year" to the end of the entry in bibliography?

I use authordate style of biblatex-chicago package for two groups of sources, the Primary Sources and Secondary Sources. The main problem has been solved (see Remove the repeated entry in the ...
user avatar
0 votes
0 answers
13 views

How to make text at center of column in a table for CV

I have started writing a CV in latex. I have taken a template from Overleaf and started modifying it. I want the title in CV as follows: I have tried the following code: \newcommand*{\setname}[2]{\...
user avatar
7 votes
3 answers
1k views

How to produce two asterisks, asterism βˆ—, ⁑, ⁂

I want to create tags for equations as sequential asterisks a+b=c (βˆ—) x+y=z (⁑) i+j=k ...
user avatar
  • 1,936
1 vote
0 answers
54 views

List all packages, with short description, installed with Texlive

I need to build a plain text file with a list of all LaTeX packages with a short description, e.g. a0poster: Support for designing posters on large paper. a2ac: AFM to AFM plus Composites. a2ping: ...
user avatar
0 votes
1 answer
51 views

Why \bigcup appears too small

In \begin{align} or \[\], \bigcup or bigwedge appear in normal size. However, in regular math-mode, they appear the same size as cup or wedge. The sample code is: $X\in V_{\alpha}=\underset{\beta<\...
user avatar
  • 462
0 votes
0 answers
37 views

use bibjson with latex

I'm trying to use bibjson for a LaTeX document. Here are my files: ecm.tex \documentclass{article} \begin{document} Hello \cite{foo_ref}. \bibliographystyle{unsrtnat} \bibliography{ecm} \...
user avatar
6 votes
3 answers
388 views

How to use \catcode in a command?

I would like to define the character @ as follows: \def @#1#2{\catcode`#1=13\def #1{#2}} so that when I type @xy x, TeX typesets y. However, when I run this, I get an error. I have seen other answers ...
user avatar
  • 175
0 votes
0 answers
14 views

Issue with Beamer \pause and adding figure in frametitle

In my beamer presentations I have a logo on the top right of all my slides with the following code \addtobeamertemplate{frametitle}{}{% \begin{textblock*}{3cm}(.8\textwidth,-0.6cm) \...
user avatar
  • 255
0 votes
1 answer
309 views

miktex fails with a bizarre error after update on windows 10

I am running miktex and using texStudio. This is a file that used to compile fine. I updated my miktex and this is what I get now. Thank you in advance for any responses. 2022-05-21 12:03:12,774-0400 ...
user avatar
  • 101
2 votes
1 answer
46 views

Nonlinear transformation applied on decorations along path with a custom pic

I am having a problem to apply a single nonlinear transformation to a path decorated with custom pics. A minimal example follows: \documentclass[margin=5pt]{standalone} \usepackage{tikz} \...
user avatar
1 vote
3 answers
42 views

Figure with two graphics and one matrix

I want to recreate this figure in latex: https://developer.nvidia.com/discover/convolution I dont quite managed to algin the matrix and the images. This is how I tried it: \begin{figure} \...
user avatar
  • 193
3 votes
3 answers
135 views

Marking angles in a 3D trigonometric diagram

I am trying to draw the diagram below using TikZ. My attempt thus far is as follows. My attempt seems convoluted as it is a mix of 2D and 3D coordinates. I am trying to label and mark the angles of ...
user avatar
1 vote
1 answer
27 views

Use \input with siunitx's \num

In my implementation of an automatic word count (adapted from this solution), only the count and nothing else is output to a text file, to be inserted into the tex document with \input. This works ...
user avatar
  • 353

15 30 50 per page
1 2
3
4 5
…
4691