0
votes
0answers
18 views

How to add a table in footer

How can I add a table in the footer in LaTeX? I was trying to add a table that has three rows and 2 columns. In the left column, text is left-aligned, and In the right side column, text is ...
1
vote
0answers
33 views

Classroom Seating Chart in TikZ?

I would like to make a random classroom seating chart starting from a numbered list of students. I would also like to specify the number of seats per row (as it varies in my classroom) and the number ...
0
votes
0answers
10 views

References are not shown

I've written my LaTex file completely and used all my references, but no reference is displayed at the end of file. Wherever I've used a reference within the text, a question mark is displayed and ...
0
votes
0answers
15 views

BibTeX - How to make “electronic” citation containing 4 letters

I am using BibTex for my thesis and am confronted with the following problem: I have an electronic" source http://www2.isda.org/functional-areas/research/surveys/market-surveys/ "Market Surveys Data, ...
5
votes
1answer
23 views

Print a message at the END of the log file

I there a way to print messages to the log file so that they appear in the last few line of the log file? Here is a MWE for my first attempt at doing this: \documentclass{amsart} ...
1
vote
0answers
23 views

Suggestions for improving the beamer presentation

I am a beginner in preparing beamer presentations. I don't know the advanced options available in it that make it more appealing and more sensible. Here is my code for the beamer presentation. I need ...
3
votes
2answers
27 views

Add lines above and below title

Currently working on a document of type article. I'd like to add two horizontal lines above and below the title. I tried the following: \documentclass{article} \begin{document} ...
0
votes
0answers
12 views

titling: Renewing \maketitle with defaults from manual causes compilation error though just using the defaults does not

titling includes this helpful information on page 4: The \maketitle command as defined by the titling package is essentially \renewcommand{\maketitle}{% \vspace*{\droptitle} \maketitlehooka ...
1
vote
0answers
14 views

First use of glossary entry with asterisk

My question seems easy : How put an asterisk at the end of all first use of glossaries occurrences in the text (or for exemple, put it in bold…) ? But only in my glossary, not in my acronyms. ...
5
votes
0answers
24 views

How to plot scatter points using pgfplots with color defined from table rgb values?

I am trying to plot a set of data points (scatter points not linked to each other), where each point has a different color. The color definition is given by predefined rgb values written in the same ...
2
votes
1answer
10 views

creating bibliography with natbib as an individually numbered section

hi I'm using natbib with an "apalike" style. When I generate the bibliography at the end of my document it is titles "references". Is there a way to have the title numbered in line with my other ...
2
votes
2answers
34 views

Deleted date appears in Title page

I am using TeXnic Cener on Windows. My latex document is in article format. Initially, I had the following title page: \documentclass{article} \setcounter{tocdepth}{3} \begin{document} ...
1
vote
0answers
32 views

Multiple Documents by Different Authors and One Table of Contents

I have a number of different LaTeX documents. Each document has a different title and author. Is there any way for me to: Combine all of these documents into one larger document with accurate page ...
1
vote
0answers
33 views

Hide the LaTeX output after importing PDF files generated by mathematica version 10

\documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \usepackage{graphicx} \begin{document} ...
1
vote
0answers
19 views

Multicols leaving blank pages

I am trying to create a formula sheet which I am going to use for my exams. I was able to set up the layout as I like it, bit I am having a problem on pages 4, 6 and others (as you can see from the ...
4
votes
2answers
67 views

`\foreach` command in TiKz

How come that in the code below, \foreach is unable to give me round numbers? \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{positioning, calc} \begin{document} ...
1
vote
0answers
30 views

Text color with hyperref package

I wanted to use the hyperref package and I looked for help and I found a lot of solutions. However, I used this option that look great, as I could control the colors. ...
4
votes
2answers
71 views

tikz dash rectangle in nest nodes

I want to use dash rectangle in outer node but use solid rectangle in inner nodes. But my sample code below actually dashed all node for inner or outer nodes. \documentclass[tikz]{standalone} ...
1
vote
0answers
15 views

Prevent full page image in multicols

While placing a full-width image in the multicols environment using \begin{figure*} ... \end{figure*} if the figure is larger than some fraction of the page, it takes up a whole page on its own, ...
6
votes
1answer
159 views

(Dis-)Advantages of typing (polutoniko)greek letters?

As fan of teubner.sty and gfsporson I've typed a long document with teubner-Glyph-macros >\~W f\ia le Fa\ic dre ktl.` By chance I found that, without changing anything, I can use the Greek letters ...
0
votes
0answers
21 views

How to make the (COMPLETE) preamble of a Standalone document available to a `Main Document`?

I am in the process of generating a lot of content for presentations and scripts. The standalone package and documentclass seems to be a very helpful, but I am running into an issue mentioned by Diac ...
7
votes
1answer
149 views

How not to load a file repeatedly?

I created a file version.tex with a git log message. This .tex-file is then included in my main.tex file like this: \renewcommand{\footsnippy}{% Author Name, Title of my Book, % ...
3
votes
0answers
19 views

For a group of symbols, how to get column headings(description) in the next page?

This question is with reference to the answer provided in How to achieve nomenclature entries like: symbol, Description, Dimension and unit, etc? I am able to achieve different styling for different ...
0
votes
0answers
15 views

Is it possible to use \only to conditionally enable key-value pairs of a macro?

The following is a trivial example. What I want to learn is how to use \only<> (if possible) to conditionally enable key-value pairs of a macro. \documentclass{beamer} \usepackage{pstricks} ...
6
votes
0answers
34 views

tex4ht removes spaces in array column when including a package even if the package is not used

In the following cases, Tex4ht generates an HTML file with no spaces between the columns of the matrix if some package is included, even if the package is not used. Removing the package, the space ...
1
vote
0answers
34 views

Hatch Rectangle or Area in TikZ/pgf 3.0

I just switched to TikZ 3.0 and was used to hatch rectangles similar to this thread Hatch a rectangle in TikZ actually the example given in the accepted answer ...
0
votes
0answers
15 views

avoid \headrulewidth appearing at chapter beginning

I am using the following code set my headers. \fancypagestyle{plain} \fancyhf{} \pagestyle{fancy} \fancyhead{} ...
3
votes
1answer
17 views

Vertical Spacing of Exponent when using \cancel in the Denominator of a Fraction

For some reason, using \cancel in the denominator of a fraction adds a certain height to the exponent (see minimal example below). Observe that it does not happen if the expression is in the ...
5
votes
1answer
31 views

Why does `! Missing $ inserted.` occur when using \verb in beamer?

When I use \verb+...+ within beamer I get ! Missing $ inserted. <inserted text> $ l.6 \end{frame} ? What is going wrong and how do I fix this problem? A minimal example is ...
1
vote
0answers
46 views

Draw molecule structure with torsion angles in TikZ

I am trying to reproduce this figure in LaTeX: The packages that I have seen for annotating chemical structures do not seem to accomplish what I want (not to mention that my knowledge on chemical ...
1
vote
0answers
25 views

Beamer: split header in two lines

I have a lot of sections in my beamer presentation. Because of that I cannot see all of them in the header. Since I'm using the Darmstadt theme, it seems that the header has enough space two write ...
2
votes
1answer
36 views

How can I arrange the table and the image in a minipage vertically?

I need the table and the image arranged vertically in the minipage instead of horizontally. I also add the pictures used in the code in the end. \documentclass[12pt,a4paper]{article} ...
3
votes
1answer
68 views

What is the difference between passing optional and mandatory arguments?

I wanted to define a macro which makes a program listing, and finds out a program language from an optional argument. The output I receive from the MWE below is Language set = 'Verilog' Passed ...
5
votes
1answer
27 views

Formatting for glossaries

I am new so please go easy :-). I am using the \glossaries package to make my acronym page. I have defined only acronyms. What I want is to make the description of the acronym in a separate column ...
3
votes
3answers
213 views

Fitting unbreakable large equation on one line in a twocolumn layout

I have an equation in my document which is unbreakable and does not fit on one line using the twocolumn global option. Am I forced to shrink the text size here? And how do I go about doing it? ...
4
votes
1answer
42 views

Using aer.bst, removing dashed duplicate authors

I am using aer.bst for my bibtex bibliography in LyX 2.1 and I am trying to print recurrent author names instead of using a dash. All the previous Tex.stackexchange.com advice on removing the dashing ...
0
votes
0answers
22 views

using package circuitikz causes tikz labels to not appear on vertices

I've been using tikz to create graphs and it's been working fine, but recently I added the circuitikz package to the preamble since I need to also create electric circuits. And now the labels for the ...
0
votes
0answers
24 views

how to download and install hobby package for this latex scheme [duplicate]

I get this following scheme but it doesn't work in my laptop, i work using texmaker and miKteX 2.9, i always get the error I can't find tikzlibraryhobby.code.tex, i enter the package manager to ...
1
vote
0answers
21 views

Aligning listing frame width between two listings

I'm trying to get two listings side by side. One is shorter than the other, but I would like to have them aligned, meaning that the frame height of the short one should be longer to reach the baseline ...
2
votes
1answer
30 views

Page breaks inside titlesec section headings

I use LaTeX to generate contracts and agreements. In most cases, it works okay but, every so often, it causes problems with pagination; specifically, if I have too many subsections without an explicit ...
1
vote
1answer
44 views

Why is it recommended to put \relax before \ifmmode?

I've several times seen the recommendation to put a \relax before \ifmmode in a macro. I've tried searching for an explanation of this several times on this site, but hadn't been able to find one. An ...
0
votes
1answer
30 views

Create structure / outline manually

How do I create such a construct in LaTeX: 1 Point A 1.1 Point A1 1.2 Point A2 2 Point B 2.1 Point B1 2.1.1 Point B1a ... Any suggestions?
1
vote
1answer
51 views

Redefining \^ and \~ in math mode?

\^ and \~ apply accents in text mode, but each gives an error when used in math mode. So I consider redefining them for my own use, perhaps like this: \let\old@hat\^ ...
1
vote
0answers
42 views

Calculation in TiKz coordinates

Could somebody tell me why with that code \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{positioning} \usetikzlibrary{calc} \newcommand{\loga}[1]{{log10(#1)}} ...
2
votes
2answers
41 views

Give a symbol an alphabetical “order”?

I've defined a C++ symbol in latex as \CC, which works fine: \newcommand{\CC}{C\nolinebreak\hspace{-.05em}\raisebox{.4ex}{\tiny\bf +}\nolinebreak\hspace{-.10em}\raisebox{.4ex}{\tiny\bf +}} However, ...
0
votes
0answers
19 views

Specifying columns using cellspace

I'm using cellspace to try get some more padding around fractions in tables and I'm stuck on this gibberish: \begin{tabular}[b]{ >{}l*{2}{| >{$}Sc <{$}}} What does it all mean? For ...
5
votes
2answers
122 views

Tool for converting maths writing to LaTeX

I have a dream. I want my maths writing to magically be made into a .tex file so that I can edit it. I want to write my papers, my exams, my lecture notes, everything, by hand, then wave a magic wand ...
1
vote
1answer
38 views

Float after paragraph on the same page

I always put my float environments at the end of the paragraph where it was first referenced. But I have a problem when the paragraph is split over two pages (beginning at the bottom of the first ...
0
votes
0answers
29 views

Bibtex - bibliography not working

I really don't understand it, tested everything. Hope somebody can help me! My issue: I am trying to create a bibliography at the end of a document. I tried it with a small test file: ...
0
votes
0answers
11 views

How to place a picture in sharedlatex as landscape instead of portrait

I have the following image set in sharedlatex: \begin{figure}[h] \includegraphics[width=17cm]{sensors} \centering \caption{Sensor framework} \end{figure} What is the best way to set this image as ...

15 30 50 per page