All Questions

1
vote
1answer
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. ...
0
votes
0answers
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....
0
votes
1answer
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 ...
2
votes
1answer
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....
0
votes
0answers
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{...
0
votes
0answers
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,...
0
votes
0answers
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 ...
1
vote
1answer
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{...
1
vote
1answer
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} \...
1
vote
1answer
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,...
1
vote
0answers
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 ...
3
votes
2answers
60 views

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

This is a demo \documentclass{article} \usepackage{soul} \makeatletter \newcommand{\mydef}[2]{% \expandafter\def\csname my#1\endcsname {#2} } \newcommand{\mygetdef}[1]{% \ifcsname my#1\...
1
vote
0answers
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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.
4
votes
1answer
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} \...
4
votes
3answers
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 ...
7
votes
3answers
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, ...
1
vote
1answer
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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: \...
1
vote
0answers
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}{\...
0
votes
2answers
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 ...
1
vote
2answers
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 ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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-...
0
votes
2answers
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 ...
0
votes
1answer
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:
3
votes
1answer
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{...
2
votes
1answer
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 ...
0
votes
0answers
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 ...
1
vote
0answers
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}...
0
votes
0answers
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,...
0
votes
1answer
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{\...
1
vote
0answers
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 ...
2
votes
1answer
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 ...
1
vote
1answer
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}{......
3
votes
2answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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]{...
1
vote
1answer
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 ...
7
votes
1answer
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!...
2
votes
1answer
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{...
0
votes
1answer
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 ...
5
votes
2answers
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{...
1
vote
0answers
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 ...
0
votes
1answer
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 ...
0
votes
0answers
15 views

how can I put multiple video next to each other on one slide presentation

I can easily play one movie using the following \documentclass[11pt] {beamer} \usepackage{movie15} \begin{document} \begin{frame} \begin{figure}[ht] \includemovie[poster,autoplay,text={\small play ...
5
votes
2answers
158 views

Is there a way to get `\mathscr' with lower case letters in pdfLaTeX?

The answer at https://tex.stackexchange.com/a/151552/ notes that in pdfLaTeX the command\mathscr from the package mathrsfs only supports capital letters. Will some other package let me use \mathscr ...

15 30 50 per page