# All Questions

239,996 questions
Filter by
Sorted by
Tagged with
14 views

### Cross-references not working [closed]

When I declare \ref{...} in overleaf, everything after the reference is replaced by white space. How do I go about resolving this? Thank you in advance. Currently, I have the following packages ...
591 views

### Map of Iceland not displayed

I want to show the map of iceland with \Iceland via \usepackage{countriesofeurope}. But it is not getting printed. \documentclass[b5paper,12pt]{article} \usepackage[body={13cm,18cm}]{geometry} \...
• 195
29 views

### Problem with RawSienna

With the following style file I get Package xcolor Error: Undefined color RawSienna'.` \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{test-xcolor-galex}[2022/10/03 Andromeda Galaxy Package] %% Deferred ...
• 195
1 vote
25 views

### How to customize list style?

I am trying to create some lists that are both numbered and lettered. For instance, in one section I would like a list with: ER-1 description ER-2 description ER-3 description Then in another section ...
28 views

### definecolors option clash for package xcolor

Have included the following in my style file \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{andromeda}[2022/10/03 Andromeda Package] \newif\ifCountryMaps \CountryMapsfalse \newif\ifScienTech \...
• 195
16 views

### How to prevent moving the entire item to a new page in the enumerate environment if there is still a room in the previous page

How to break item (II) across the two pages if there is still a room in the page containing item (I). Here is the situation Minimal working example: \documentclass[12pt,a4paper]{article} \usepackage[...
• 151
38 views

### creating multiple side-by-side blocks

I want to create multiple colored boxes side by side in article format as I have shared the link below. I would be very happy if you could help me on how to do it. As you can see, some boxes have gaps ...
20 views

### Displaying Java code in LaTeX using a monospace font

I found this pretty template to display Java code with LaTeX. It works fine, expect for the fact that blanks do not seem to have the same width as letters. Therefore code that is indented is not in ...
1 vote
28 views

### How to hide the url of an online bibliographic entry?

Consider the following MWE: \documentclass{article} \usepackage[isbn=false,giveninits=true,uniquename=init,style=authoryear-comp,backend=biber,sorting=ynt,natbib,maxbibnames=99,maxcitenames=3,...
• 2,139
20 views

### How do I change the order of caption labels in subfigure

I am looking to change the order of labels in a subfigure. I would like subfigures (a) and (b) to be the top two labels (left and right respectively), and subfigure figure (c) to be on the bottom ...
• 1
46 views

### How to Display the Footnotemark with the Footnotetext within a Tikzpicture

Consider the code \documentclass{book} \usepackage{tikz,xcolor} \usetikzlibrary{decorations.pathmorphing} \definecolor{Gold}{RGB}{228,168,73} \renewcommand{\thefootnote}{\fnsymbol{footnote}} \begin{...
• 5,757
18 views

### Biber .blg file: APA referencing renders inline cite key, what am I missing?

\documentclass[a4paper,style=index,xindy,x11names]{book} \usepackage[T1,LGR,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[greek,russian,main=british]{babel} % Compile w/PDFLaTeX !!!!! \...
• 27
46 views

### Grouping \usepackage in a single entity

I want to group several calls to \usepackage in a styles file. Where users can select an option that automatically adds the packages to their document. Grouping the following under single name ...
• 195
108 views

### How redefine \subsection*?

How can \subsection* (the starred version) be redefined so as to do exactly what \subsec does in the following? (Note that I will not be using the unstarred \subsection.) \documentclass{memoir} \...
• 6,731
29 views

### help with tables

Does anyone know why my board is cut? \begin{document} \maketitle \begin{table}[h] \centering \begin{tabular}{lllllll} Primer entero & Segundo entero & \begin{tabular}[c]{@{}l@{}}Valor ...
19 views

### how to show a current in a circuit of an arbitrary shape [duplicate]

I need to draw this picture But I struggle with these small arrows that shows a current. Here's my approach so far \begin{tikzpicture}[scale=0.7] \draw[line width = 0.3mm] plot [smooth cycle] ...
1 vote
18 views

### Macro for arrow with a name using tikz

The following macro produces an arrow with a name between two objects. It has three parameters. \newcommand{\rname}[3]{ \begin{tikzcd}[ampersand replacement=\&] {#1} \arrow[r, &...
• 111
1 vote
50 views

### Merging 2 tikzpictures side by side

How is it possible to "merge" 2 tikzpictures side by side ? I have tried several solutions provided in related posts using \subfigure but it keeps creating a little white space between ...
• 389
25 views

### How to wrap cell text

Could someone help me wrap the text in the first line of this table, it keeps exceeding the line width of the page and the \\ command doesn't work. Mainly the end three columns first row. \begin{table}...
1 vote
24 views

### MIssing border in table with multicolumn and multirow with hyphenated column headings

I am missing the right border in one the columns where there is a multirow. Have tried a bunch of things. Here is an example. \documentclass[10pt]{article} \usepackage{array} \usepackage{multicol,...
• 117
98 views

### Drawing an eighth of a sphere in tikz

What would be the best way to draw an eighth of a sphere like this one using Tikz? I have found many ways to draw a sphere, but not a portion of a sphere. This question is the closest I get, I never ...
• 222
15 views

### Caption doesn not align with graphic in marginpar mode

Want to include a graphic in the margin. Without \centering the graphic is to the left and the caption is shifted to the right and not even fully visible. When \centering is included the graphic is ...
70 views

### Typesetting using Operational Amplifier

I request anyone to give latex code for this diagram. \begin{circuitikz} \draw (0,0) node[op amp] (op1) {} (op1.-) to[short,*-*] ++(-0.8,0) to [R,l=$R_1$,*-*] (-3.8,0.5) node(ex){} to [short,*-o] ++ (-...
1 vote
14 views

### new command, tabular, new row without extra spacing

I'm currently creating my CV on overleaf using a template as I'm really unfamiliar with LaTeX. I see that there is a line to create a newcommand which creates a tabular section to input my experiences:...
• 113
17 views

### refcheck package individual installation

On windows subsystem for linux (WSL) a document containing usepackage{refcheck} does not compile and produces with error: file.tex|| File refcheck.sty not found. This suggestion here seems to be to ...
• 111
18 views

### Package biblatex Warning: Nested notes on input line

I'm trying to use \footcite command to which Overleaf shows the following warning: Package biblatex Warning: Nested notes on input line 10. How can I get rid of the warning? Am I missing some ...
24 views

### My biblatex references are not shown up

I use RStudio in order to compile a markdown file and output a Latex document. When I compile my file, my biblatex references are not shown up and I get the following warning : Package biblatex ...
• 1,393
58 views

### Changing Only Color of Equations and Not Tables

I change the color of the equations using the following: \documentclass{article} \usepackage{xcolor} \everymath=\expandafter{\the\everymath\color{blue}} \AtBeginEnvironment{equation}{\color{blue}} \...
• 127
12 views

### Set absolute length of arrow in tikzcd

If you want to change the lengths of arrows in a tikzcd diagram, there are lots of options: Append "shorten => 10pt" or "shorten >= 15pt" to the arrow description. Change ...
• 176
1 vote
46 views

### Vertical space between multiple minipages don't have the same length?

I have built a command \dateentry which places two minipages next to each other. For some reason, the vertical space between the entries is not consistent. The spacing seems to be larger when it is ...
• 11
37 views

### Arabtex conflict with IEEE access template? [duplicate]

I am trying to add some Arabic words to IEEE access template. I am using Arabtex but it is producing all kind of errors. Can anyone help I see someone asked the same question, but I don't get the ...
10 views

### Biblatex: how to automatically sort numeric citation by year (sortcites=ynt) when bibliography is sorted by citation order (sorting=none)

I'm using numerical citations. In LaTeX (in fact preferentially in LyX), would like to have a multiple-reference citation be sorted by year of publication [1,2,3]. That is, 3 was published after 2 ...
• 728
19 views

### Undefined control sequence for \blacksquare [duplicate]

I am calling \blacksquare but getting ! Undefined control sequence.
• 195
13 views

### how to modify the width and height of rectangle in constellation diagram in smart diagram

this is the code: [![\smartdiagramset{ /tikz/connection planet satellite/.append style={<-}, /tikz/satellite/.append style={rectangle,rounded corners=5mm}, } \scalebox{.7}{ \smartdiagram\[...
19 views

I have a basic question but cannot find an answer in the (rich) titlesec titletoc documentation. In the Toc, I would like to have the section titles formatted as the following, taken from the ...
• 11
270 views

### How do I left align part of the equation, while centre aligning the rest?

I want to try recreate this, nothing in the begin{align*} environment has worked for me.
41 views

### Using relative coordinates with arrow heads

My question is similar to this one: Draw arrows between nodes with tikz I want to draw several lines with arrow heads using relative coordinates. I expect the command \draw (axis cs:0,0) edge[->] ++...
• 3,281
31 views

### Refraining from displaying some text [duplicate]

I have some text that include an address. I would like the address not to show in the document, but still keep the text at the location in the file. What can I do?
• 195
42 views

### Typesetting RC Network

Can anybody help me write latex circuitikz code to draw this RC ladder network with 11 elements please?
1 vote
23 views

### Change beamer logo use based on foreground color

I'm trying to do a local beamer style, which puts the logo in the bottom corner. The simple case is easy: \newcommand{\wmflogo}{ \begin{tikzpicture}[remember picture,overlay] \node [xshift=0.05\...
• 33
17 views

### Page Numbering on List of Figures

I would like to show the page numbering on the footer for each page on List Of Figure. It is just showing on the first page of the List of figures. The LaTex code is below: \renewcommand\listoffigures{...
26 views

I am programming a class (based on koma-script article) which includes a changing header, so sometimes a multiline header is possible. With this setting I cannot fix the top distance of 2cm. The ...
32 views

### P22 Underground font

Can you produce a working TeX-example that use P22 Underground font?
48 views

### How are sections rendered in ConTeXt?

Trying to wrap my head around section rendering. The following \defineheadalternative [fullpage] [ alternative=somewhere, renderingsetup=headrenderings:fullpage, ] \startsetups[...
• 163
16 views

### LaTeX : build folder with name of project

I work on TexMaker and when I compile a project, I chose to have a "build" folder for output files. But as I have multiple LaTeX files, is it possible that each project has a specific "...
• 1
70 views

### How can I draw two functions with TikZ picture

I want to draw the picture below but I do not know how to. This is my code although it is not running: ‎‎\begin{tikzpicture}‎[>=stealth,scale=10]‎ \draw[color=gray!30,very thin](-0.1,-0.004)‎ gri‎...
1 vote
22 views

### How can I modify the bottom margin in clean thesis?

I am using clean thesis template v0.4.0. I would like to know how to modify the height of the footer. The default setting seems to have a huge margin.
• 123
16 views

### How to put the abstract above two column paper?

Using the below code I get the following output. How can I bring item 12 onwards down such that the abstract is not include in the 2 column section? \documentclass[review, twocolumn]{elsarticle} \...
41 views

### is it good practice to have a text over a symbol which contains both super- and subscript?

My problem involves the Greek letter $\Psi$ which is a sum of two parts - a volumetric (vol) part and a deviatoric (part). I have to associate a superscript $h$ and optionally a subscript $a$ to $\psi$...
• 87