All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

MiKTeX consistently failing macOS

I am trying to install MiKTeX on a new macOS system. Each time that I try to compile any .tex file, I get the following error: jwalsh23@Jacks-MacBook-Pro-14 $ pdflatex CV.tex This is pdfTeX, Version 3....
user avatar
  • 1
0 votes
0 answers
6 views

draw diagramm in tikz

I am struggling in drawing a tikz picutre. Can someone help me? Here Is what I want to draw (neglect the arrow that is crossed out). Can someone please help me with some code? I think it is not that ...
user avatar
0 votes
0 answers
10 views

I need just the number of chapters to appear in the header, and not the chapter word and the number

I enclosed three pictures of the notes of my work. I numbered the notes inside red squares. 1- The first note, in page one, I need the title of each chapter to be higher than it should be in this ...
user avatar
  • 1
1 vote
2 answers
23 views

How to adjust width of a table in LaTeX?

I am working with LaTeX and I am trying to fit a large width table into a singular page width. It would appear that the names of the variables are too long and thus causing the table to be 'pushed' ...
user avatar
0 votes
0 answers
8 views

Align latex exam multiple choice of multi columns stuff

I'm typesetting a economics exam paper using \documentclass[exam]. I have some questions like the following Case 1: two column with short headline Case 2: two column with long headline Case 3: ...
user avatar
  • 111
0 votes
0 answers
13 views

Increase size of coordinate system numbers \tkzGrid

Hello I am working on the following tikz picture below. I wonder if there's a way to increase the size of the numbers of the coordinate system and the labels of the axes (x,y). Here Is my code: \...
user avatar
0 votes
1 answer
31 views

Why is this \def failing?

This is just a small snippet, for debugging: \documentclass[12pt]{article} \usepackage{amsmath} \def\block#1{\begin{array}{ll}\ &{#1}\end{array}} \def\sub#1#2{\text{#1}:\\\block{#2}} \begin{...
user avatar
  • 733
0 votes
0 answers
10 views

Biblatex: No "pp." in front of pages if pages field contains colon

I have noticed that the output of biblatex for a entry of type @inproceedings is missing the "pp." in front of the pages if the pages-field of the entry is of the shape x:1--x:15. I strongly ...
user avatar
  • 43
0 votes
1 answer
18 views

How to place six subfigures in 2 columns x 3 rows form, where column first shall be considered instead of row first

I have been struggling to place 6 subfigures in 2 columns and 3 rows, where the subfigures should be stacked in column first (one main caption) -- see illustration below. In the following question, ...
user avatar
0 votes
1 answer
36 views

How to create such a beautiful titlepage

I am trying to create such a beautiful titlepage with orange color, name andlogo of my university and "Mémoire de Master" for my master memoir in the place of "Thèse de doctorat". ...
user avatar
  • 1
0 votes
1 answer
15 views

Error : Missing $ inserted in \begin{cases} and basic questions?

\newpage \section*{Basics} \begin{definition} [\textsc{Pochhammer}-Symbol] The \textsc{Pochhammer-Symbol} with $(a;q)_n$ is an expression in combinatorics, which is defined as \...
user avatar
0 votes
0 answers
12 views

Organize bibliography in (different) alphabetical order

I have, more or less, the following code: \documentclass[12pt]{report} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage[backend=biber, style=alphabetic, maxbibnames=9]{biblatex} %\...
user avatar
  • 143
0 votes
1 answer
34 views

writing a menu in latex

I am trying to write a simple menu. I would like to insert aligned numbers on the left and want to fit the following on one page, if possible should look more like a menu. many thanks in advance. \...
user avatar
1 vote
0 answers
14 views

Changing only one property of font globally for all tikz pictures but keeping other locally set properties of font

I am writing a thesis with many plots. I would like to be able to change one property for all plots globally. In my example I try to change the size of the font of the ylabels of all plots, but I ...
user avatar
2 votes
1 answer
38 views

How to Automatically Center Verse

Consider the following code: \documentclass{book} \textwidth 5.75in \usepackage{verse} \begin{document} \thispagestyle{empty} \LARGE \vskip 25pt \begin{center} \textbf{Casey at the Bat} \end{center}...
user avatar
  • 4,841
0 votes
1 answer
31 views

missing number, treated as zero in longtblr?

i tried to reproduce a table found in tabulararray, and it did not look like what i expected it. i use overleaf. MWE: \begin{document} \usepackage{tabularray} \UseTblrLibrary{booktabs, siunitx} \...
user avatar
  • 65
0 votes
1 answer
34 views

typing text in beamer

After downloading the latest version of MikTex, i type maths and it gives me satisfactory outcome. But when i first type the title, author etc...it gives me nothing! Do i have to use another \...
user avatar
0 votes
0 answers
25 views

pass tabular argument from \newcommand

I want to pass the tabular argument|p{5cm}| p{1.5cm}| p{8cm}| from the newcommand \csvautotabularcenter{2.csv} since it will change as the number of columns change based on the input file . I know you ...
user avatar
0 votes
1 answer
13 views

How to force text to be on the left and an equation to be centered in a beamer align

I have this latex code: \documentclass{beamer} \usepackage{amsmath} \usepackage{xcolor} \title{Amsmath example} \author{Overleaf} \date{May 2021} \begin{document} \definecolor{bettergreen}{RGB}{84,196,...
user avatar
  • 103
2 votes
1 answer
21 views

How can I use tikz-cd and \mathsurround simultaneously?

The proper formatting I need to use includes the line \mathsurround=2pt, but this ruins the arrow placement in tikzcd environments. Can I temporarily turn \mathsurround off, either by recovering the ...
user avatar
  • 338
2 votes
0 answers
27 views

Scatter Plotting an Image in a Pspicture with Polar-Type Coordinates

I would like to be able to direct an image from a fixed point in a pspicture to various locations in the picture individual specifying angles and radii from that point. Consider the code (which I ...
user avatar
  • 4,841
0 votes
0 answers
38 views

pdf generated by pdflatex is missing characters [closed]

The following file is rendered as expected source.tex \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \title{Problem Set 04} \author{Mostafa Touny} \date{2022} \begin{...
user avatar
0 votes
3 answers
25 views

Using titlepages with memoir

I was wondering how to use the titlepage package together with the memoir package. I'm wondering what I'm doing wrong. The code is from \titleHGP on pages 48-49 of the titlepages.pdf I'm looking for ...
user avatar
  • 3
3 votes
0 answers
30 views

\regex_set:Nn is not working properly

I was testing some regular expressions in expl3 when I noticed that the method \regex_set:Nn does not seem to set a regex properly when one wants to add to it the all-matching pattern (.). That can be ...
user avatar
0 votes
0 answers
16 views

How to cite title only but create auto "hereafter" shorthand and add short title in the bibliography?

I am new to LaTeX and have some questions regarding biblatex. I would like to know how to use \citetitle to enjoy the function of shorthandintro? I have learnt from here (Custom abbreviation for ...
user avatar
  • 1
2 votes
1 answer
32 views

How to writing files with expl3

I'm start to study expl3 but it's so difficult for me. I'm trying to understand how file management works. How can to fix my next mwe for don't ignore the lines break at the first call to \Write ...
user avatar
2 votes
2 answers
66 views

LaTeX macro for complexity theory problem statement

I'm writing a thesis where I define some computational problems and I want them all to have the usual style presented in textbooks. Something like this: I defined a command to do this easily as a ...
user avatar
0 votes
1 answer
18 views

table of content file is empty after pdflatex compilation

On compiling a tex file into a pdf by pdflatex sample.tex, which contains \tableofcontents command, file sample.toc is generated as expected. However it is empty (0 bytes). Here are the files: sample....
user avatar
1 vote
2 answers
21 views

Generalize the bitheader field of bytefield package

I am trying to generalize the bitheader from the bytefield package. \begin{bytefield}[endianness=little,bitwidth=0.0625\textwidth]{16} \bitheader{0-15}\\ \bitbox{1}{\footnotesize START} & \bitbox{...
user avatar
  • 81
0 votes
1 answer
38 views

LaTeX3 Verbatim-Like Command Illegal in Argument

LaTeX cmd: Verbatim-like command '\checkboxYesNo' illegal in argument. I get the above message when I tried to migrate away from using tabu & xstring combination to tabularray & native LaTeX3 ...
user avatar
  • 79
0 votes
1 answer
10 views

Image on full slide with captions in beamer

I followed this answer to put a picture on the full slide: https://tex.stackexchange.com/a/333121/27523 { \setbeamertemplate{navigation symbols}{} \begin{frame}[plain] \makebox[\linewidth]{\...
user avatar
  • 747
0 votes
0 answers
14 views

\lstMakeShortInline fails with some characters when luatex-ja and microtype are involved

The following MCE example: \documentclass{article} \usepackage{listings} \usepackage{luatexja-fontspec} \usepackage{microtype} \lstMakeShortInline! \begin{document} Foo !\foo! \fontspec{Latin Modern ...
user avatar
0 votes
0 answers
30 views

Box diagram with latex

Any idea of how can I create something like this?
user avatar
  • 101
0 votes
0 answers
48 views

How to type "nicely" the following math expression using libertinust1math math font

Using the following packages, i.e. libertinust1math in particular, how can I type nicely subscripts of \mathbf expressions? \documentclass[12pt]{book} \usepackage{cmap} \usepackage[utf8]{inputenc} \...
user avatar
  • 61
0 votes
0 answers
20 views

Undefined control sequence.\n\\set@color ->\\special {color push \\current@color \n" with beamer

I updated the packages via tlmgr, then when I run the example code in the texdoc with vscode, the recipe would terminate with error. There does exist a pdf, but the first page is strange and the ...
user avatar
0 votes
0 answers
30 views

How to add a separate caption for each sub-figure?

How can I have a single caption above both figures, with two separate distinct captions above each? I also want to make it count as two figures and not as a single one as it is right now. \begin{...
user avatar
0 votes
1 answer
21 views

text on multiple lines inside tikz baseline with node

I would like to have a text on multiple lines within the TikZ baseline framework. I try to make myself clear. This is the example: \documentclass{beamer} \usepackage[utf8]{inputenc} \usetheme{default}...
user avatar
  • 143
1 vote
1 answer
43 views

Draw a flowchart

I want to draw a Flowchart in latex the main idea is in this image and I try to do it as this by use this code \documentclass[12pt]{report} \usepackage{tikz} \usetikzlibrary{shapes.geometric, ...
user avatar
1 vote
0 answers
43 views

Detect \end of an environment

I'm trying to create a macro that grabs everything till the end of the current environment and parses it. At first, I just want to put ! right after my macro and another one ! before the end of ...
user avatar
  • 1,849
0 votes
1 answer
24 views

Changing/Adding the Caption label

I wanted to have a new caption label "Plate 1", "Plate 2".... and so on. In addition, the same document should have figure and table captions also. That means I need "Plate 1&...
user avatar
1 vote
0 answers
14 views

Put the horizontal line in the header of moderncv *behind* the text?

Consider the following MWE: \documentclass[11pt,a4paper]{moderncv} \usepackage{newpxtext} \moderncvstyle{casual} \firstname{Asdf} \familyname{Xyz} \title{Curriculum Vitae} \photo[220pt][0pt]{example-...
user avatar
  • 183
0 votes
1 answer
25 views

how to expand clist_if_in parameter in expl3

How to expand parameter l_element_b in clist_if_in condition in expl3? Here is my MWE: \documentclass{article} \ExplSyntaxOn \clist_new:N \l_some_clist \clist_set:Nn \l_some_clist {A,B} \str_set:Nx ...
user avatar
1 vote
1 answer
33 views

How to change the default background color in `tabularray` package in LaTeX?

I make a lot of table in my tex file and I want to change all the table's background color to RGB{245,246,246}. Is there a way to change all the tables' background color to that? What should I do?
user avatar
  • 437
0 votes
1 answer
12 views

force line breaks in long character strings that contain highlighted text (seqsplit does not work here)

I have a long string of characters containing highlighted text by way of a colorbox. Inside it, \seqsplit is ignored. How can I force line breaks within the highlighted text? Please note: \seqsplit ...
user avatar
  • 667
0 votes
0 answers
34 views

Incorrect formatting of table with graphics inside using centering statements

Hello I am trying to produce this beautiful table with ducks. I have two formatting issues that are tied: the most annoying one is that when zooming on the table the white \Xhline or the color bands ...
user avatar
  • 101
0 votes
1 answer
32 views

Combine arevmath (or similar) with unicode-math

Say I need to use a certain sans serif font (not Arial, but I am using this in the example, because it is widely available). As a consequence, I need to use a sans serif math font. The main font ...
user avatar
1 vote
0 answers
20 views

Standard for labelling align environment

Is there a standard for referencing equations in an align environment 'collectively'? Meaning that there is one global label along with all the individual labels as in \begin{align} % \label{eq:abcd}...
user avatar
  • 258
0 votes
2 answers
49 views

How to draw line parallel to a line and tangent to a circle?

Suppose a line is given in asymptote and a circle is also there. How can I draw a line tangent to circle parallel to the given line?
user avatar
  • 115
3 votes
2 answers
186 views

How to have both horizontal and vertical curly braces in a matrix?

I want to make horizontal and vertical curly braces to show up simultaneously just outside a matrix, but it only works when I put one or the other, instead of both. I use \left.\right\} for vertical ...
user avatar
0 votes
2 answers
41 views

Tkz-Euclide labelling issue

I'm using tkz-euclide to draw some diagrams. \begin{tikzpicture} \tkzDefPoints{0/0/O,4/0/P} \tkzDrawCircle(O,P) \tkzDefPointBy[rotation= center O angle -60](P) \...
user avatar
  • 591

15 30 50 per page
1
2 3 4 5
4686