All Questions

173,955 questions
66 views

How do I make a diagram like this in LaTeX? Thanks! [duplicate]

How to draw this comutative diagrams in LaTeX
291 views

Drawing spherical mirrors

What is the best way to draw 3D spherical mirrors like these on tikz?
21 views

Evaluate/round a mathematical expression using \input

I want to evaluate a mathematical expression using a number from a different latex document. In this case, number.tex consists of a single number (e.g., 40) that has been exported from a statistical ...
40 views

Curiosity: why an externalized document builds faster and in a single pass?

It could be just me being enthusiastic about completing the externalization of a sizable book into the separate chapters by way of using import package, but I get a distinct impression that the ...
64 views

How do I recreate this two-column TOC layout with chapter goals on the left and TOC on the right

Recently I have been looking through Till Tantau's (the creator of TikZ) script on logic (see here). He uses a beautiful layout at each beginning of a chapter. So I want to recreate the little "...
28 views

Greek fonts in Calibri, Times, Consolas etc

I am confused and I have a general-purpose question. If I want to use Calibri, Times, Consolas fonts in Greek and English language (something like Libre, Microsoft Word) which is the most common way ...
22 views

How to remove Tikz pgfplot ticks from the top, bottom and right borders?

I am creating a histogram, which I've managed to do with the following code: \begin{tikzpicture} \centering \begin{axis}[ ymin=0, ymax=50, minor y tick num = 2, axis background/.style={...
121 views

Dyck paths with extra diagonals from valleys (Laser construction)

I would like to create a Dyck path in Latex with two additional features. First, I would like to number all the East step except(!) for the last one. Secondly, for each valley (that is, an East step ...
33 views

How do I use special characters from the danish alphabet as a part of keywords when using listings?

Im writing a report in overleaf about a programming language im making, I want to be able to use listings to have the syntax of the language highlighted in the report, however since the programming ...
19 views

How to change the label format on x-axis of Tikz pgfplot?

I am trying to make a nice looking histogram of my data, and have managed to produce the following so far: \begin{tikzpicture} \centering \begin{axis}[ ymin=0, ymax=8000, minor y tick num = 2,...
50 views

Mindmap diagram in Beamer

What is the proper way to include a mindmap in Beamer like the following one (adapted from here http://www.texample.net/tikz/examples/computer-science-mindmap/)? Should insert with includegraphics ...
2k views

How to write capital alpha?

Unfortunately, the command \Alpha does not produce capital version of \alpha (as one might expect in analogy with how, say, \Pi produces capital \pi). It so happens that the capital alpha looks rather ...
24 views

How to add several time periods into date cventry in moderncv?

I am using moderncv package, banking style I want to list several time periods in one \cventry. Best thing I managed is to use more than one \cventry, but this leaves too big spacing between entries....
36 views

Modifying a timeline in beamer

I have found the code in this selected answer of this questions How can I make a standard timeline? and I modified it to achieve what I want. \documentclass[svgnames]{beamer} \usepackage[french]{...
20 views

double view and single view textstudio help [on hold]

Perhaps the question will seem trivial. I need a suggestion to return the view of the editor to a single view. yesterday I tried out of curiosity, the double window, but I would like to be able to ...
83 views

Matrices and TikZ : positioning a table

The idea is to reproduce the figure identically. I played to find the positioning of the blocks of text: is there a more elegant way ? \documentclass[border=10pt]{standalone} \usepackage{tikz} \...
20 views

How to modify bibstyle?

I have a small problem with the humanbio bibliographystyle. How can I say that I do not want to have the journals printed in italics? Thank you very much Nevs
23 views

how do I include PostScript grafic in A3 format?

I'm trying to includecaltab.ps to my document with the following code : \documentclass{article} \usepackage[margin=3cm,a3paper,landscape]{geometry} \usepackage{amsmath,amsthm} \usepackage{amsfonts} ...
70 views

Aligning an equation at multiple points, with both left and right alignment, as well as equals sign alignment

I am trying to achieve the formatting in the image attached, with the bracketed right equation/text aligned to the right side of the page. However, I would also like to be able to align the equal ...
15 views

Removing new line after figure [duplicate]

We've been given a template to work with. I am adding figures with the following code: \begin{figure}[H] \begin{center} \includegraphics[scale=0.7]{Figures/System/reinf-learning.jpg} \...
67 views

How to activate font fallbacks on typefaces in ConTeXt?

This is a follow-up to my previous question about setting the tt font in mathtt. As Henri Menke stated in a comment using typefaces should be preferred over font families. So I tried to convert the ...
19 views

\tabcolsep equivalent for rows? [duplicate]

I know I can make tabular less cramped by changing \arraystretch, but what I really want is to make sure there are some fixed paddings above and below row contents, like what \tabcolsep does. For ...
92 views

126 views

I want to complete my figure

This is my very simplest MWE, I honestly say that I haven't done anything new. \documentclass{article} \usepackage{tkz-euclide} \begin{document} \begin{figure}[h] \begin{tikzpicture} ...
24 views

In biblatex (and fnpct) the feature of moving around punctuation breaks if using color commands over it

Biblatex by default (autopunct = true) moves punctuations around for superscript citation. However, changing the color of the superscript by \textcolor or by \color (need extra grouping) breaks this ...
21 views

I cannot fit the coefficient, standard error, and p-level on a single page. What do I do? [on hold]

I have a big regression. 3 panels, 5 columns, and about 10 variables. STATA outputs the table with each cell like this: 150.234*** (23.4) The first thing I do is trim the needless sig figs. 150*** (...
60 views

Plotting functions on IPE

IPE Drawing Tool is a free open source software for graphing. It follows friendly with TeX programming and writing, and that's when my question comes along. I've been trying, for a few days now, to ...
30 views

How can I remove the initial letter in the Appendix heading?

I am writing a paper for school in which I need to include appendices. Currently, I am using the \appendix command at the end of the document (just before \end{document}) to insert these appendices. ...
27 views

My figures has disappeared after using tikz picture in overleaf [on hold]

I have been writing notes to my Calculus I course. These notes include some figures that I constructed using Geogebra, then I upload to my overleaf account. This week I decided to learn more about ...
16 views

Error with \Chapter? Two table of contents formed with standard command

\documentclass[a4paper]{book} \title{ \normalfont\normalsize \textsc{Location}\\ % Your university, school and/or department name(s) \vspace{25pt} % Whitespace \rule{\linewidth}{0.5pt}\\ % Thin top ...
28 views

How can I fix the position of tables formatted with renewenvironment{table}?

I've used renewenvironment{table} to make all my table rules green. I also want to fix the position of some of them, using the option H of float package, for instance. I've tried a solution like the ...
24 views

Empy .bbl file on a wiley-article document class

I am using the wiley-article document class develped by overleaf. The .cls file can be found on my previous question here. The problem I face is that even the .bbl file is generated, it is actually ...
30 views

How to fill region under a surface?

I'm trying to fill the region under the surface z = x^2 + y^2, over the rectangle 0<=x<=1, 0<=y<=1. How may I do so? Also, how do I orient the 3-d plot to as to have the x-axis coming ...
120 views

Engine problem? Creating dynamic diacritics using the Brill typeface

I’m trying to recreate the following image from John Hudson’s (principal designer of the Brill typeface) presentation slides: Source: The Brill Types, p. 22. The typeface is free for non-...
78 views

How to obfuscate text in LaTeX class

I want to do something like https://tex.stackexchange.com/a/127902/176093 however the text I want to obfuscate is in a class and currently defined as \fontsize{1cm}{0cm}\selectfont my text the class ...
34 views

Pseudocode - repeat-until command

Hello how can I rewrite repeat until command so ''until'' in line 15 is closer to number 15 (not in the same column as line14) \documentclass{article} \usepackage{amsmath} \usepackage{algpseudocode} ...
30 views

\DeclareSortingTemplate with Overleaf

I need to switch a project to Overleaf. I'm using biblatex and Biber, and I use \DeclareSortingTemplate to create a separate bibliography environment that's sorted by shorthand instead of author. Is ...
53 views

Creating an environment

I'm trying to create an environment. The code below performs something similar to what I want. My difficulty is in adjusting the content that will stay within the environment. I would like to reduce ...
43 views

The following MWE generates a ToC with different alignment according to the section level. How to force all them left align irrespectively to their level? MWE: \documentclass[12pt]{report} %-> ...
17 views

Is there any way to delete previously defined vertices in feynmf?

I'm trying to create feynman diagrams programmatically, and frequently require the need to remove individual vertices that were previously created with the fmfn or fmfcyclen commands. This is so that ...
640 views

What is the font for “b” letter? [duplicate]

What is the font for "b" letter?
59 views

Intersecting a sphere with a line

I would like to replicate the following image in Tikz. Would anybody be able to help me? I've heard that drawing spheres and lines with good coordinate systems are hard...
42 views

Encouraging LaTeX to more evenly distribute figures/floats across all pages?

I frequently run into a situation where several pages will be nothing but blocks of text, and later there will be several pages with multiple images. Is there a way to loosen how closely the figure ...