# All Questions

210,956 questions
Filter by
Sorted by
Tagged with
18 views

### Indentation within a minipage, and \noindent doesn't help

I am getting an unwanted indentation within a minipage (marked with arrow in the image). How can I get rid of it? The \noindent doesn't help here. MWE: %XeLaTeX \documentclass[11pt]{scrbook} \...
19 views

### Trouble with Using Custom Theorems with Roboto Font

I am having trouble with making a custom Theorem environment using Roboto font. Basically, I want the theorem header to use \fontseries{medium} instead of \bfseries. When working with this, I have ...
12 views

### Adding spacing to each \par also affects spacing in the Index

I am trying to increase the spacing between each paragraph and that is what I did to do so: '\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} ...
60 views

### How to draw a cubic surface in tikz?

How to draw a cubic surface with tikz?
10 views

### Best package for typesetting critical edition of Greek texts: ednotes, reledpar, reledmac, or ekdosis?

I know of several packages designed for producing critical editions: ednotes, reledpar, reledmac, and, most recently, ekdosis. What are the relative strengths and weaknesses of these packages for ...
17 views

23 views

### How to add table in between two \item commands

I insert a table command between two itemized items, but the table appears at the top of the page. please help me locate this at the right place it means to be. thank you. Ardalan
13 views

### How can I fix Overfull \hbox warnings in cleanthesis?

Cleanthesis produces an overfull hbox for each chapter. (Also when compiling the included sample document.) Overfull \hbox (10.94998pt too wide) in paragraph at lines 22--22 (first chapter) I would ...
16 views

### How to get the percent sign using the latex moodle package

I'm preparing a quiz for moodle using the moodle package (+ LuaLaTeX). When I input a percentage in the usual way (i.e. 40\,\%), the LaTeX render is OK but the backslash is passed along to moodle and ...
10 views

### Alignment of apalike bibliography style with multibib

I want to use multiple bibliographies with the apalike style and multibib. This style however has the problem that the numbers are not aligned. The problem is also described in this question and an ...
17 views

### Dashed double arrow--tikzcd

I want to draw the following graph using tikzcd. How should I modify the following？ \begin{tikzcd} X\ar[Rightarrow, d] \\ Y\ar[d, bend left, "g"]\ar[d, bend right, "f"swap]\\ Z \...
18 views

### siunitx: bold font (and asterisk) do not align well in table

I am trying to make some cells bold. Some of the cells may have a trailing asterisk which should also be taken into account. I tried the recommendation in this post, but that does not seem to help ...
9 views

### Introduce “appendix title” in toc as a section in bold

When you add an appendix for a chapter using subappendixes, e.g.: \include{My_chapter} \begin{subappendices} \include{My_appendix_chapter} \end{subappendices} You can see in the TOC that each ...
37 views

### Latex for heat equation [closed]

I have a project that needs to be done in 3 hours and still have a lot of work to do with another one . Can someone help me by writing the introduction and statement of the equation from here https://...
12 views

### Acronym list, delete the last number page

When I print the list of acronym, I have the page number where the acronym appears. The problem is that also the last page is added, i.e. the page where the list of acronym starts. For example, the ...
24 views

### Create tiled background patterns

I am trying to "create tiled background patterns" according to the specifications of the "MALAYSIAN LATEX USER GROUP" (Website is here: Malysian Latex User Group). Other examples ...
31 views

### How to make numbered pages

Below is my MWE. When I use this on Overleaf however, everything come out nicely apart from having numbered pages. None of the pages are numbered, apart from the very first. How can I make all the ...
34 views

### Add a small tcolorbox in the corner of a tcolorbox

Question I am trying to replicate the following image below using tcolorbox. My main problem is achieving the following: I want to place a small boxed number in the bottom right of a few selected ...
18 views

I freshly installed the texlive-full package through synaptic package manager (Ubuntu), and I seem to have some problem with expl3. Compiling the following document returns a "Missing \begin{...
20 views

### Biblatex: How to insert the year at the end of an authortitle-ibid footnote

I am trying to set up my citation style with biblatex and biber right now and I've come across the style authortitle-ibid which gives me almost exactly what I need when using \footcite. The only thing ...
12 views

### Latex and file management: chained \include{…} and reference to active directory

For each chapter of a document I am working on I have a separate folder, and all folders are contained in a common superfolder, together with a file main.tex which should put them all together. ...
19 views

### Splitting the cells in a table

Given the codes, \begin{tabular}{@{}11@{}} what do the codes @{} and 11@{} within the command mean or imply?
17 views

### How to avoid the consecutive hyphenation in a para

i am getting the consecutive hyphen at the line end in a paragraph (more than 5 consecutive hyphen), in a two column format, I already used \doublehyphendemerits=10000, but not solved the issue. how ...
16 views

### Multiple Bibliographies with multibbl, how to with Texmaker

I want to have two seperate bibliographies in my document, one for books and one for articles. I am trying to use the multibbl package and this example. The code looks like this: test_article.tex: \...
21 views

### Error with amsthm package: ! Missing { inserted.<to be read again>T \begin{theorem} T

My file is: \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[english, hebrew]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsthm} \newtheorem{...
55 views

### Interpreting the code “newcolumntype”

\newcolumntype{Q}[1]{>{\centering\arraybackslash}p{#1}} what does [1] and p{#1} mean ?
9 views

### How to use a second bibliography with packages multibib and natbib?

Good morning, I am having trouble with the combination of multibib and natbib. I import my reference file with Bibtex, and until now, it has worked perfectly fine with natbib. However, I need to have ...
7 views

### Glossaries, exclude part (pages) from being indexed (such as list of tables)

I use glossaries, i.e. I have \usepackage[toc,nopostdot]{glossaries} and \makeglossaries in my Latex file, and a couple of definitions like \newacronym[ description={\Glsentrylong{asr}. The conversion ...
41 views

### Problem with drawing piecewise function

I want to draw the following piecewise function: I used the following codes: \begin{tikzpicture}[ declare function={ func(\x)= (\x<-0.5) * (0) + and(\x>=-0.5, \x<=0.5) * ...
82 views

### \hphantom with \footnotesize, siunitx and unicode-math

Consider the following MWE. It is supposed to print the three equations with space added after the equal signs so that the right edge of the equations (the units) are horizontally aligned. % !TeX ...
12 views

### Suppress title of apa7 document to be set as the first section

I'm currently trying to submit a manuscript in psychology. For this, I use the apa7 document class. However, the journal requires section numbering as well as "Introduction" to be the first ...
10 views

### Generating a latex table with multiple column levels using python pandas

I'm trying to create a latex table using the to_latex function from pandas but don't manage to get to a good looking table with multiple column levels. When creating a dataframe in pandas with ...
24 views

### Make the table and figure caption in one document is align to colon (:) in greater or equal second line

\documentclass{article} \usepackage{graphicx,caption} \captionsetup{ indention=1.6cm } \begin{document} \begin{figure} \centering \includegraphics[scale=0.5]{example-image} ...
12 views

### Equivalence symbol between two items [closed]

How to draw an equivalence symbol between 2 non-consecutive items in the itemize mode?
21 views

### Column width in tabularx environment

I have this table: \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \usepackage{tabularx,booktabs,newtxmath} \newcolumntype{Z}{>{\centering\arraybackslash}X} \begin{document} \...
6 views

### How to remove the notice from the header of informs template？

In the template of INFORMS, there is always a notification in the header as shown in the fig. How do I remove it by editing the class file？I have been searching for a long time and have not yet found ...
19 views

### Bug with lucida fonts in beamer

I've got a problem with math formulas in Beamer with Lucida fonts. Here is a MWE \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lucidabr} \usepackage[francais]...
6 views

### Some entrys from alphadin bibliography moved to the left

some of my bibliography entrys moved to the left in my document. Just the last two are affected the rest is still fine. Here what i have in jabref: I didn't changed any bibstyle file.. I also tryed ...
17 views

### wrapping pictures with box

\documentclass{article} \usepackage{graphicx} \usepackage{fancybox} \graphicspath{ {d:/pics/} } \begin{document} \begin{figure} \fbox{\centerline{\includegraphics[scale=0.25]{example-image-a}}} \...
169 views

### Define a macro for a vector to display differently in inline/display math mode

I'd like to define a command that defines a vector based on whether it's in display or inline math mode. I've tried this so far, but it hasn't worked: \newcommand{\ve}[1]{\ensuremath{% \mathchoice{...
16 views

### Define a title page using beamercolor environment

I want to create a title page where it splits into 20% and 80% vertically and each has a separate color. The logo should appear in the first column and located at the bottom whereas the title should ...
22 views

### Two equation labels appears in align

Question: I am writing a long equation inside align which produced two labels ((1) and (2)) actually this is only one equation. How can I label this only one label at center? MWE: \documentclass[12pt]{...
19 views

### Multiple choice question with choices in table form

I came across a multiple choice question that was written in LaTeX, but I couldn't figure out how it was done. This is what I would like to learn how to write in LaTeX. I am currently using the exam ...
20 views

### Building velocity project in VS Code [duplicate]

I am doing a LaTex document in VS Code with the extension LaTex Workshop, but when I build the pdf sometimes it delays 30 seconds, or even more, which feel like an eternity. Is it the average time or ...
35 views

### Set font for numbers in Polyglossia

\documentclass[12pt,a4paper]{article} \usepackage{fontspec} \newfontfamily\englishfont{CMU Serif} % English font \newfontfamily\thaifont[Script=Thai]{TH Sarabun New} % Thai font \usepackage{...
37 views

### Symbolic tick in a pgfplot environment

I have this following code: \begin{tikzpicture} \begin{axis}[axis lines = left, xlabel={$x$}, ylabel={$E$}, yticklabels=\empty, xticklabels=\empty, axis lines=middle, xmax=1.2, ymax=1.2, legend ...
25 views

### Boxing Piecewise Functions [duplicate]

How do you box piecewise functions like this (see attachment), regardless whether they are centered or not? Here is my LaTeX code. \documentclass{article} \usepackage{amsmath} \begin{document} \[\...
48 views

### Shading in Tikz not working in Plain Tex

Shading is not working on my Plain Tex code. I use xetex.exe -synctex=1 -interaction=nonstopmode in TexStudio. No error message or warning. However, the code works on LaTex. Could anyone help check ...