All Questions

0
votes
0answers
9 views

Question about exercise 6.6 from TeXbook

In the answer to exercise 6.6 it is said: TeX will try to hyphenate before \dash But the folowing example shows that it will not. \def\extraspace{\nobreak \hskip 0pt plus .15em\relax} \def\dash{\...
0
votes
0answers
7 views

Arabtex package problem

I compile a lyx file with the arabtex.sty still arab characters are not recognized even when setting encoding to UT8. What might be the problem ?
0
votes
0answers
14 views

How to convert Latex folder(combination of .tex, .png, .bbl etc.) into pdf using terminal?

I have a folder which contains one latex file, few images(in .png as well as .pdf format). I want to convert this whole folder into a pdf file similar to what overleaf does. I want to use a terminal ...
0
votes
0answers
7 views

reorder abbreviation alphabetical order with enumitem package

I have used the enumitem package for the list of the abbreviations. I wonder if there a way to reorder the abbrevs to alphabetical order? Also, I want to adjust the space between the lines. \begin{...
1
vote
1answer
10 views

Edge Coloring in graph

I'm looking for a simple solution to do Graph edge coloring, even following the tkz-graph documentation, seems my graph edges aren't being colored (neither line width is being changed), probably I'm ...
0
votes
0answers
6 views

Operations on both sides of equation with annotations

I recently found the package witharrows which allows you to annotate your equations and steps taking during algebraic manipulations and things like this for example I also like to use the gather ...
0
votes
1answer
14 views

How to give figure number inside figure using figure environment in two column formate?

I want to write (a) in the top left corner of first figure and (b) inside or outside the top left corner of figure (2). How can I do that. I don't want to use subcaption command. `\documentclass[...
3
votes
0answers
12 views

Alignment of an un-numbered multicolumn tcolorbox listing

Consider the following code: % Preamble \documentclass[letterpaper, 10pt]{article} \usepackage{calc} \usepackage{xcolor} \usepackage{listings} \usepackage{multicol} \usepackage[most]{tcolorbox} \...
1
vote
0answers
14 views

How can I draw tangents at inflection points automatically?

The function f(x) = \frac{x^4}{12}-\frac{2x^3}{3}+\frac{3 x^2}{2} has two inflection points x = 1 and x=3. I draw the tangents at the above points by hand. \documentclass[tikz,border=3.14mm]{...
1
vote
0answers
18 views

Squeeze paragraph such that lines have similar width

I would like to format a paragraph of text such that the width of the paragraph shrinks until the last line in the paragraph is about the same width as all the others. Here is an example of what I ...
0
votes
1answer
20 views

How should I cite European Union's General Data Protection Regulation?

How do you suggest to cite the European Union's recent General Data Protection Regulation? I have looked at Citing EU regulations using BibTeX, but I would like a more specific advice.
3
votes
1answer
17 views

Using a loop in \halign's preamble

I've been trying to use a macro which abstracts the structure of an \halign object to a number of columns, as mentioned in my previous question "Can I use a macro in \halign's preamble?." For that ...
0
votes
0answers
11 views

Section and subsection and text spacing

i use beamer for lyx (warsaw theme) and when i add a section the text that is following will add to the next slide. What's wrong ? Best,
4
votes
2answers
52 views

Matrix with effects

Sending out the bat signal 🦇. Could you please help me to get this piece of art? I have no idea about how to obtain it. In the meantime I’m working on a MWE: documentclass[tikz,border=3....
0
votes
1answer
10 views

edgeworth box can't draw node

I would like to draw in a caption on the top, bottom, left and right of this graph. Unfortunately I can't seem to draw anything at all: MWE: \begin{document} \begin{tikzpicture} \begin{axis}[axis x ...
0
votes
1answer
13 views

Tikz markers shape

I want to know what's wrong when I change this code, which yields a red star, to a triangle shape: This one works: \pgfdeclareplotmark{mystar}{ \node[star,star point ratio=2.25,minimum size=6pt, ...
2
votes
2answers
36 views

What is the correct way to replace “csxdef/foreach” with pure expl3 code?

I'm trying to remove the dependencies of the packages pgffor and etoolbox from a code I own which uses expl3, but I don't know which is the correct equivalent of \csxdef in expl3. At the moment I have ...
0
votes
0answers
23 views

Question regarding a special “keyword”

I wold like to know how do I get that "preposition" in bold. Is there a special command? I've seen it written like "definition" also. Thanks in advance!
1
vote
1answer
14 views

Changing markers shape in tikz

Hi I would like to know how can I get the following markers that appear on the attached picture: This is a mwe with the coordinates: \documentclass{standalone} \usepackage{subcaption} \usepackage{...
4
votes
1answer
31 views

How to draw magnetic lines of force in coil with Tikz?

I'm trying to draw the magnetic lines of force in a coil that should looks like this picture using the tikz package. I've tried to use a foreach loop with controls but (maybe I'm placing the controls ...
0
votes
0answers
18 views

Normal text in Theorem?

How do I write normal text just for a small portion in the Theorem environment? Ive tried \text{} and nothing. Any suggestions?
0
votes
0answers
24 views

Use a third-party font in LaTeX (not XeLaTeX)

Perhaps the question will sound a little concrete, not abstract, as it seems to me, it has a chance not to be deleted. Suppose we have a set font styles of font: regular.otf, italic.otf, bold.otf and ...
0
votes
1answer
14 views

Problem naming certain arrows in tikz-cd

There's something I'm doing wrong in a certain diagram, and I can't seem to figure out how to name an arrow that bends. Here's a MWE (both with the package tikzcd and tikz + library cd the same error ...
0
votes
1answer
19 views

Color background of Confusion matrix

So I have found this wonderful confusion matrix on this thread. I was wondering how could I add color to the background of the different boxes. \documentclass{article} \usepackage{array} \usepackage{...
0
votes
0answers
20 views

Looking for beamer presentation with certain characteristics

Where can I find a beamer presentation (structure) such that it's all black color, it has the shadow effect when stating definitions or theorems, it has the enumeration at the corner of the slides and ...
0
votes
0answers
18 views

Hyperref not jumping to headline

I am using hyperref to link from my toc to some \addsecs, but when I click the link in the toc, it jumps under the headline of the \addsec rather than over the headline. I'm wondering if anyone else ...
1
vote
0answers
11 views

Color qubit lines using QCircuit

I'd like to color some qubit lines in quantum circuit diagrams drawn using QCircuit as exemplified in the following image: Can this be done with Qcircuit? As a follow-up, is it possible to do some ...
0
votes
0answers
11 views

extract two 2 A5 pages from 1 A4 page

I have a pdf with 14 A4 (Landscape) pages, each of which consists of 2 A5 (Portrait) pages. I need to print this for an old lady whose sight is somewhat impaired. So I need to enlarge the text so that,...
0
votes
0answers
26 views

How can I add thickness to a line?

I have this title with two lines surrounding it. \title{\line(1,0){350}\\Whatever\\\line(1,0){350}} I want to adjust thickness to these lines and I tried playing with numbers in the parentheses but ...
1
vote
0answers
20 views

Math symbols insertion in AUCTeX

I've been facing some trouble with math symbol insertion in AUCTeX and I'm probably missing something from the available structure and options. But as I'm struggling for a while, I might as well ask. ...
11
votes
3answers
94 views

Syntax and semantics of XDV commands (XeTeX)

Donald E. Knuth has included a complete list of the syntax and semantics of DVI commands (opcode, symbolic name, number of parameters, meaning) in Computers & Typesetting Vol. E, §585, pp. 236–239....
0
votes
1answer
31 views

Embedding 2 Cases environments in one Align environment [on hold]

The problem has been solved: I would like to embed two cases environments in one align environment. Here is the desired output: Here is my MWE: \documentclass[11pt,fleqn]{book} \usepackage{...
2
votes
1answer
41 views

Exercise package : link between exercises and answers. Issue with chapters

I would like to create links between answers and exercices using the exercise package. I reset the exercise counter at the beginning of a chapter. But sometimes the hyperlink is not valid (shuffles ...
1
vote
2answers
23 views

Space between headers and title Content in ToC

I was looking all day for some alternative in ToC space between header and title Content. I found \setlength\cftaftertoctitleskip, but it's useless in my case cause I already use package \fancyhd and \...
0
votes
1answer
22 views

newcommand counter expansion problem

I am trying to write a macro to support producing a sequence of storyboards for an appendix in a two column IEEE paper. Can the value of a counter be expanded immediately for a macro? Currently the ...
6
votes
2answers
141 views

Densest sphere packing

I would like to represent the densest sphere packing in dimension 3 as the following picture, for a beamer presentation. Is Tikz the way to go for it? It is not a real 3D drawing since I only want a ...
2
votes
1answer
19 views

pgfplots: axis tick labels within the frame of the plot

For quite some time, I have been searching for a way to insert axis tick labels of plots within the frame/area of the plot. I think it less disturbs the axis labels themselves. However, there is an ...
7
votes
4answers
227 views

Draw a symmetric alien head

I am trying to draw the following "symmetrical alien head": Using the mirror code from Can we mirror a part in tikz? I was able to produce the following result While the result looks good I am not ...
0
votes
1answer
29 views

Cannot use the keyword 'and' in Bibliography

I am writing a bibliography for an article I am writing and am having the problem that when I try to include multiple authors in a reference, the word 'and' is not recognised and gets added on the ...
0
votes
2answers
21 views

Command `\pause` help

\documentclass{beamer} \usepackage[T1]{fontenc} %----- \usepackage{empheq, nccmath} % empheq package loads mathtools \usepackage{amssymb, amsthm, mathrsfs} \...
2
votes
0answers
30 views

how to deal with the Package lipsum Package expl3 too old error without loosing my work

i was compiling a template and i got this error : ! Package lipsum Package expl3 too old. so i was wondering if there is a way to update the expl3 package but without losing my previous work , since ...
1
vote
0answers
9 views

Automatic cell coloring with per-column minimum and maximum values

I want to color each cell in a table based on its value. I know solutions exist, but you have to set the minimum and maximum values globally for the table. They can be found for example in Are there ...
0
votes
1answer
18 views

Warning: some font shapes not available when compiling twenty-seconds-cv

I'm trying to compile twenty-seconds-cv but I can't get the font right unfortunately. I'm on Ubuntu and installed Texlive as described here. Everything seems to work fine, except for the font in the ...
1
vote
1answer
20 views

Changing the color of environments in beamer

I have just started lerning Latex. So, it is possible that the following doubt is very easy. I have to do a presentation with Beamer. I know that there exist specific comands to theorems, definitions,...
0
votes
0answers
12 views

Gnuplottex wrong multiplot size

I am having an issue with gnuplottex and multiplot. On my windows machine, the size and position at which the pdf is located seem to be calculated wrong. The graph gets squished down in the lowest ...
2
votes
1answer
27 views

Draw axis in block diagram

I would like to add plots inside TikZ nodes. Here is a minimum working example of the code I already have. \documentclass[]{standalone} \usepackage{pgf,tikz,pgfplots} \usetikzlibrary{calc,positioning}...
1
vote
0answers
18 views

How to Calculate x-Position in a pgfplots with Information from a Table

Situation and Problem This question is a follow-up and based on marmots answers to this question and this. The general situation is described there. Now I want to simplify input. More specifically I ...
5
votes
4answers
205 views

Why there is a red color in right side?

I am using parallel package to write texts of different translation side by side, I found parallel package accomplished this side by side texts, here in Left column is in another language and the ...
0
votes
0answers
19 views

Remove Running Headers Temporarily: scrbook, Koma Class

SCRBook, Koma-class. I need to remove running headers (primarily the reference to subsections, since there aren't any) in the introduction. Is there a way to turn the headers off, and then back on? ...
1
vote
1answer
20 views

How can I repair incorrect tangents at the points on the curve?

Let be the function f(x) = -(1/162) x^5 + 17/162 x^4 - 43/162*x^3 - 179/162*x^2 + 212/81* x + 134/81 The solutions of the equation f'(x) = 0 are x=-2\lor x=1\lor x=4\lor x=\frac{53}{5} I tried ...

15 30 50 per page