All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

Aligning escaped text in listings

Here I use escapechar with listings to set the colour for an individual word in a listing. The text set with listings is set looser though, so this doesn't align. How can I get it to align? \...
3
votes
0answers
30 views

Problem with package installation of pstricks

I installed miktek and texstudio from internet when started using package pstriks it firstly asked to install from internet i have permission but again after running same dialogue box opened it ...
2
votes
1answer
23 views

Table inside same row but newline

I have a table and you could (maybe) see that I want Belgium in a newline, but inside the same row as with Australia (Same at Poland and Italy). \begin{table}[] \begin{tabular}{|l|r|} \hline Country ...
0
votes
0answers
7 views

How to use pgf-presenter-console for presentation with changed papersize?

I had to change page dimensions for a presentation but cannot use pdf-presenter-console (format of image file unknown) pdfpc --notes=right Test.pdf --notes option detected. Disable auto grouping. (...
1
vote
0answers
12 views

Beamer frame option to change background and font that works with labels

I'd like to define a frame option in Beamer to "invert" the colors of background, foreground, and structure, and I can do so by defining \documentclass{beamer} \BeforeBeginEnvironment{frame}{% \...
1
vote
1answer
39 views

Why does `settowidth` not work inside `foreach`?

I would expect the first two a to be wide apart on the first line.. \documentclass{report} \usepackage{tikz} \begin{document} \newlength{\mylength} \foreach \i in {dum,iteration} {% \...
2
votes
1answer
37 views

How to set and connect nodes inside a Beamer frame and hilight them

I'd like to find a "simple" way to highlight two pieces of text and connect them with a path and a label on it. For example, I need to make a slideshow to demonstrate how to solve linear systems to ...
1
vote
0answers
19 views

Cross reference lemma from one chapter in another chapter with the cleveref package

I tried \documentclass[10pt]{amsbook} \usepackage[francais,english]{babel} \usepackage[utf8]{inputenc} \usepackage{amsthm} \usepackage{xparse} \usepackage{hyperref} \usepackage{cleveref} \...
4
votes
2answers
147 views

How do I write in Georgian with PDFLaTeX?

I found these packages but no clear instruction on installing them and using them. No mention of whether I need LaTex, LuaTex or XeTex https://www.ctan.org/pkg/georgian https://www.ctan.org/pkg/...
0
votes
0answers
10 views

Formatting the acronym output from the glossaries package

I would like to format my acronym output as following: The long forms should align. How can I change the output so that there is a spacing between the acronym and the long form? I also would like the ...
2
votes
2answers
55 views

Adding more space to a plot

Sending out the cat 😺 signal I need to get what's on the screenshot. I've tried by playing with scale but I've failed. Could you give me a hand? Mine looks horrible :( \documentclass{standalone}...
1
vote
1answer
54 views

Wrong symbols with STIX2 and LuaLaTeX

I have problems with typesetting math symbols using stix2 fonts. Actually, I want to have \mathbfscr letters, this is the only reason why I need stix2. Simulateously, I need Times New Roman and Arial ...
1
vote
2answers
48 views

tabularx is breaking page formatting for some reason

I am in the process of writing my PhD thesis in chemistry and I seem to be having a problem with the table/tabularx instances. I have a lot of tables and I also have several longtables (which seem to ...
4
votes
1answer
98 views

How to write Taylor's series of sinx in PSTricks?

\documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-plot,xfp} \begin{document} \begin{pspicture}[algebraic,plotpoints=500](-1,-3)(12,3) \psclip{\psframe[fillstyle=solid,fillcolor=white,...
1
vote
2answers
64 views

pgfmath in graph library giving compilation errors

I want to represent a graph where the labels for each node are obtained computing a modulo computation. The first and easy way to do it is as follow : \documentclass[tikz]{standalone} \usetikzlibrary{...
0
votes
0answers
20 views

How to fix the non-indent issue in bibliography?

I have conference package used in latex, but it automatically arrange the citation with non-indent starting from the 4th citations. Is there any way to add some command line to fix this problem? ...
2
votes
3answers
46 views

How can I equalise the width for the 4 columns to the right?

\begin{table}[] \begin{tabular}{|l|c|c|c|c|c|} \hline & \multicolumn{1}{l|}{} & \multicolumn{4}{l|}{Forskningsspørsmål den kan besvare} \\ \cline{3-6} \multirow{-2}{*}{Kilde} & \...
3
votes
1answer
21 views

TeXstudio: collapse \usepackage calls

Using TeXstudio's GUI, I would like to collapse the calls of \usepackage{} similar to what can be done for a \paragraph{}, a \section{} etc. The fact that some code can be collapsed in the GUI is ...
3
votes
0answers
50 views

Problem with chemmacros, beamer and filehook-scrlfile.sty

I am using chemmacros with beamer and it produces the following error 2017/08/28 basic chemmacros module (/usr/local/texlive/2019/texmf-dist/tex/latex/koma-script/scrlfile.sty Package: scrlfile ...
0
votes
1answer
59 views

What's wrong with my TikZ?

I've just installed MacTeX-2019 on my MacBook. So I'm using TeXShop 4.27 which comes along. I'm trying to execute the most basic GNUPLOT example: http://www.texample.net/tikz/examples/gnuplot-basics/ ...
0
votes
1answer
37 views

how to change font in “ Align ” to “Palatino”?

\documentclass[12pt]{report} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsthm} \usepackage{mathtools} \usepackage{hyperref} \usepackage[utf8]{...
0
votes
1answer
26 views

Wrong display of beamer presentation with notes by pdf-presenter-console

I want a double page presentation and want to display it with the pdf-presenter-console. This is my MWE: \documentclass[compress,ngerman]{beamer} \usepackage{babel} \usepackage[utf8]{inputenc} \...
0
votes
0answers
20 views

How to add keywords to this paper, after abstract [duplicate]

I have tried several methods given on internet but nothing works. Can someone help. I am posting my preamble below. I am also fine with adding keywords in footnote, but if I can add them after ...
1
vote
1answer
28 views

Placing two tikz figures with captions next to each other

I have drawn two pictures and now I want to place them side by side. I tried using "minipage" but it does not work. Could you help me? \documentclass{article} \usepackage{tikz} \usepackage{amsmath}...
0
votes
0answers
20 views

How to place a photo to specific co-ordinates of a document?

I am trying to add a portrait onto my CV. However, I want it in an exact position and overlaying the current formatting. Is it possible to add the photo to a specific position and overlay whatever is ...
0
votes
0answers
34 views

Include a string with spaces

So, I know that questions about how to deal with spaces have been asked a thousand times. But this problem seems unique \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[...
0
votes
1answer
25 views

Three figures in two rows are not displayed in PDF after compilation

I want to have the same alignment of figures as stated in the linked question: (a) (b) (c) I followed the exact answers given in the link with minipage and subfigure. Both of them are compiling ...
0
votes
0answers
10 views

Problem with the include graphics command [duplicate]

I have a problem with the include graphics command. I have my pictures saved in the same folder with the main document but when I use for example \includegraphics[width=.5\linewidth]{K5} I get the ...
4
votes
2answers
64 views

Using (something very like) the standard symbol font Greek letters to set a bit of classical Greek?

In the context of a logic book, set using LaTeX/pdftex in Computer Modern, I'm using Greek letters from the standard math symbol alphabet as symbols. But on a few occasions I want to typeset an ...
2
votes
1answer
44 views

Text in a node in tikz does not seem to be vectorial

I am trying to draw a nuclides chart in tikz. But when I look at the different elements names (C, Be, etc.) I notice that my text does not seem to be vectorial... What is very strange is that some of ...
0
votes
0answers
9 views

Remove extra vertical padding before tabular in textpos absolute environment

I am trying to position a tabular using textpos in absolute mode. In my observation there is some extra spacing that gets added before the first row. This leads to misalignment in the the vertical ...
1
vote
1answer
35 views

Fancy chapter in french

I use fancy chapters. However, it is written "chapitre" instead of "chapter" (see last code line) and I dont understand why. Could you help me? thanks \documentclass[a4paper]{report} \usepackage[...
0
votes
0answers
10 views

Section command in tccv.cls files shows ! Missing number treated as zero

I have made my two column cv using tccv.cls a month back. I ran the file a week ago and got the desired output. But when I am running the file today, I am getting an error "! Missing number, treated ...
2
votes
0answers
40 views

Converting MathML to LaTeX: Issue on limits positions on Summation symbol

When using David Carlisle's stylesheet to convert MathML to LaTeX, in most cases, the upper and lower limits on Summation symbol are correctly placed on above and below the summation symbol. But when ...
2
votes
0answers
47 views

Extremely weird formatting of text in section

\documentclass[a4paper, 11pt]{book} % Packages \usepackage[utf8]{inputenc} \usepackage{graphicx} % For images \usepackage{titling} % For adjusting white space above headers \usepackage{titlesec} % ...
0
votes
1answer
27 views

How to manage already defined commands? Case in point: xwatermark and titleps

I was hoping to find a command in etoolbox that would help resolve this type of error. Is there one? EDIT on 10/14. What I'm looking for is: when two packages' define the same command, resulting in ...
1
vote
1answer
16 views

Package glossaries Error: Glossary entry has already been defined

I'm getting this error when I use the \gls command: Package glossaries Error: Glossary entry `DCD' has already been defined. These are how I my package: \documentclass[12pt]{book} \usepackage{...
1
vote
1answer
23 views

Reference for \newlabel

In this question it is mentioned that hyperref overwrites \newlabel and therefore if one loads the package it requires six (rather than two) arguments. I was trying to learn the syntax of \newlabel, ...
0
votes
0answers
15 views

What is the difference between using \NewDocumentEnvironment and \newlist when creating a new enumitem list?

On the question How to create a enumerate list adding a custom prefix before each item number? I managed to the a new list type using \NewDocumentEnvironment \documentclass{scrbook} \usepackage{...
0
votes
1answer
30 views

Beamer theme: customizing title page

I usually use the default theme of beamer for its simplicity. I want to change the titlepage of default theme to the one like the titlepage of metropolis but with the line with default color of ...
-3
votes
0answers
42 views

Remove `Not in outer par mode` [on hold]

I have a setup where I hack externalizing figures to reduce compile times. tikz externalize does not work as it gives errors when run on my specific code(I think related to some package conflicts). ...
2
votes
1answer
24 views

Illegal parameter number in definition of \enit@before. You meant to type ## instead of #, right?

I am trying to renew the \item command, inside the \setlist command for How to create a enumerate list adding a custom prefix before each item number?, but latex keeps telling me: test1.tex:22: ...
2
votes
1answer
24 views

How to use \boldsymbol with greek symbols with Tex Gyre Pagella?

I usually use something like \boldsymbol\sigma to obtain bold greek letters, which only requires \usepackage{amsmath}. This doesn't seem to work when using XeLatex and Tex Gyre Pagella, as shown in ...
1
vote
1answer
14 views

Set footnote justification in minipage

I'm using the acmart class to write an article, and I've followed the manual's suggested means of including footnotes in a table. However, the footnotes are centred in the minipage, which I find ugly. ...
0
votes
0answers
20 views

Problem with bold greek using MastersDoctoralThesis class in LaTeX

If using Doctoral Thesis Latex template (source https://www.latextemplates.com/template/masters-doctoral-thesis) I've found out that using bold greek in math mode produces wrong symbols (e.g. $\mathbf{...
0
votes
1answer
38 views

How to create a enumerate list adding a custom prefix before each item number?

I found this question Adding some common text to enumerated description lists to be the closest: \documentclass{scrbook} \usepackage{enumitem} \newcounter{descriptcount} \newlist{enumdescript}{...
1
vote
1answer
15 views

How to control the distances above and below array environment when putting it inside \left| and right|?

I am trying to write custom commands to allow faster writing of 2 by 2 matrices without having to use array each time I need that. The output is good, but since the matrices will be a part of larger ...
5
votes
2answers
103 views

Repeating Numbered Items in Beamer

I want to be able to repeat a numbered item from an earlier slide under the same number. I know I can do the following, if the item I want to repeat is from the immediately preceding slide: \...
1
vote
0answers
19 views

“Missing { inserted.” error when using \NewDocumentCommand command as a subscript

I'd like to create a custom command with an optional parameter, which could be used in math mode as a sub- or superscript. However, the following code: \documentclass[pdftex,11pt]{report} \...
2
votes
1answer
25 views

Vertical lines over an 3 page longtable fails

I do not understand why the vertical lines on this 3 page longtable fails to break. Sorry for the long code: \documentclass[12pt,twoside,openright]{book} \usepackage[a4paper,headheight=15pt,left=25mm,...

15 30 50 per page