All Questions

1
vote
1answer
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 ...
6
votes
3answers
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,...
0
votes
1answer
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-) ...
2
votes
1answer
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 &...
0
votes
0answers
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 ...
1
vote
1answer
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*)] ...
0
votes
1answer
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. \...
3
votes
1answer
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) ...
1
vote
1answer
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?
1
vote
0answers
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 $...
2
votes
1answer
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} \...
3
votes
6answers
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).
0
votes
1answer
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 ...
1
vote
0answers
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. ...
0
votes
1answer
29 views

Customizing headings using scrlayer-scrpage

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'...
0
votes
0answers
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 ...
0
votes
1answer
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 \...
3
votes
2answers
71 views

Add ASCII image

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 ...
4
votes
2answers
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{...
2
votes
1answer
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. ...
2
votes
1answer
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,...
0
votes
0answers
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{...
0
votes
0answers
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[...
9
votes
3answers
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: ...
0
votes
1answer
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{...
5
votes
2answers
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 (...
0
votes
1answer
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} \...
0
votes
0answers
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[...
1
vote
0answers
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 ...
1
vote
0answers
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,...
2
votes
1answer
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=...
0
votes
0answers
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{\...
-1
votes
0answers
58 views

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

How can I draw the given diagram in Latex?
2
votes
1answer
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{...
4
votes
5answers
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[...
1
vote
1answer
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{ \...
0
votes
0answers
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 ...
2
votes
2answers
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} \...
0
votes
0answers
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 ...
1
vote
2answers
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} \...
5
votes
3answers
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.
0
votes
0answers
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 ...
1
vote
1answer
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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 \...
0
votes
1answer
66 views

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

Does anyone know the name of this rotated, filled in, black square symbol?
2
votes
1answer
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....
0
votes
0answers
23 views

Cannot get access to packages with MikTex on Windows

I previousyl used Texstudio on my mac and didn't have any problem. I'm trying to install latex on my PC at work. I installed MikTex but it seems that my computer has trouble gettin the package. I ...
0
votes
0answers
32 views

Sort bibliography with the order of appearance into .bib file (EDITED)

I work with natbib and \bibliographystyle{abstract}. I use this style because the ordering is done with respect to the key. Is it possible achieve a sorting with respect the order of appearance into ...

15 30 50 per page