# All Questions

172,787 questions
28 views

### Prevent hyperref from changing the color of section and subsection hyperlinks

I am trying to customize my themes, but also would like to use hyperref to get quick links for ease of navigation. However, hyperref seems to replace the color of all contents to its linkcolor option. ...
37 views

### Latex template of Wiley publisher of journal Energy and technology [on hold]

Wiley latex template of journals Energy technology and International Journal of Intelligent Systems https://onlinelibrary.wiley.com/page/journal/21944296/homepage/2198_authors.html https://www.wiley....
35 views

### Hyperlinks do not work with cleveref (beamer)

In the MWE below, you will see that \cref is not working with hyperref. Also, even with the conventional \ref command, hyperref leads to the wrong equation This is the output This is where \ref ...
16 views

### How to reference websites on “\bibliographystyle{model1-num-names}” Elsevier Scientific Article template

@Misc{APAWeb, title = {{Socioeconomic Status}}, howpublished = {{https://www.apa.org/topics/socioeconomic-status/}}, note = {{Accessed: 2019-02-16}}, url = {https://www....
21 views

### insert a picture in frame but no break page

This is my code \documentclass[12pt,a4paper,twoside]{book} \usepackage{amsmath,amssymb} \usepackage{xlop,polynom} \usepackage{fontawesome} \usepackage{icomma} \usepackage{fancyhdr} \usepackage{...
14 views

### Margin todo notes overlap and get cut off and bottom of page

I can't seem to figure out what's causing this issue: I'm using a custom command: \usepackage[colorinlistoftodos,textsize=tiny]{todonotes} \newcommandx{\gw}[2][1=]{\todo[linecolor=orange,...
23 views

### List of Figures is empty

I put some figures in my project report but the list of figures is empty. THe code is as follows: \tableofcontents % Write out the Table of Contents \lhead{\emph{List of Figures}} % Set the left ...
12 views

### Why alignment of my text is not same for each written part?

\documentclass[10pt,fleqn]{article} \usepackage[top=1in, bottom=1in]{geometry} \usepackage{amsfonts} \usepackage{graphicx} \usepackage{amsmath} \usepackage[T1]{fontenc} \usepackage{titling} \begin{...
36 views

### How to draw the intersection of a circle and a path in METAPOST

How do I draw only the two sides of the circle which would be left after subtracting the heavy red line? \documentclass{article} \usepackage{luacode} \usepackage{luamplib} \usepackage{calc} \...
15 views

### Having trouble using “rSection” or “rSubsection"

In a resume I wanted to write in Latex, I am getting a strange Error when I use the “rSection” as below: \documentclass{resume} % Use the custom resume.cls style \usepackage[left=0.75in,top=0.6in,...
23 views

### Table: Alternating rowcolours / banding [duplicate]

I have a table with over 400 entries. I wanted to make it more readable by colouring the cells in grey and white. I know how to do it with a regular table. But I cannot get it to work with a longtable ...
60 views

### What is the difference between \somecmd and \csname somecmd\endcsname?

44 views

### A very strange problem with Overfull \hbox

The last two days I face a very strange Overfull \hbox problem. I am writing a book and I am in the 4th chapter. I began writing a 5th chapter, but then I decided to include this in the previous ...
36 views

### Why do I keep getting a “missing \begin{document}” error?

Sorry about the awful formatting, this is a screenshot from my mobile. I am an absolute beginner when it comes to Latex and I just can't understand why it keeps giving me such an error when I clearly ...
45 views

### How would I make a table with boxed caption?

How would I make a table with boxed caption like this in which the width of the box adjusted to the size of the table and the height to the title.
32 views

### How to vertically align (center) components in a chemical reaction?

is there a way to somehow align the components [-M-] and the arrow so that everything is vertically centered? Thank you in advance! \documentclass{article} \usepackage{chemfig} \begin{document} \...
152 views

### Extract more than nine arguments that occur periodically in a sentence to use in macros in order to typset

What is a good way to write a definition of the type \fun below \fun{abc1 EDF1 xyz1 efg jkl abc2 EDF2 xyz2 efg jkl abc3 EDF3 xyz3 efg jkl abc4 EDF2 xyz4 ...} where the number of arguments is not ...
163 views

### How to fade a semiplane defined by line?

With the following code: \documentclass[tikz]{standalone} \usepackage{tkz-euclide,tkz-fct,amsmath} \usetkzobj{all} \begin{document} \begin{tikzpicture}[anchor=center] \tkzInit[xmin=-1, ...
45 views

### Environment to get degressive text size like optic’s chat-like text

The goal is to get with the following MWE \documentclass{book} \begin{document} \begin{degressive} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus ...
24 views

### When DTLforeach is used with a condition, DTLiflastrow does not work

In the following code, my dataset is {1,2,3,4}. With no filter, DTLiffirstrow will return true at "1" and DTLiflastrow will return true at "4". This is what I expect from these functions. When I ...
17 views

### Undefined control sequence \maketitle apa6 journal

I am making a journal with apa6 but when I make all the preamble, and put the make a \title command the editor says undefined control sequence line 11 (which is \maketitle). My code: \...
29 views

### Get little endian paragraph title shape

As you can see in the MWE, I customize the chapter titles to be displayed in the center of the page with: \usepackage{titlesec} \titleformat{\chapter}[display] {\normalfont\huge\bfseries\centering}{\...
24 views

### New command based on \subfigure package

I tried to make a new command to insert photos, but it began to overwhelm me. I tried in three different ways and either I got an unintelligible mistake or it didn't work as it should. I present you ...
13 views

### Problem redefining hat accent in eulerpx

I want to use eulerpx with the alternative hat accent provided by eulervm (via the euler-hat-accent option). To this end, I copied the relevant commands from eulervm.sty (see also this answer). The ...
37 views

### How to add compilation parameters -shell-escape with arara

I am having trouble using compiling argument lualatex -shell-escape as mentioned in this question using arara. I cant get the right syntax, and I am failing to find it in arara user manual. I tryed ...
22 views

### Error in table rotation

I have a table that I want to rotate. I checked on Stack Exchange and using a package rotating \begin{sidewaystable} \begin{table}[hbt!] \vspace{-0.1in} \centering \caption{Routing Function ...
26 views

### How can I get LuaLaTeX to turn three hyphens into an em-dash? [duplicate]

For some reason, LuaLaTeX is outputting an en-dash for both -- and --- for me. MWE: test.tex: \documentclass{article} \begin{document} blah-blah blah-...
40 views

### Broken Section cross-reference when exporting as pdf

I use Lyx. When I export my article as pdf (or postscript) the cross-reference to the Sections appears as ?? in the output. The same doesn't happen with Part, subsection, and subsubsection. It works ...
39 views

### Inserting a table with photos in each cell

I would like to insert a table in each cell in overleaf, like the following:
26 views

### Environment to hide number from numbered equations

I'd like to create an environment that hides equation numbers from numbered equations. I'd should work like this: \documentclass{article} \begin{document} % --------------------------- % \begin{...
22 views

### Counter in front of the glossary name

I need to define a customized glossary list based of \setglossarystyle{list} such that in front of each entry I get a counter: symbol 1 blah-blah symbol 2 blah-blah-blah ... I ...
23 views

### Auxiliary files in subdirectory using TeXShop

Using TeXShop, I'd like to create a script that lets me specify the extensions (e.g. .aux, .log ecc..) whose corresponding files should be put in a separate directory. I frequently have 20+ files in ...
32 views

### Move item right or left

I use texmarker with documentclass = article. How can i change/move element itemize (a,b,c,d,e) to the left or right. Thank so much. \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc}...
61 views

### Why are my characters overlapping?

As a test of what's going wrong with a longer LaTeX file I've written, here is what I tried: \documentclass{article} \usepackage{tikz} \pagestyle{empty} \begin{document} \begin{tikzpicture} \draw (0,...
13 views

### Lemma numbering not changed in appendix when using a solution

I am trying to implement the lemma numbering solution in this question. I am currently compiling the document from a parent file such that: \usepackage{chngcntr} \usepackage{apptools} \AtAppendix{\...
38 views

### Error in Texmaker building a file: Error : could not start the command : “.aux”

I am trying to transition from a very old and no longer supported latex platform to using Miktex with texmaker. There seems to be a problem with bibtex, but actually the problem may be more than just ...
70 views

### Tex Gyre Bonum font

I'm writing a document using Tex Gyre Bonum as roman font and Tex Gyre Bonum Math as math font. But these fonts have different commas. So, commas in equation environments are not equal to commas in ...
16 views

### Beamer caption name not changing

I am changing the font of my presentation to calibri, but the caption name under a figure (the "Figure" part) isn't changing to calibri, but stays in a serif font. The \setbeamerfont{caption name}{......
21 views

### Trying to use sub-figures in a column on a tikzposter

I'm trying to use sub-figures in a figure, within a block, that's in a column, on a tikzposter and instead of placing the figure and caption within the block they appear outside of it, in the middle ...
17 views

### Where to put my file of personal macros (TeXShop) [duplicate]

I just got a new MacBook and downloaded TeXShop, and I have a file full of macros and stuff I want to put in the place where TeXShop looks for it so I can input it into every document without having a ...
28 views

### Beginner- align equations to the left

I am total beginner, and I read all questions and response on this site, but still can not figure it out. I tried align* and flalign, but always is some error. Hope you can help. \documentclass[10pt]{...
33 views

### How to write the documentation for my own class [on hold]

Some time ago I started to create my own class and these moments my purpose is to create the documentation. I would like to know if to create the documentation of my class I should be guided by this ...
86 views

### Add big quotation marks inside my colorbox

I have this code (MWE): \documentclass{article} \usepackage{tikz,lmodern} \usepackage[most]{tcolorbox} \newtcbtheorem{theo}% {Definition}{fonttitle=\bfseries\upshape, arc=0mm, colback=blue!5!...
21 views

### Address writing with multiple lines

I wrote a tex document with following kind of commands for address. \documentclass[11pt]{amsart} \usepackage{amsmath,amsthm,amssymb,hyperref} \begin{document} \title{Paper 1} \author{Rahul} \address{...
16 views

### Problem with superscript citations and page numbers

I am using superscript citations and it mostly is working fine, but when I try to add page numbers, I get a runaway argument error. An MWE is \documentclass[12pt,reqno]{article} % Sets 12pt ...
363 views

### putting logo on same line but after title, latex

I read all similar questions and their answers. But as total beginner they are not helping. Hope you can. \documentclass[10pt]{article} \usepackage[top=1in, bottom=1in]{geometry} \usepackage{...
15 views

### Subfigure, submat and easy to-do packages - Command \c@lofdepth already defined. \newcounter{lofdepth}

UPDATE: Added the command \PassOptionsToPackage{subfigure}{tocloft} before the easy-todo package, according to the answers, and it solved the problem! :) I have this error when i try to use ...
34 views

### What’s the end best way to organise Texstudio files? [on hold]

I was curious what the best way to organise your Texstudio files is. Current,y I have something like this: “Documents>LatexProjects>name of project>img, tex, bib” if that makes sense? Basically, I ...