1
vote
0answers
11 views

Forcing subfigure caption to right-middle of figure

I want to plot say two figures with their respective sub captions on right-middle side of the figure. Any help?
6
votes
1answer
42 views

Penalty-enhanced approach to float placement in LaTeX3

This question is quite related to Penalty-enhanced approach to float placement, but here I am focusing on the situation for LaTeX3. The LaTeX2e float placement algorithm does not look backward ...
1
vote
1answer
53 views

A question about latex formatting

I am authoring a report that runs into hundreds of pages. In one particular chapter, I have a large number of tables and figures. I use the setting [htb] for both the tables and the figures, so that ...
1
vote
1answer
25 views

Labeling an equation without making it center aligned [on hold]

I know that we can use the \tag{label} command to label an equation. However using this makes an equation center aligned. How do I keep the equation left aligned and still have a tag for the equation? ...
2
votes
0answers
11 views

How to achieve Glyph Level Kerning in Xelatex

In the image below: The legacy font for Kannada is rendering correctly. Indic fonts have poor lookup table which makes rendering incorrect. So is there a possibility to automatically kern these by ...
6
votes
1answer
32 views

Penalty-enhanced approach to float placement

Background I have seen Increase badness based on distance between float and reference which was closed as a duplicate of our generic How to influence the position of float environments like figure ...
1
vote
1answer
41 views

Error “Undefined control sequence” when using [remember picture, overlay]

I am using two tikzpicture inside another tikzpicture. I want to draw a arrow from one picture to the other. For that I used [remember picture, overlay] property as shown in the code below. New Code ...
1
vote
0answers
26 views

Install make4ht with MiKTeX

I am trying to install make4ht on a system running MiKTex. The recommended instructions ...
1
vote
0answers
27 views

Picture format eps for LaTeX

I would like to create pictures in (.eps) format in order to use it with LaTeX, but I do not know which software can be used to create picture in (.eps) format.
3
votes
1answer
43 views

Conditional Widths in Tikz

I'm trying to make a set of two functions to format quotes within a tikz callout on opposite sides of the page. I'd like to cap the width of the callout at 3in, but my ifthenelse statement is not ...
1
vote
0answers
32 views

Detect unused images in the tex folder

I have a big/old tex document. I usually copy the figures in the folder figure that is close to the .tex file. Over time I copied lots of images/figures in this folder and now some of them are not ...
2
votes
2answers
45 views

Endnotes in plain TeX

Are there macros available for creating endnotes in Plain TeX? I am sure I can write these myself but would prefer to free ride on someone else's effort.
1
vote
1answer
16 views

Tabulate text within caption

I would like to tabulate text within a caption. See below what I obtain with my code: \begin{figure}[htbp] \centering \includegraphics[width=6in]{topfigure.png} ...
2
votes
1answer
27 views

Beamer: problem with redefining the frames

I have some trouble with beamer: I start with a simple example: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{default} \begin{document} \begin{frame} first frame \end{frame} ...
4
votes
2answers
56 views

Nested enumeration with enumitem package

I'm having trouble enumerating with the enumitem package. While the command \item produces the enumeration, I cannot seem to do nasty enumeration. For example: 1. ..... i. ii. iii. etc. I ...
3
votes
0answers
26 views

LaTeX to HTML using htlatex - Background problem

I've been trying to highlight Python code and convert it to HTML. For highlighting I used the minted package since it provided a few styles that I was looking for and I used htlatex for HTML ...
2
votes
1answer
29 views

operatorname and mathbin spacing

It seems like operators (e.g. \sin) don't mix nicely with binary operations (e.g. \circ). An example: \documentclass{article} \usepackage{amsmath} \begin{document} $\sin \circ f$ $\mathrm{sin} ...
2
votes
0answers
32 views

! Illegal parameter number in definition of \NewValue

Everything works fine untill I added the following URL refernce to my referneces.bib. The url refernce is output but I am getting this error ! Illegal parameter number in definition of \NewValue. in ...
3
votes
1answer
71 views

Select first available font XeTeX

How to select first available font from the list of suitable fonts? Currently I use \setmainfont{Liberation Serif} command in Ubuntu and \setmainfont{Times New Roman} in Windows environment. I would ...
0
votes
0answers
13 views

Can I use a different field than keywords to filter bibliographic entries with \printbibliography? [duplicate]

My BibTeX entries have a keywords field with keywords describing the content. I also have a field called tags with meta information like talk, manuscript, my-own, etc. Example: ...
3
votes
1answer
62 views

How to put equation side by side equations?

My MWE, \documentclass[a4paper,11pt]{article} \usepackage{empheq} \usepackage[svgnames]{xcolor} \definecolor{backcolor}{RGB}{255,255,170} \newcommand*\mybox[1]{% ...
2
votes
1answer
302 views

what does \z mean?

In some codes I encountered some \z command, for example: \pgfmathrandomitem\z{mylist}\z\prunelist{mylist} from this question: Generating random numbers without repetitions. What exactly does it ...
0
votes
0answers
19 views

Equation number not in the same line with my equation [duplicate]

I'm new here and I'm learning how to use LATEX. Please, I have small problem and that the equation number appear in the new line and not in the same line with the equation. \begin{equation} f(l) = ...
1
vote
1answer
23 views

Beamerarticle problem

I think I can apply for the award of shortest MWE. This MWE compiles and runs OK, but if I comment out the second line (i.e. use beamerarticle) I receive error messages about xcolor clash, already ...
8
votes
1answer
36 views

How do define label system with labels given by counter?

I would like to have two commands \makelabel{foo} and \referlabel{foo} to be used as in the example \documentclass{article} \usepackage{amsmath} \begin{document} \[ A \overset{\makelabel{foo}}{=} B ...
1
vote
1answer
17 views

How to make a custom legend with a squared box followed by a text?

I'm trying to make one of that legends that we can find in some graphics such as bar plots. Just to clarify, I'm not displaying a plot. I have to present a schedule, which is defined trough a ...
3
votes
1answer
38 views

Font size in pt (pgfplots)

how can I set the font size in pt in pgfplots? Reduced to the basics, my document looks like this: \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{ compat=newest, ...
1
vote
2answers
83 views

for Hom and H*(X,Z) — which fonts?

This is a question about style, I am debating whether the math operator \Hom should be just \DeclareMathOperator{\Hom}{Hom} or if it should be some variant like ...
8
votes
1answer
73 views

LaTeX Beamer: Define \itemsep globally

In LaTeX Beamer, I'm trying to set \itemsep globally. I've already tried the following, but it doesn't work: \documentclass[14pt]{beamer} \setbeamertemplate{itemize/enumerate body ...
1
vote
0answers
10 views

Conflict between xepersian, hyperref and appendix

As you might know there is a bug in the appendix package which prevents hyperref from linking to the appendices, e.g. here. The aforementioned article says this is bug is triggered when babel is used ...
2
votes
0answers
33 views

How to eliminate extra margins around text? [duplicate]

I have a problem that the regular text of the article adds extra margins to the specified margins. To make it more clear, whatever I do, the text is "narrower" than what I specify with the geometry ...
2
votes
0answers
27 views

LuaLatex setup a different font for numbers and the rest

This question is a duplicate of this older question that strayed from the subject. I would like to make a presentation using latex class beamer, however I would like to use different fonts than the ...
0
votes
0answers
26 views

providecommand for column vector

I'm trying to provide a command for a column vector. I defined this in the header: \providecommand{\vector}[3]{\ensuremath{\left( \begin{matrix} #1 \\ #2 \\ #3 ...
3
votes
1answer
14 views

Changing the font of algorithm name in algo.sty

I am using algo.sty to write algorithm in LaTeX. I want that the algorithm names are in \texttt font. I guess I need to change something about the \a@paralgo (from algo.sty) in the below code, but I ...
1
vote
1answer
29 views

Can fontspec temporarily change a feature for a specific font on the fly?

Question After setting up fonts in the preamble with \usepackage[quiet]{fontspec} \newcommand{\fontspath}{/path/to/fonts/} \setmainfont[% AGaramondPro Path = \fontspath , Extension = .otf , ...
5
votes
2answers
63 views

How to use a subset of a beamer presentation?

I am trying to take the PDF output of a beamer presentation and take only a subset of the slides, and create a PDF file out of them (I can't recompile the beamer presentation with the relevant slides, ...
4
votes
1answer
65 views

Using a backslash and the following by it non-ASCII char

I'm writing a text with a special char of backslash (\), the text requires to containt the char and the following non-ASCII symbol (cyrillic), so for example I type: text \ц other text and I have ...
0
votes
1answer
53 views

Exponential function

I have a problem creating an exponential function in equation mode in Latex. I would like to have this exponential function: exponential^((y^2)/4). Does anyone know have to do that? David
1
vote
1answer
33 views

How to fill the area between a listplot and a psline in pstricks?

I have a .txt with data I use to plot a curve with lisplot and I need to fill the space between this curve and a psline in pstrick. Does anyone know how to do it?
0
votes
0answers
34 views

How can i create a document like this format [on hold]

I want to write a math document in arabic with latin math symbols like this document. Can anyone help to achive this by providing a template or important steps to create it.
0
votes
1answer
31 views

Is it possible to sagetex without Sage installation?

Is it possible to use sagetex without Sage installation if I have an account in the Sagemath Cloud?
0
votes
0answers
32 views

Use and meaning of the symbol at @ [duplicate]

In many codes I see that there is the symbol @ appearing (e.g. it often appears in counters). My simple question is: does @ has a special meaning or it is just a character as others?
0
votes
0answers
19 views

Float interferes with breakable tcolorbox

Today I noticed, that a breakable tcolorbox can be interrupted by a floating object, e.g. a figure. IMHO this is rather strange and shouldn't happen. Thus I wonder, how I can force the floating object ...
1
vote
0answers
42 views

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
3
votes
1answer
46 views

Summarize parts of a table with curly brackets

I would like to create a table (cf. attached figure) and use curly brakes to summarize some of the cells. I did a lot of research and found this solution (Curly brackets around a table), but it ...
0
votes
0answers
34 views

Font gets broken on DIN A5 [on hold]

My font gets broken if i print my DIN A4 PDF on a DIN A5 paper... On DIN A4 everything is fine. I don't want to change the font. what can i further do to solve this issue?
1
vote
1answer
28 views

Pst-geo3d sans / without contours

Je me demande s'il est possible de dessiner une carte sans contour avec pst-geo3d (compilation: xelatex). J'ai besoin de zones de couleur pour la terre et pour l'eau et de la possibilité de placer les ...
1
vote
1answer
29 views

Two column minted listing inside tcolorbox

I have a quite long but narrow code I want to typeset inside a tcolorbox. Is it possible to enable a two (or more) column mode inside the box (not break the box and set the parts adjacent). The ...
2
votes
2answers
32 views

\xdef with arguments in \newcommand?

Considering this newcommand (it works fine) \newcommand\createCMDSH[4]{% \expandafter\@ifdefinable\csname #3#2\endcsname{% \expandafter\xdef\csname #3#2\endcsname{% ...
4
votes
4answers
104 views

Unit column in table with square brackets and siunitx

The header might be a bit weird. But I would like to add a specified column type that is reserved to units. For instance, take a look at the following working example: ...

15 30 50 per page