All Questions

1
vote
0answers
6 views

rearrange tikz dashed rectangle blocks

I have the following tikz code: \documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usetikzlibrary{positioning} \usetikzlibrary{arrows, chains, ...
0
votes
1answer
11 views

Centre cell contents vertically

Consider this example: \documentclass{article} ...
1
vote
1answer
13 views

How can I write a logarithmic expression using \underbrace?

I am trying to write an expression using underbrace,in which i write a logarithmic expression,but it doesn't work as expected. \[ T(n) = \begin{cases} \Theta(\log_{10} n) &, n = $$\sum_{...
0
votes
0answers
5 views

Package pgfplots Error: could not retrieve column

I have a csv file named "aaa.csv" whose content is: aa,bb,cc 1,1,1 2,2,4 3,3,9 4,4,16 I make plot with the data in this file by pgfplots. But my code fails to compile. The following message is given:...
0
votes
0answers
10 views

pgfplots: Are parentheses mandatory in axis environments?

Assumed we have this little code snippet: \begin{tikzpicture} \begin{axis}[ date coordinates in = x, table/col sep = semicolon, date ZERO ...
0
votes
0answers
19 views

tikz: azeotropic graph

Do you know an example, even a minimal one, in order to draw the graph of an azeotropic mixture with tikz? Thanks in advance
0
votes
1answer
12 views

\mobile in cvitem doesn't appear - ModernCV template

I'm trying to insert the mobile symbol in the cvitem of the ModernCV template, but I don't know how to do that. I tryed in different ways, but without any success. \cvitem{\mobile}{123456} % error \...
0
votes
0answers
13 views

Can not complete Block Diagram

By using this code can not completed block diagram as required \begin{landscape} % Define block styles \tikzset{ desicion/.style={ diamond, draw, thick, text width=4em, text badly ...
3
votes
2answers
36 views

Uneven column widths when using a long multi-column header

I have the following MWE, but I have a problem with the alignment of the last column (under the multicolumn) \documentclass{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{...
1
vote
1answer
10 views

Override table cell horizontal alignment with cellspace

Consider this example: \documentclass{article} \usepackage{makecell} %\usepackage{cellspace} ...
0
votes
1answer
13 views

Else If is not working on algorithm in algpseudocode

I tried to add \Else in my pseudocode but it is not showing and I am getting 'Missing number, treated as zero'. This is my code and the current outcome. \usepackage{algorithm} \usepackage[noend]{...
0
votes
1answer
11 views

Highlight new C++ keywords introduced in C++11, C++17, and C++20 in the listings package

C++11 added a bunch of new keywords: alignas, alignof, constexpr, etc. But they don't seem to be supported by the listings package. \documentclass{article} \usepackage{listings} \usepackage{xcolor} ...
0
votes
1answer
20 views

vertical aligning

\documentclass{amsart} \usepackage[utf8]{inputenc} \usepackage{genyoungtabtikz} \usepackage{ytableau} \newtheorem{example}{Example} \begin{document} \begin{example} Let $\tau=\Yboxdim{16pt}\young(7241,...
0
votes
0answers
15 views

Why xapptocmd is reducing the vertical space between \partname and \parttile?

Running this example: \documentclass[ 10pt, a5paper ]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} \definecolor{ultramarine}{RGB}{0,32,96} \RequirePackage{xpatch}...
6
votes
3answers
157 views

How does TikZ render an arc?

With the sample MWE below, TikZ generates the following diagram: 1. Drawing an arc \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate[label=below:$a$] (a) ...
0
votes
1answer
11 views

longtable in landscape 2 colum article center

Im have a two column article and I need to put a long table in landscape. The problem is that the table keeps aligning to the right of the page instead of centering. Any idea why? This is what I'm ...
0
votes
0answers
26 views

Line spacing - equivalent to MS Word 1.5 spacing

I am writing my thesis, somewhere towards the end of it, but also the time is tight, so I'd appreciate some help. I have to use 1.5 line spacing. However, I read somewhere that \onehalfspacing of the \...
0
votes
0answers
17 views

texshade: how to change fontshape?

I tried to use the following codes to change the fontshape of the output of texshade package as times NEW roman, however, it seemed nothing had changed without any warnings, why? And interestingly, ...
1
vote
1answer
19 views

How to place a figure on the left?

Som I need to put this image like this, but I can not and I need the image on the left of the page and, next to the image, I have centered text. I tried it with wrapfigure This is my code \...
6
votes
2answers
132 views

Simple Line in LaTeX Help!

I'm working in a project for university using latex and i'll make a gif explaning the radians of math! And I really dont know how to make this type of line (i'll put the example below) !! Plz help me ...
0
votes
1answer
14 views

Real time updating of LaTeX with sublime text on ubuntu?

Is there any way to get Sublime text to update my pdf viewer (zathura) in real time as I write?
0
votes
0answers
13 views

No vertical spacing between Theorems in Beamer

How to set no vertical spacing between Theorems in Beamer? Since the following code produce some vertical spacing above and below each theorem. \documentclass{beamer} \usetheme{Berlin} \begin{...
0
votes
0answers
6 views

A custom authoryear citation in a numeric bibliography is not working

I am using natbib package with IEEE citation style. The citation is mainly numeric but I would also like to mention author, year, and reference number (because the style is actually numeric with only ...
0
votes
1answer
12 views

Why abntex2 class is inserting a new line after the chapter title?

I am using this customization How to automatically put a [Go To Summary] | [Go Back] on each section?, but when I load it together with abntex2 class, my go back buttons are put on the next line for ...
1
vote
1answer
11 views

Changing Color of Author Thanks in Document

Let's say you have the following title in mwe.tex: \documentclass{article} \title{Sample Title} \author{John Doe\thanks{email}~ and Jane Doe\thanks{twitter}} \date{\today} \begin{document} \...
2
votes
0answers
25 views

adding microtype package produces invalid DVI error when using fouriernc package

This MWE \documentclass[11pt,notitlepage]{article} \raggedbottom \usepackage{fouriernc} \usepackage[T1]{fontenc} \usepackage[activate={true,nocompatibility},final,tracking=true, ...
0
votes
0answers
59 views

Why latex does not tell me which command is undefined?

From the beginning, took me a lot of time to come with the following minimal example: \PassOptionsToPackage{main=brazil,english,spanish,french}{babel} \documentclass[ 10pt, a5paper, ]{memoir} \...
2
votes
2answers
24 views

How to align enumerate environment inside description environment

I'd like to know how to align the enumerate list nested inside the description by the vertical black line as shown in the picture. \begin{document} \begin{description}\item[Description] \...
2
votes
2answers
23 views

Wrapping text with mathclap

How can I wrap the text from \mathclap so that the text doesn't spill over like the picture? \usepackage{mathtools} \makeatletter% From https://tex.stackexchange.com/a/419690/156344 \def\...
0
votes
0answers
26 views

How to put an image in \part page

I am trying to put an image into the same page as the \part header, something like a sub-cover. I tried something along the lines: \documentclass[10pt,ebook,italian,onecolumn,oneside,titlepage,...
3
votes
2answers
54 views

A `\coordinate` command ignored

$\triangle[ABC]$ is a 30-60 right triangle, and its right angle is at C. A is at the origin. A circle is inscribed in it; its center is at O = (2*sqrt(3)*(sqrt(3) - 1), 2*(sqrt(3) - 1)) and its ...
1
vote
0answers
21 views

pgfplots: Best practice to avoid “TeX capacity exceeded” when plotting huge data sets?

I want to create some huge pgfplot with three different axis and a lot of data points. In summary there are 20160 lines of data existent. My problem is: All few hours the values will change ...
3
votes
0answers
19 views

Break down a bibliography in Context according to category of item

A requirement for a memoir that I am typesetting (for a friend), using Context, is to separate the bibliography into several sections according to the category of the item (textbook, legal text, etc.)....
0
votes
1answer
33 views

Can't include references with biblatex

I have no idea what's going on. I'm trying to write my assignment in Latex but the references are not showing up. I put this on the preamble: \usepackage{biblatex} \addbibresource{ref.bib} My folder ...
0
votes
0answers
31 views

How can you typeset keys to get the impression of a Calculator?

How can you typeset keys to get the impression of a Ti-84 Calculator? The only responses I see are for French calculators.
1
vote
1answer
22 views

Force float to top of page selectively

Consider this example: \documentclass{report} %\usepackage{float} ...
0
votes
2answers
20 views

Reduce padding in cell with lists in tabularx [duplicate]

So I have a table that includes lists written with tabularx, however the lists have rather excess padding at the top and on the left. Is there a way to reduce this only for the space of this table? ...
0
votes
0answers
16 views

How to change the typefont of the first row of a table [duplicate]

I would like the first row of a table to have a different typefont. For example, I could have boldfaced Utopia for the first row, and normal Palatino for the rest. How could I do this? Thank you.
0
votes
0answers
10 views

Force a lonely float to top of page [duplicate]

I am not fond of solitary floats "floating" in the middle page. Consider this example: \documentclass{report} %\usepackage{float} \usepackage{lipsum} \usepackage{graphicx} \begin{document} \lipsum[1-...
0
votes
0answers
42 views

Insert code after \begin{<environment>}

Is there something similar to \AtBeginEnvironment from etoolbox but instead of placing code before \begin{<environment>}, it places the code after it. I could find a simular question here, but ...
3
votes
2answers
52 views

Moving a wrapfig vertically to encroach partially on a subsection title

It sounds like very poor typography, but I am simply looking to shift a wrapfig picture up, but in particular so it would ever so slightly go above the start of the paragraph and into the subsection ...
0
votes
0answers
13 views

LaTeX text following a path in Inkscape

I am using Inkscape to produce my images and include them in my LaTeX documents. So far I have encountered zero problem, so I don't want to change softwares. However, I tried for the first time to ...
1
vote
2answers
22 views

How to format the algorithm

I have the text for the following algorithm, but I am unable to format it, with the numbers and spacing as in the image: $COVERABILITY-GRAPH((S,T,F,M_0))$\\ $(V,E,v_0):=(\{M_0\},\emptyset,M_0);$\\ ...
0
votes
1answer
12 views

Impose vertical displacement in one column in tabular environment

I have a simple table with three columns, split (by an \hline) into the first two rows and the last two rows. Here is a minimum working example: \documentclass{article} \begin{document} \begin{...
1
vote
1answer
31 views

bold a defined color

Here is one of my custom colors that is "light blue". Sometimes it comes up very skinny on the text \definecolor{lb}{RGB}{44, 139, 183} Is there an easier way to bold or thicken the font of a \...
0
votes
0answers
17 views

TexStudio “Go to source” and \import

When using \import to store chapters in separate files, I am losing the ability to go from PDF to source and vice versa (except that compiling does take me to the right spot in the PDF). I am on 2.12....
1
vote
1answer
31 views

BibLaTeX - Sort bibliography by firstpage

I need to create a bibliography where journal articles within a volume and issue are sorted by the first page number. I can use \mkfirstpage{pages} to print the first page of the page range but cannot ...
0
votes
1answer
33 views

How can I verify that the fonts are all embedded in my LuaLatex document?

I am working with a manufacturer who is typically used to getting pdfs from more traditional Adobe tools, read: not LuaLatex. They are telling me to "make sure" that my fonts are embedded in the .pdf ...
1
vote
2answers
25 views

How can I write underneath the equation “b+b+…+b” n-times? [duplicate]

I am new to LaTex, I am using a Overleaf. I'm trying to write the equation n\times b= b+b+...+b with 'n-times' in the bottom.
0
votes
0answers
13 views

Problem with hyphenation in Ubuntu ( No hyphenation patterns were preloaded for french babel)

I have a problem when compiling a latex document in Ubuntu (18.04). I am using TeXmaker et MikTeX. The message is Package babel Warning: No hyphenation patterns were preloaded for (babel) the ...

15 30 50 per page