All Questions

2
votes
1answer
20 views

Hyperref command doesn't work with report document class

When I use \usepackage{hyperref} it doesn't complile the code. \documentclass[a4paper,11pt]{report} \usepackage{a4wide} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} ...
1
vote
1answer
15 views

No effect when use the command setlist with enumitem and outlines packages

I want to change the default labels of outlines package by using enumitem package, but the \setlist command does not work at all. \documentclass{article} \usepackage{amsmath, amssymb, amsthm} ...
1
vote
2answers
37 views

Right justify number with filler periods

How do I duplicate this in LaTex?
4
votes
1answer
68 views

Use specific non-unicode character in lualatex

I've looked everywhere for an answer to this question, but none could answer this specific one: I have MinionMath font (from typoma.com, MinionMath-Regular.otf) and I want to use unicode f3a0f (under ...
1
vote
1answer
40 views

pgfplots tikzpicture node to the right of axis is cut

I have a piecewise-defined function and would like a describing node to the right end of it. Unfortunately the node is cut and not visible using this code: \begin{tikzpicture} \begin{axis}[ ...
3
votes
1answer
36 views

Floating lstlisting - Getting it to split if longer than a page

When I put a long code in my file using a floating lstlisting, it is forced to be in only one page at the end of the chapter, and then some of the code is truncated and outside of the page. If I ...
2
votes
0answers
34 views

What is the most elegant way to cite two things connected by a 'joining word' with biblatex?

This question is about author-year citations using biblatex where citations are set inline in parentheses. Sometimes, it is necessary to cite two authors and to specify some connection between them ...
1
vote
3answers
23 views

Customize single \part sectioning command with correct TOC links in PDF?

I want to use one \part (so, not all) as numbered sectioning command (so, no \part*), but I want to have a separate entry for the actual part title, separate one for the TOC typeset in PDF, and ...
1
vote
2answers
87 views

Root locus plots using LaTeX

On my homework, I need to create a root locus plot. Wondering if anyone out there has good suggestions for a package that is able to create root locus plots, or a general plotting package that is ...
0
votes
0answers
14 views

Lyx in-text citation

I am using Lyx with BibTex, and my references/bibliography is alphabetical. However, when I create a citation in-text for multiple authors, I want the (Author, year#1; Author, year#2) to be ...
1
vote
1answer
37 views

References in a specific format with parentheses

How can i cite authors who share the same idea about the same subject using the command \cite? I am using these packages: \documentclass[oneside]{normas-utf-tex} \usepackage[brazil]{babel} ...
3
votes
1answer
30 views

ucs and biblatex incompatibility (mathletters and utf-8)

I have a document that I was writing with UTF-8 chars using TexStudio, MixTex (x64) and pdflatex. All updated and running on Window 7 SP1 x64. Then I decided to start using biblatex citations and now ...
0
votes
0answers
34 views

Remove space after figures

I used the below command in the latex. The problem is I have very annoying large spaces after and before figures. Any help? \begin{figure}[H] \belowcaptionskip = -20pt \begin{center} ...
2
votes
1answer
16 views

RStudio problem with xtable “results=tex”… “object tex not found”

I am using the 'compile pdf' button in a .Rnw file in Rstudio, including the following: <<longterm1, results=tex, echo=FALSE>>= print(xtable(longterm), include.rownames=FALSE, ...
4
votes
1answer
19 views

Set hyphenation with polyglossia

If babel doesn't know how to hyphenate a word, I can inform it of good line breaks with \babelhyphenation: \documentclass{article} \usepackage[nynorsk]{babel} ...
4
votes
1answer
34 views

Combination of microtype and algorithm package fails to compile

I try to compile the following MWE: \documentclass{article} \usepackage[activate=true,final,tracking=true,kerning=true,spacing=true]{microtype} % improves font appearance. ...
1
vote
0answers
39 views

Inserting latex lines into a pdf? [on hold]

Apologies in advance if this is a simple question. I spent a couple hours on google and couldn't really figure it out! I takes Physics notes at uni by editing PDFs that contain skeleton notes. I ...
0
votes
0answers
32 views

Wrong export of my CV in PDF under windows

Recently I created my CV in Lyx. At the preamble I have also add the followings: \frenchspacing \usepackage{fancyheadings} \pagestyle{fancy} \chead{\textit{my name in greek · cv in greek}} The ...
0
votes
0answers
34 views

How to have a visual indicator for the hyperref target in PDFLaTeX

I want to be able to link to an item within a PDFLaTeX document and have the linked item pointed out by some indicator (perhaps a flashing arrow or something similar) when I land in its page. So for ...
0
votes
1answer
33 views

pdfLaTeX producing blank output

Very odd situation. Can't give an MWE as I am using a custom class that I wrote (I cannot distribute it publicly because of the rights for some of the code I have included for logos, etc. - not easy ...
5
votes
0answers
59 views

What are your favorite lesser-known LyX tips and tricks?

Things that you have learnt from experience which might help others.
5
votes
1answer
64 views

Graph algorithm

I must make an animation of one algorithm on graph, I must make something like bfs, starting in one vertex and increasing values of other vertices. Then we take another vertex and start once again, ...
3
votes
0answers
30 views

Labeling only one tick mark but having other tick marks on x-axis

The code provided has pgfplots mark 5 tick marks on the x-axis (at increments of 5 starting at 5). I would like to have only one extra tick mark labeled - the one at 2. \documentclass[10pt]{amsart} ...
4
votes
0answers
94 views

Reasons to prefer tikz or pstricks over any GUI driven graphics tool

If I need a figure for a document I usually use TikZ or PSTricks. Sometimes I would like to promote it to other people who usually use only GUI programs for such kind of stuff. But then I restrain ...
1
vote
1answer
19 views

Using XeTeXlinebreaklocale for non space delimited languages, locales?

I am currently using xeCJK for Chinese/Japanese/Korean languages. Using Polyglossia for Thai, with the line break setting: \XeTeXlinebreaklocale "th" I've seen several people discuss the use of the ...
0
votes
0answers
15 views

Can't load TeX Live Database during install

Currently, I have downloaded Tex live from here but I encounter a problem while installing it. Here is the problem "Couldn't load remote Tex Live Database. Please go back and select different ...
3
votes
1answer
41 views

`pgfplotstable`, table overlapping graphic

I have a pgfplots graphic in a pgfplotstable, and a part of the graphic is overlapped by the table like you can see in this picture: The 800 at the top is cut by the tabular border. Here is a MWE: ...
8
votes
3answers
99 views

How to split item in itemize over two lines

I have to use the document set up with the packages shown because this is dictated by the journal. I simply want to prevent the item shown below from disappearing off the right hand side of the page. ...
3
votes
0answers
30 views

Text highlighting that works with CMYK xcolor mode?

I looked at Cool Text Highlighting in LaTeX, and as my MWE (below) demonstrates: ... the first part, highlighted with soul's \hl, fails when [cmyk]{xcolor} is used. The accepted answer in the link ...
4
votes
1answer
25 views

How to append style with decorations.pathreplacing?

\documentclass[tikz,margin=3pt]{standalone} \usetikzlibrary{decorations.pathreplacing,calc} \usepackage{pgf} \tikzset{alamain/.style={% decoration={show path construction,% lineto code={ ...
0
votes
0answers
9 views

Using a comma-separated list for a cycle macro [duplicate]

I am doing abstract algebra and it is rather tiring to have to write \begin{pmat}1 & 2 & 3\end{pmat} or something of that nature every time I want to write a cycle. I was thinking of a macro ...
2
votes
1answer
35 views

Tweak and prettify a nested table

I am attempting to create a table in which cells of one of the columns contains a nested table as the cell value. So far I have got this: \documentclass{article} \usepackage{array,multirow} ...
0
votes
0answers
41 views

Using Biber in Biblatex

(This must be a duplicate, but I cant find this asked anywhere so...) I am trying to make a bibliography in a LaTeX document. Currently I am successfully using a back-end of Bibtex in Biblatex. In ...
2
votes
1answer
43 views

beamer margins in custom template

I have made a beamer template and I want to change the margins, especially the one of the main body block, from the template itself. I have read about \voffset and all the other margins from another ...
2
votes
1answer
44 views

How to refer to a word inside a running text as a TikZ coordinate?

Say you have some running text, and you want to be able to refer to some part of that text (like a single word) as a TikZ coordinate in order to, for example, draw edges to that word. What's the best ...
2
votes
1answer
33 views

TikZ decorations.pathreplacing and lineto curve ignored

Why the decoration option is ignored ? \documentclass[tikz,margin=3pt]{standalone} \usetikzlibrary{decorations.pathreplacing} \tikzset{alamain/.style={% decoration={% lineto code={ ...
0
votes
1answer
15 views

Continue counting for footnotes in a sideways-table

I'd like my sideways-table footnotes to continue the counting of the normal footnotes. At the moment the footnotes in my sideways-table restart counting. Here's what I've got: \documentclass[11pt, ...
9
votes
1answer
376 views

Using LaTeX to solve math problems in LaTeX more efficiently than with only paper

I have been always solving math problems in LaTeX without pen and paper, since a few years ago. Some have (many) lines of words, some (many) lines of equations, and some of both. When I saw that I ...
4
votes
1answer
55 views

How to create a a package that can be installed by tlmgr?

I want to be able to use a proprietary font on a number of Linux machines for which TeXLive is installed locally (not through the package manager). I have followed How do I use TrueType Fonts with ...
3
votes
0answers
30 views

Custom vertical lines with pgfgantt (pgf multiplier issues)

I'm having some issues drawing vertical lines in a ganttchart (using the pgfgantt package). The approach is to define the bars in the chart using a dd-mm-yyyy format but only showing the months. To ...
0
votes
1answer
33 views

How to customise the title page of a professional writing with logo?

Title page customising is a repeating activity: whether writing thesis, a company report or something else. I am trying to gather here material suggested in chat and that I found so they do not get ...
1
vote
1answer
21 views

Forcing left text alignment in a fit Tikz node?

I would like to add Tikz "marker" nodes in running text; then fit another node based on those "marker" nodes' positions; and insert a text into the fitted node, such that it is left aligned, and with ...
1
vote
2answers
44 views

Subscript and superscript for arbitrary symbols in plain TeX

I am trying to obtain a black square with a subscript and a superscript in plain TeX. So far I managed to create $\buildrel abc \over\square$. I could easily use nested \buildrels to achieve the ...
4
votes
2answers
86 views

Processing “List” of “List”

I implemented a short macro that processes a comma separated argument list to format them. So by calling \macroa{ABC, DEF} it will format the text to ABC DEF Now what I would like to have is ...
5
votes
1answer
137 views

Adding a number to every element

I have a table, whose entries are a list of one or more numbers. Now, I need that all numbers in the table are to be incremented by 1. For example, say, I have the table: \documentclass{article} ...
4
votes
2answers
167 views

How can I remove the qed symbols from all lemma proofs?

the following code will only make the qed not appear in the second proof. However, it it possible to make the qed symbol never appear at the end of the proofs without having to specify it locally ...
0
votes
1answer
40 views

Numbering tables with tabular

I'm really new to Latex and would need some help with some basic coding: I can't number this table (which I would just be Table 1 right now). \label{tab:Deactivation} is not working, if I place it ...
2
votes
0answers
59 views

Embedding LaTex code in pdf [on hold]

Basically what I would like is a possibility to copy-paste LaTeX code (e.g. Formulas) from a PDF document, for use into other LaTeX documents, is this possible? I'm not aquainted enough with the pdf ...
3
votes
1answer
120 views

Plotting a function on a triangular domain using pgfplots

I would like to draw a function on a triangular domain using tikz. For example, I would like to draw the function x*y on (-1, -1) -- (-1, 1) -- (1, -1). This is a MWE for the rectangular domain (-1, ...
13
votes
2answers
60 views

amsmath matrix vs loading the array package

Here is an interesting interaction. Consider the example below. When ever the array package is loaded, extra space appears on the right in the output. Any ideas as to why? ...

15 30 50 per page