# All Questions

172,787 questions
31 views

### Math operator names in sans serif with accents using eulerpx

This is a follow-up of a previous question I asked before. I am using newpxtext and eulerpx packages, and I want to change the typesetting of operator names to use sans serif type. I implemented ...
160 views

### How to align and center standalone amsmath equations?

I had this code produce the following document. I wanted to align a few things. Particularly under the "degree sequence" heading: \documentclass[varwidth,margin=2mm]{standalone} \usepackage{amsmath,...
69 views

### How to draw a curly R symbol if can't be found available in packages and available symbols

This is my answer to this question that is already closed (no problem if this will be closed too but had to upload my result to help the OP there since I had already draw it -or something like it-) ...
24 views

### Using the author names and ampersand symbol (&) instead of the words “et al.” in the text for style apa

I want to use the author names and ampersand symbols (&) instead of the word "and" in text for style apa, so e.g. Maji, Biswas & Roy (2001) instead of Maji et al. (2001) and (Maji, Biswas &...
33 views

### Paired documents where one scrolls the other

Goal: I am writing a report that makes extensive reference to a companion document of (large) tables. I'd like to make it as easy as possible for my reader to reference the tables, without ...
40 views

### How to adjust the position of a number in an enumerated list?

So I've been experimenting with Latex as it'll apparently be useful for the next year of my degree, and I've come across the following issue with enumerated lists. \begin{enumerate}[label=(\roman*)] ...
25 views

### How to use package setspace whit package hyperref, like this: \ node {\ href {https://google.com} {\ begin {spacing} {2} Text \ end {spacing}}}?

How to use package setspace whit package hyperref. because I've been getting the following error below when I try to generate the tex file described in my MWE: ! Missing \endgroup inserted. \...
34 views

### How to insert references and bibliography into a .Rnw file produce with RStudio R Sweave and knitr?

So far, I have successfully used RStudio and R Markdown to write scientific papers and insert citations from the medical literature without significant problem as shown in the minimal example (MWE) ...
26 views

### WinEdt 9.0/language change

Is someone here familiar with WinEdt 9.0? I would like to change the English language to Czech one against which the spelling is correcting. How can I achieve that?
32 views

### latex pseudocode with fractions

I´trying to write this pseudocode in Overleaf - cant do the fraction (line 15) \begin{algorithm} \caption{Učící mechanismus obcí} \begin{algorithmic}[1] \While {Obce ještě nedokonvergovaly} \State \$...
26 views

### \multirow to fit a figure into a table in a tikzposter

I'm trying to use \multirow to fit a figure into a table in a tikzposter style document and can't quite figure it out. My code is as follows: \documentclass[24pt, a1paper, landscape]{tikzposter} \...
216 views

### How to make this curly 'R' (ℛ)?

Which package has a similar looking fancy R or does anyone know how to make one? (Note: the line underneath the R is just the notebook paper... this is from a scanned set of notes).
28 views

### Insert graphic into margin of section heading

I want to insert an icon into the margin adjacent to a section header. I have defined a set of diverse section headers, as shown in MWE. Therein, I insert the graphic using marginpar and ...
47 views

### Chemnum commands not recognized

I am writing my Master thesis in Latex (Texstudio). I need to draw a lot of molecules and want to number them throughout the whole thesis. For some strange reason, the package chemnum isn't working. ...
29 views

Using the scrbook class, how do I customize the chapter plain pagestyle? I'd like to have the page number on the left on even pages and on the right on odd ones. Also, how do I get rid of the 'Chapter'...
14 views

### Htlatex and chapters/sections malfunction

When using htlatex on the file with \chapter{...} etc., the resulting html file loses paragraph formatting and is all one big paragraph. When I comment out \chapter etc., all works fine. I use ...
13 views

### Missing Number error when creating newpage

\documentclass{article} \usepackage{amsfonts} \usepackage[utf8]{inputenc} \title{words} \author{words} \date{words} \begin{document} \pagenumbering{Gobble} \maketitle {\centering \...
71 views

I want to add many ASCIIs Art images on my document. But If I use verbatim environment, the output is ugly ! How to solve? (I lovely a solution with the possibility to import only my txt file with ...
203 views

### Drawing a topological “handle” with Tikz

I'm trying to do the following drawing in Tikz: I almost finished the leftmost picture: \begin{tikzpicture} \fill[blue!20] (7.5,0) ellipse (1 and .75); \draw (7.5,0) ellipse (1 and .75); \begin{...
22 views

### How to choose if theorem numerote

I'm currently working on a layout that is divided in article and alinea. Basically I've two functions. In each functions there is an environment dedicated to show the texts in a certain layout. ...
27 views

### Problem with TikZ path label orientation

I'm a newbie to LaTeX. I wanted to group and name the rectangles like the image below so I tried this. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes,arrows,fit,calc,...
17 views

### Inserting image in Latex after text as specified in code [duplicate]

I want to insert image after the bullet point of Photoelectric Effect. However, its coming on top of page. \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{...
14 views

### Bibliography chapter does not appear into TOC

\documentclass[11pt,a4paper ,oneside,openany,french]{book} \usepackage[explicit]{titlesec} \usepackage{amsmath,amssymb,amsthm} \usepackage[dvips]{graphicx} \usepackage[utf8]{inputenc} \usepackage[...
546 views

### Difference between -| and |- in TikZ

Based on this tutorial, I understand symbols -| and |- are used to draw perpendicular lines. But I wish to understand the difference between the two. There are the following related questions: ...
35 views

### Chapter title under chapter number in KOMA class

Using the scrbook class, how do I place the chapter title under the chapter number? Here's a MWE \documentclass{scrbook} \usepackage{xcolor, graphicx} \usepackage[showframe]{geometry} \definecolor{...
143 views

### Filling the middle of a torus in Tikz

I drawed the following torus using Tikz: \begin{tikzpicture} \fill[blue] (7.5,0) ellipse (1 and .75); \draw (7.5,0) ellipse (1 and .75); \begin{scope} \clip (7.5,-.9) ellipse (1 and 1.25); \draw (...
19 views

### Unwanted space between page number and margin when using titletoc

When using the titletoc package, how does one get rid of the space between the page of the chapter, section, ecc and the right margin of the page? MWE: \documentclass{book} \usepackage{titletoc} \...
28 views

### table title setting

I use \begin{longtable} to edit a table to change page, and the title is as follows: But I need to fit the template whose form is : So how should I modify it? My partial code: \documentclass[...
22 views

### Make barcode “foots” reach the text baseline

With the following MWE: \documentclass{minimal} \usepackage{pst-barcode} \begin{document} \begin{pspicture}(3.5,3) \psbarcode{3-88309-455}{includetext}{isbn} \end{pspicture} \end{document} I get ...
12 views

### \newgeometry and \pagestyle inside custom environment

The case is simple: when I put \newgeometry{margin=0} or \pagestyle{empty} inside a custom environment, it doesn’t work (but it work outside). So, with the following MWE: \documentclass[a4paper,11pt,...
39 views

### Tikz barchart space between bars within group

I have the following bar chart: \documentclass[tikz]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ legend style={at={(1.2,1)},anchor=...
9 views

### Increase space between groups with package nomencl & etoolbox

I am writing a document and I need to have a table of notations. I wanted to reduce its size while keeping a good space between the different groups. I understood that: I can use \setlength{\...
58 views

### How do I draw the given diagram below in Latex using tikz package?

How can I draw the given diagram in Latex?
47 views

### How can I plot vertical asymptote in my graph?

I'm trying to plot vertical asymptotes in my graph but I can't. This is my code: \documentclass[a4paper]{article} \usepackage{pgfplots} \usepackage{amsmath} \begin{document} \begin{center} \begin{...
351 views

### Customize circled numbers

Below is one solution (by @Stefan) for circled numbers with the help of tikz. What can I do to make it such that I can in-place customize its draw color, fill color, text color, etc.? \documentclass[...
55 views

### Plotting my chart incorrectly in tikz

MWE \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \usetikzlibrary{patterns,backgrounds} \def\mytypesetter#1{ \...
36 views

### Strange usage of \documentclass [on hold]

While my search before asking Mysterious “Two \documentclass or \documentstyle commands.” I found this code \documentclass[pstricks,border=12pt]{standalone} \usepackage{pstricks-add} ... in How do I ...
63 views

### \hline - width of entire table

How to set \hline to be appropriate for the table? \documentclass[12pt,a3paper]{report} \usepackage{booktabs, makecell,amsmath, graphicx} \usepackage[output-decimal-marker={,}]{siunitx} \...
42 views

### Keep a key locally passed from multicols to enumitem using xparse

I have a small problem when trying to keep a key locally using enumerate from the enumitem package. I have redefined the environment enumerate to accept the key columns and I have created commands ...
22 views

### How to 'break' the general instruction of \beamerdefaultoverlayspecification{<+-1|alert@+>}?

How to 'break' the general instruction of \beamerdefaultoverlayspecification{<+-1|alert@+>}? \begin{document} \begin{frame}{test} \setbeamertemplate{itemize items}[circle] \begin{itemize} \...
241 views

### How do I nest cases?

I am new to LaTeX. I know how to write basic equations in LaTeX. However, the following equation seems to be too difficult for me. Please help me with this. Thank you.
40 views

### What are typical reasons the title/section font being different from the body font?

I'm using a conference's suggested document style file. In my main.tex, I've added \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage[libertine]{newtxmath} which typesets the body ...
37 views

### Table position problem between two paragraphs in latex [duplicate]

I am new Latex. If you see the following snippet, here I have created a table between two paragraph. However, when I compile it with XeLatex, the table goes up keeping both paragraphs down. I expected ...
32 views

### Added a style file to ~/Library/texmf/tex/latex/circuitikzgit but I still get ! LaTeX Error: File `circuitikzgit.sty' not found

I'm using a Mac, I created the directory ~/Library/texmf/tex/latex/circuitikzgit and added the sty file circuitikzgit.sty to it. I then ran sudo texhash ~/Library/texmf, restarted TeX Live, and my tex ...
22 views

### Replace author-year citation with superscript numbers and move the citation itself to the margin of the frame (beamer)

I would like to use author-year citation but its length can be distracting for the reader. I still want to mention author names and dates explicitly because this shows the chronological progress of ...
35 views

### Vertical space between lyrics in MusixTeX

How to adjust vertical space between the two lyrics lines? I want them to seperate a little bit. This segment is from the documentation of musixlyr \begin{music} \input musixlyr \large\setlyrstrut \...
66 views

### Does anyone know the name of this symbol? [duplicate]

Does anyone know the name of this rotated, filled in, black square symbol?
59 views

### Is it possible to put a rectangle as background in the \author section?

In the \documentclass[xcolor={dvipsnames}]{beamer} Is it possible to put a rectangle as background in the \author section ? A kind of block, so that the \author name has a background with light color....