# All Questions

4 views

### Latex matrix tikz

I would like to created a matrix as the one in the picture. I read on another post that it is possible to do with tikz. My problem is that I want also to write on the left A= the matrix, with A= ...
8 views

### Margin issues with text after quotation and in overall

I'm a newbie with LaTex and could find answers on my problems relatex to LaTex through this SE group. However, I currently have an issue with the margins. Maybe my questions were too specific to find ...
18 views

### declaration of \newcommand results in missing \begin{document}

I have this code: \documentclass{article} \usepackage{fontspec} \usepackage{xcolor} \definecolor{color0}{rgb}{0,0,0}% black \definecolor{color1}{rgb}{0.22,0.45,0.70}% light blue ...
4 views

### Problem with pgfkeys

Perhaps a stupid mistake but the results are different, why ? I want the nodes on a horizontal line. If I comment \pgfqkeys{/LX}{#1} then the result is fine (the nodes are on horizontal line) ...
5 views

### how can i draw a torus specifying aaxis and vectors on it?

i tried several ways drawing a torus in a specisal direction with my desired features on it but couldnt reach my goal. how can i draw a torus showing 3 axes and desired vectors and a theta on it?
12 views

### Writing this Matrix in Latex

I want to write this matrix in Latex: I wrote this code: \[ \begin{bmatrix} 0 \ldots 0 & 0 \ldots 0 & d_{i,L} & * \ldots *\\ 0 \ldots 0 & 0 \ldots d_{i,L-1} & * & * \ldots ...
5 views

### Drawing multiple box plots from a file

I've got data in the following format n lw lq m uq uw 50 200 209 237 327 569 100 376 379 386 390 391 150 ... ... Where lw = lower whisker, lq = lower quartile, etc. I want to plot each box against ...
43 views

### How to change the format of biblatex references to have 3 columns (alpha, author, 'Titel and other information')?

I need to customize my references in the following style using biblatexs Alpha style having the columns Label, Author, and Title and Other Information. Till now with your help I could already ...
32 views

### \clist and hyperref

using package xparse I stored the author of a certain paper in a \clist in the following way \NewDocumentCommand\addauthor{m}{% \clist_put_right:Nn\l_allauthors{#1}% ...
13 views

### How to change this to color map?

Sorry if this question is too basic. I have the following, \documentclass[tikz]{standalone} \usepackage{pgfplots, filecontents} \begin{filecontents*}{h.dat} 0 0 0.0659197583889 1 0 ...
15 views

### Force wide Tikz figure to move left

I want to force a tikz (wide) figure to go to the left, without changing anything (I don't want to resize or reshape it), I just want to use the wasted left part of the page. I already tried ...
4 views

### Biblatex + biber - Sort citations by report issue

I'm trying to sort some tech report citations from the same year in the bibliography by report issue number, but have got no chance so far, i've even tried adding the month in order to make them sort ...
2k views

### LaTeX for music

I need help how to construct in Latex the following: This is one of the standard chord explanations in the music theory or practice. It is used to explain the harmonic processes in a piece of ...
13 views

### Using a widebar accent in a caption

I am using a \widebar accent as implemented here, since I don't want to use mathabx; but when I use the accent in the caption of a figure, I get a compiler error. Here's the offending code: ...
57 views

### “Write about \Lipsum 300 sentences”? Such \Lipsum macro would be neat

Disclaimer: This question is not intended to serve a general need. It is not even a question that serves my own need, or anyone else's "need". In Just a suggestion for a neat use and throw macro. ...
40 views

### tex4ebook accents displays as wrong characters + only produces ePub 2.0 no 3.0

I've installed newest tex4ebook (didn't tried for about a year). Now I can't get ePub 3.0 - only ePub 2.0 (as says Sigil 0.9.5 when opening) and Sigil says it has to fix some characters in ePub. My ...
17 views

### Illegal unit of measure for pdfpages package

I am having some trouble with an error message that I am receiving and was hoping that someone could provide some advice. The code is as follows: \documentclass[a4paper]{article} \usepackage[grid, ...
18 views

### Underbrace in matrix problem

I have the latex code below for a matrix which I want to define. The problem is that in the 5th column the terms overlap with the 4th column and the right "edge" of the matrix. Can this be solved ...
19 views

223 views

### How to create very customized “numbered” environments

I want to have an environment alike or identical to the "itemize" or "enumerate" environments in such a way that I be able to fully customize each item. For example, I want to use my very own defined ...
5 views

### Penalising page breaks within environment

I have an environment that I use to format examples in a document I'm writing. The contents of that environment typically consists of a few short paragraphs, often each only a line or two long. I ...
21 views

### defining a global flag to conditionally remove text

Apologies in advance. I deleted many features for my mwe, but I find LaTeX so hard to debug that the act of cutting out creates more errors and triggers more questions so I'm keeping it as it is at ...
10 views

### How to ignore spaces before footnotes

Footnote citations in biblatex ignore spacing before the citation command; how can I have the same behavior for all footnotes in a document? Here's a MWE demonstrating the issue: ...
61 views

### Bibliography: how to move 'MISC' category to end of bibliography, and make 'BOOK' category first

I have many books in bibliography and also need to have 2 websites. I have added it as 'misc', but it appeared at the beginning of bibliography. Could someone help me and tell how to make the 'books' ...
56 views

### Associate dynamic text to a label

I'm trying to associate some text (dynamically generated with counters) to a label, so that I can refer to that label and print the text associated(without re-generating it, that would cause problems ...
64 views

### Positioning tikz in beamer so that (0,0) is in same place on different slides

I have a presentation in beamer with several slides showing a graph with a coordinate system. I want the graph to be (more or less) centered on the slide, with the origin of the coordinate system in ...
13 views

### Bibtex errors “Environment thebibliography undefined”

I'm trying to get the simplest code to work to try bibtex but I can't figure it out dispite following tutorials/searching. I'm using texmaker and I'm quite new to this. I get these messages: ! LaTeX ...
19 views

### RevTex - Make bibliography in one column only

I am using RevTex 4.1 using Bibliography management with Bibtex. Currently all my references are at the bottom of the document, spanning both columns with a dividing line separating the references ...
20 views

### How to edit forest tree?

Here is the sample latex code i found for drawing tree \begin{forest} shade me/.style={% bottom color=#1!25, top color=#1!5, draw=#1, drop shadow, ...
23 views

### Two local problems after inserting language package

I am now writing a lecture notes on Advanced Number Theory, and I use University Lecture Series LaTex packages of AMS. Then I faced two problems. First, if I include my native language package ...
35 views

### Page numbering wrong - LaTeX not incrementing

I'm writing this questions since I couldn't find any solution here or elswhere on the internet. There are lots of questions, referring to wrong page numbers in the ToC but appearently none with my ...
24 views

### Changing reference title to “Referanser”

I am trying to change the header of "References" to "Referanser", but it does not seem to work. At the start of the code: \documentclass{article} \usepackage{graphicx} \usepackage{amsmath} ...
70 views

### speech cards / palm cards

I wish to print a document in the form of speech/palm cards. That means, the text of the speech needs to be divided up by LaTeX automatically so that it fits into boxes of fixed dimensions ...
26 views

### TikZ - Improving alignment across rows

Assume four nodes, arranged in two rows, with text inside each of them. Further assume that I would like to arrange these nodes in the following pattern: |----Node A----| |Node B| |Node C||Node D| ...
95 views
+50

### Get a command to ignore stuff in braces?

I'm using biblatex and I did this: \DeclareFieldFormat{uppercase}{\MakeUppercase{#1}} So when I want to print a field in uppercase I can use \printfield[uppercase]{title}. The problem is this ...
44 views

### Labelling Tikz Directed Edges

I am struggling to label my edges in my Tikz directed graph. I have tried using the tikz library quotes in my preamble by no success. I currently have the code \begin{tikzpicture} ...
242 views

### Texmaker doesn't export to html (OS X El Capitan)

After upgrading to El Capitan I fixed the configuration and it is working fine. But it does not export to html with the tex4ht option. It yields the following output: "/Library/TeX/texbin/htlatex" ...
319 views

### Circles inside a rectangle

I need to create a figure like this: And my poor code is the following. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[rounded corners=15pt] (10,0) rectangle ...
14 views

### class svjour3 Package mathptmx Warning: There are no bold math fonts on input line nn

Without mathptmx there are no compilation errors but if I use \RequirePackage{mathptmx} before the \documentclass[smallextended,final]{svjour3} or use \usepackage{mathptmx} after it I got the error: ...
10 views

### how can I use “\newproof{pot}{Proof of Theorem \ref{thm2}}” in elsarticle

For refering a proof to a theory I know there are other ways to use but I want to know how to use by this " \newproof{pot}{Proof of Theorem \ref{thm2}}". If I put this in preamble and make proof ...
22 views

### Using Bibtex, how to remove the [keyword] that appears before the final list of references?

How can I remove the information [keyword] placed just before the final list of references? I just want the citation [keyword] in the text, but in the final list of references I want only the ...
33 views

### Reproducing Table in Latex,

Can Someone give me a help, I would like to reproduce this table in latex (see the picture)
46 views

### Can two \vtop boxes exist side by side?

So I am trying to see if I can put two \vtop boxes side by side. The below is the closest I have gotten. This is a kind of a "plain-tex in latex" example. ...
21 views

### How to control the width of columns in moderncv?

I would like to use 3 or 4 columns (with variable width) in a moderncv document. I think in the vwcols package, and with normal text, all works fine in the document, but when I try vwcols with lists ...
20 views

### Size of a matrix is too big to fit inside text block

I know there's other topics with this kind of question, but I tried a few solutions and just got errors... My code is: \documentclass[12pt,a4paper]{article} \pagestyle{myheadings} ...
16 views

### Line width in parshape environment

I would like to get the current line width in a \parshape environment. The following variables return the full pagewidth (345pt), where I would expect 300pt: \documentclass{report} ...
7k views

### How to change font size of longtable-lines without changing font size of caption?

I'd like to change the font size of all contents of a longtable to footnotesize. However the rest of the document and also the caption (!) shall be (stay) in normal size. (pdflatex is used) How can I ...
24 views

### Divide by zero error when plotting - nothing proposed elsewhere works

I want to draw the function (sin(2x) + sin(3x))/(2sin(x)) with the command \draw[blue,domain=-8.5:8.5,smooth, variable=\x, blue] plot ({\x},{(sin(2 * \x) + sin(3 *\x) )/ (2*sin(\x))}); but somehow ...