# All Questions

167,566 questions
0answers
4 views

### MiKTeX update failed, now pdflatex.exe not working and files don't compile

I have the new MiKTeX with the new Console, running Admin mode. Clicked 'Check for updates' and then 'Update now', but the update process crashed halfway, with the following error message (from the ...
2answers
10 views

### Why gives biblatex warning when it properly loads Hungarian?

As of biblatex v3.12, it supports the Hungarian language, but I get a warning when I try to run pdflatex. I have the files mwe.tex: \UseRawInputEncoding % https://tex.stackexchange.com/a/446653/...
1answer
9 views

### problem with hyphenation with diacritic XeLaTex

I am type-setting with XeLaTeX using polyglossia with Czech. I encountered a problem with hyphenation the word "výstupní" at the endline is typesetted as "vy-/'stupní" but correct should be "vý-/...
0answers
10 views

### Set date counter using advdate package

I searched on mathematical operations, and found several interesing results, such as sequence, calculations, and future, among many others. I am interested in an answer similar to this one, but ...
0answers
23 views

### Referencing and saving Stack Exchange Questions and Answers

When I find an answer to a question I would like to be able to save the text of the question and answer(s) and also the code in text format so that I can study and modify it for my own use. Is there a ...
1answer
27 views

### Client-Server Diagram with Tikz

How i get this diagram with Tikz?
0answers
8 views

### Problem to use Nakula package

We are writing a manuscript at journal (Language Resource Evaluation). Unfortunately, we can not insert Hindi text into it. We have found the the errors after using the Nakula package to insert the ...
2answers
18 views

### Define a new align environment with custom numeration

I am writting a report and I have multiple systems of equations. I want to avoid have too big numbers (Equation 4.200 for example) and I dont want to link the numbering to the chapter or the section. ...
0answers
14 views

### What is a direct way of specifying a font family in XeLatex and how do you know what the “name” of the family is

This question replaces my previous, unclear, question. I want to use OTF fonts in XeLatex. To be concrete, here, for example, are some of the Linux Libertine fonts/fontfamilies available on my ...
0answers
30 views

### How to escape “->” (ASCII hyphen and greater than sign) in Latex [duplicate]

I have been trying to find a way to escape the "-" and ">" characters. I have looked at the \verbatim{} but this creates a new paragraph. As I have seen in other posts, my greater than sign shows up ...
1answer
31 views

### KOMAscript gives error when using parenthesis within options

Coming up from my previous question How to use equal sign inside class option with pgfopts I switched the base class from article to scrartcl and ran into a compile error. l.451 \...
0answers
21 views

### ConTeXt: Define fonts with additional non-standard styles, alternatives and sizes

How do I define fonts with additional non-standard styles, alternatives and sizes? For example, these fonts: Cormorant[1][2] Styles: Cormorant, Garamond, Infant, SC, Unicase, Upright Alternatives: ...
1answer
16 views

### Send a particular figure to the back

I am writing a double-columned article. I am having a problem that one particular figure covers some of the text above and another figure across the column. See following picture: I did a lot of ...
1answer
31 views

### Label blocks inlcuding section number

I want to add section number when referencing blocks. MWE is as follows: \documentclass[serif,12pt,xcolor=dvipsnames]{beamer} \usetheme{Madrid} \usepackage{lipsum} \begin{document} \begin{frame}{...
1answer
26 views

### How to use equal sign inside class option with pgfopts [duplicate]

I've created a custom class with key-value options using pgfopts. So far this is working fine. Now I would like to create a key which can take a random string including equal sign and comma. The ...
0answers
23 views

### Axis label is not displayed and adding labels to stacked bar chart

I have made this stacked bar chart but I can't get my x-axis label to be shown even though I have added them in the codes. Also, can anyone tell me how can I add labels to my stacked bar chart like in ...
1answer
31 views

### showlabels problems with subequations

I would like to resume the post on the \usepackage{showlabels} for a moment working on some things, I found this code very handy, but I saw that when I activate the \usepackage{showlabels}, from ...
3answers
33 views

### Strange behaviour using center, tcolorbox, listings and enumerate

I have a problem compiling the following minimal example: \documentclass{article} \usepackage{listings} \usepackage{tcolorbox} \begin{document} \begin{center} \begin{tcolorbox} \begin{...
2answers
40 views

### Perspectives in 3D graphics with tikz: practical application

Objective Below is a plot rendered in Mathematica. The goal is to reproduce this figure using tikz. After perusing many useful posts (such as Tikz: drawing in perspective), the solution is elusive. ...
0answers
30 views

### Vertical aligment in complex table

I am trying to create a table like this one here: The problem I have is that it requires a lot of finite tuning for each cell to be centered, and I'm planning to add more rows for different kanji ...
0answers
40 views

### Convert MathML to LaTeX

Here is an example: Input: <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi mathcolor="#FF0000">y</mi> <mo mathcolor="#00FF00">&#x2212;</mo> <msub> ...
0answers
12 views

### Biber: accented character in bib file, Can't decode ill-formed UTF-8 octet sequence [duplicate]

I'm using MikTeX 2.9 on Windows, biblatex v3.12 and biber 2.12. The following MWE gives the error Data file 'bibliography.bib' cannot be read in encoding 'utf8': Can't decode ill-formed UTF-8 octet ...
2answers
44 views

### How to draw 3 components diagram?

I would like to draw the following figure in LaTeX, but I am unable to get any satisfying result with the packages tikz, smartidagram or even graphicx. I am grateful for any tip and suggestion. ...
1answer
33 views

### List of Figures & Tables - how to move caption label into caption itself

I'm using the article document class (as a base) and the caption package. I essentially need to change my LoF format from the default List of Figures 1 Multiline caption multiline caption multiline ...
0answers
15 views

### Recreating a specific theorem style

I would like to be able to recreate the following theorem style, where the main body of a theorem/proof/definition etc. is indented by a variable amount. the red vertical lines represent the page ...
0answers
30 views

### Unable to use minted [on hold]

I have solved the issue by myself. I deleted and uninstalled everything relating to Python, and then restarted the process, and used \usepackage[outputdir=build]{minted} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
0answers
22 views

### Single-pixel black line along color overlap in TikZ

I am trying to draw a thick diagonal line across a square divided into two colors on its diagonal. It is subtle in the PNG below, but if you compile the MWE and zoom in, you will see a single-pixel ...
0answers
13 views

### Converting Titlesec/toc to pure KOMA-script

I'm trying to create my own template using a mishmash of copy-pasted, then modified code. I'm hoping that those of you more knowledgeable than me with LaTeX/titlesec/KOMA-script (i.e. most of you) ...
1answer
17 views

### How to typeset path from vertex to vertex in math mode?

I'd like to typeset a path from a vertex to another vertex similar to this: The examples I've found either use TikZ or does not look right. Is there a way to typeset a path identically to how it's ...
1answer
128 views

### Skip a Level in LaTex enumitem

I have a 3-level list with the levels formatted as follows: A. 1. (a) I would like to skip a level at one point, so that I have the following: A. 1. (a) (b) B. (...
0answers
8 views

### Beamer presentation: two versions with different text [duplicate]

I would like to create a beamer latex presentation in two different versions: one for the actual presentation (very minimal, to not distract the audience) and another more exhaustive. I want the ...
2answers
8 views

### Problem with the spacing of the biblography references

I don't this this is correct: ]1 The word spacing for the first entries seems wrong, the first in particular. Here's the MWE: \documentclass[a4paper,11pt]{article} \usepackage{natbib} \bibpunct[,...
1answer
14 views

### Sumatra Inverse Search Open new Window in Sublime

when I perform an inverse search in Sumatra on a pdf (with the corresponding tex file open in SublimeText3) the program open a new window in Sublime instead showing it directly in the one already open....
1answer
30 views

### Biblatex: brackets and no bracket

I would like to know whether it is possible with biblatex and pdflatex to automatically select the in-text look of the \cite command, with the author-year style. For instance, I would like citations ...
0answers
4 views

### tabbing two or one column depending on content length

I have names (random data from outside source), that I want to list in two columns. My problem is, that some of the names are too long to fit in one column, so they should span both columns (they will ...
0answers
36 views

### Package installed with MiKTex Console but Texmaker .sty not found

I install 'physics.sty' through MiKTex but when I compile in Texmaker it says 'physics.sty' not found. I try refresh filename database but it dose not work. What shall I do?
1answer
25 views

### Network Communication Diagram Help

I tried using msc package but it suffers from many issues. This is why I decided to draw it like the following. My code: %!TEX TS-program = pdflatex \documentclass[border=1mm,tikz]{standalone} ...
0answers
45 views

### Why is LuaLaTeX not picking up small caps glyphs?

I have a font, whose font table is as shown in the image. However, when I compile a basic document with LuaLaTeX, the text appears as lower case, though small caps is specified. I understand, from ...
1answer
21 views

### Attaching a node to a table cell

I use the following code to draw a table, with a red rectangle around a cell; and a text referring to this cell. But this code neither give me a control of the slide on which the rectangle is ...
3answers
226 views

### A macro that draws a half-disk for use in mathmode

I'd like to define macros to be able to use each of the following six shapes as subscripts in math mode. I'd try to draw them using tikz, but I don't know if I could use those as subscripts.
1answer
27 views

### Strange exit code for https://tex.stackexchange.com/a/393239

I'm trying to compile the example from https://tex.stackexchange.com/a/393239 with pdflatex. I get exit code 1, which suggests the compilation did not succeed, but texstudio does not show any error. ...
1answer
33 views

### How to plot cumulative frequency from a raw data file?

I have a raw data file that is simulated as follows. \begin{filecontents*}{raw.data} 0-2 3 2-4 4 4-6 8 6-8 20 8-10 20 10-12 15 12-14 14 14-16 ...
1answer
19 views

### Cancel a term using tikzmark package

Recently, @marmot in Need help to create a more flexible \cancel command that works inside an align environment suggested the use of the \tikzmarknode command of the last version (1.6) of the tikzmark ...
2answers
23 views

### how to create a multirow table?

I need to create a multi-row table; I have two rows only in the third column: \documentclass{article} \usepackage{multirow} \begin{document} \begin{table} \centering \caption{Example LaTeX Table ...
2answers
26 views

### How to defined a pgf function by the list of its argument/images

I would like to define a function with pgf by the list of its arguments/images. Let me give an example. Let $E=\{1,2,3,4,5,6,7,9\}$ (in the cases I am interested in, it is always the firsts integers)...
0answers
30 views

### How can I avoid this space in math mode, while using microtype, titlesec and lsstyle?

When I'm compiling the following minimal working example, I get an upleasant space in the "math mode" mode: \documentclass{article} \usepackage[letterspace=400]{microtype} \usepackage{titlesec} \...
1answer
27 views

### Split string variable by spaces

I am updating a custom latex class but I am a newbie with Latex and I need to parse a command like that \author{First Middle Last} into a new one \author{Last}{First Middle}. I cannot provide the \...
2answers
20 views

### add prefix to a harvard-style citation call-out, as in “(e.g. Abe et al., 1999)”

The iucr document class, prescribed for IUCr journals, includes the harvard citation management package. How can I change \cite{Abe99} so that "Abe et al., 1999" is preceded by "e.g.", within the ...
1answer
14 views

### How to remove line numbering when using copernicus.cls

The copernicus.cls style file adds line numbering to the manuscript. I would to remove it so I can convert the pdf to word more easily (and thus share with some co-authors), however I can't seem to ...
1answer
24 views

### Protecting the contents of an image from enclosing tikz style specifications

Consider an image created by the following fig.tex: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[thick,solid,->] (0,0) -- (1,0); \draw[thick,...

15 30 50 per page