2
votes
1answer
33 views

Missing natural names with \autoref in Beamer. A beamer bug?

Using hyperref and beamer together, I encounter the following problem. Command \autoref which is supposed to add the name of the referenced item, does not work. Here is a minimal example that ...
3
votes
1answer
3k views

Problem in bibtex when using authordate1 bibliography style

I need to use the authordate1 style in my thesis. When I compile, it always shows a lot of errors from bibtex. My bibtex file is: @Book{ Card:1983:PHI:578027, author = "Stuart K. Card and Allen ...
2
votes
2answers
23 views

Package changes horizontal pipe to horizontal for chapter formatting

I need to change the style of my chapters to a different one. I found a package which would do that, and it works nicely. However, my code before the edit was like this: ...
1
vote
2answers
64 views

Plotting Floating point number when changes are very small in data

I want to plot the following data, i am using the CSV file, and pgfplotstable package. (0,2.42130785530195E-02), (113.8,2.42130785530195E-02), (227.6,2.42130781357695E-02), ...
0
votes
0answers
33 views

Is there an accepted best practice when it comes out to laying out code? [duplicate]

Many languages, such as python, have strict rules as to how best to lay out the code. I have looked around but I can't find anything that details this for Latex. For example when looking at creating ...
1
vote
1answer
20 views

\mathellipsis in XeLaTeX with mathspec

Following the solutions Punctuation marks in math mode in xetex/mathspec and XeTeX/mathspec punctuation issue, I am making adjustments to mathspec to force XeTeX to use punctuation marks of the ...
11
votes
3answers
344 views

Alignment in math equations

How can I align my equations as in the image below? I know \begin{equation} \begin{split} x_1'(t) &= x_1(t)+2 x_2(t) \\ x_2'(t) &= 3 x_1(t) \end{split} ...
0
votes
0answers
19 views

How can I use multicolumn or multirow in a tabular using the array package global formatting technique?

Awhile ago, @robintw asked a practical question: Make first row of table all bold It uses the array package to cleverly inject formatting code to the header row columns. Clever Table Row Formatting ...
0
votes
1answer
39 views

Change font automatically when typing CJK characters, possibly lualatex

The title says it all already. I found how to change fonts with fontspec and lualatex, however I wonder if there is an easy way to mix Latin characters with Japanese characters without explicitly ...
0
votes
2answers
22 views

Table appears to be incomplete in latex pdf generated

my code is given as below \begin{table}[H] \begin{tabular}{|c|c|c|c|} \hline \rule[-1ex]{0pt}{2.5ex} JP1/JP14 Pins 1 – 8 & Description & JP1/JP14 Pins 9 -16 & Description \\ \hline ...
5
votes
1answer
42 views

How can I override geometry's scale in the preamble? (E.g. if a class or package has set a default using geometry.)

With some geometry options, it is possible to override a previous setting in the preamble. For example: \documentclass{article} \usepackage{geometry} \geometry{hmarginratio=1:1} ...
6
votes
3answers
93 views

Autosegmental Representation in tikz-qtree

This is what I want to achieve and this: But all I've been able to make with tikz-qtree is the following: \documentclass[12pt,a4]{article} \usepackage[utf8]{inputenc} ...
0
votes
1answer
31 views

Cursor in wrong position when editing

I just installed MiKTeX 2.9 and TeXstudio 2.9.4 on a relatively new Windows 8 machine. Whenever I try to edit text, the cursor is about a tab away from the text. When I go back and edit text the ...
0
votes
1answer
55 views

having problems with \frac command [on hold]

in my formula I have typed , the first term , SF1 ,doesn't go above the nominator line, A11 = \frac{ \frac{\sum SF_{1_{i}}}{E}}{\epsilon_{11}} could you please help me spot the problem? I hope ...
8
votes
3answers
166 views

Using & in macro abstracting a tabular's row

I am attempting to create a macro for table rows. This will allow me to change the order of the columns in the future, without having to change the order of the columns in every single row. I have ...
4
votes
2answers
57 views

Quote marks - Inverted L / Gamma symbol style?

I'm using XeLaTeX along with the cjk package. I'm trying to recreate quotation marks like the inverted L symbols in the following image: A first attempt. Here's a MWE after looking at the comments ...
3
votes
1answer
37 views

How to suppress footnotes in pdf output?

I have an ambitious plan to annotate and comment a fairly lengthy book that is in the public domain. I plan on doing this through extensive footnoting, but I was wondering if there is any way, once ...
2
votes
1answer
41 views

Name to the Left and Bottom address to get displayed to the top right?

Could you please tell me in modern CV (link: https://www.overleaf.com/2044974tyzpjg#/5169602/) How to move the name to left, remove the underline and also make the bottom address to get shown up right ...
5
votes
1answer
64 views

How to get LaTeX to ignore a specific warning?

I use \over even though it is a bad practice (yes, yes, I know I shouldn't). Whenever I compile a LaTeX file using it, I get the message: Foreign command \over; \frac or \genfrac should be used ...
0
votes
0answers
28 views

Placing a figure inside a table which needs to be listed in the table of figures

I need to put a figure inside a table and then list it in the table of figures. What I made and failed is this: \begin{longtabu} to \textwidth {..omitted for brevity...} \caption{Table of components} ...
1
vote
1answer
95 views

Problem in footnote with arabtex package

I have a problem if I try to typeset a footnote while using the arabtex package. The problem is that the number is still in left side and the text is in right side. MWE ...
1
vote
2answers
32 views

How to change the format of multiple citings?

I'm using: \documentclass[journal]{IEEEtran} \usepackage[noadjust]{cite} \renewcommand{\citedash}{--} \begin{document} \cite{something1, something2, something3} \bibliographystyle{IEEEtran} ...
2
votes
2answers
23 views

shrink knitr output to multiple columns

I am providing a very simple example here. In my dataset, I have 50+ names in column. I get annoyed by the fact that colnames() output takes 50+ lines too! Is it possible to divide the output over ...
1
vote
3answers
76 views

How to force a newline

I want to have a new line after a bold written text. Sadly the following LaTeX code does not work (this is my original section): \section{Analyse des Firefox-Source-Code} Der Source Code von Firefox ...
3
votes
1answer
17 views

memoir \setfloatadjustment does not work after loading fixltx2e

Consider the following snippet: \documentclass{memoir} \usepackage{fixltx2e} \setfloatadjustment{figure}{\raggedleft} \begin{document} \begin{figure} ABC \end{figure} \end{document} When you ...
3
votes
1answer
34 views

Look for file in different directory

I'm using gnuplot to graph some things and I have to embed the graphics in latex. The document class I'm using is article. I'm using an epslatex terminal in gnuplot so I get two files, a .tex and a ...
2
votes
2answers
45 views

Listings: add vertical padding without abusing frame

I have the following setup for my displayed listings: \documentclass[a4paper]{article} \pagestyle{empty} \usepackage{listings,xcolor,lipsum} \lstset{ backgroundcolor = \color{yellow}, ...
3
votes
1answer
16 views

Plot Width Error with pgfplot's groupplot in Beamer

I am making a 3x3 matrix of plots in a beamer slide. Position (1,1) is empty, the rest of the first row has column titles and the rest of the first column has row titles. Positions (2,2) to (3,3) ...
3
votes
1answer
92 views

Table too large for longtable?

i have a very wide table that will not fit on a page horizontally (nrow = 127, ncol = 60). I am using longtable to handle the number of rows (breaking onto the next page when the number of rows are ...
4
votes
1answer
33 views

layout print in minipage

I need to print a page with some information on it and I also liked to print the layout of the page but I don't want it to cover the full page as is usually printed by using the \layout command from ...
2
votes
1answer
22 views

Figure spacing carrying over to next page

I'm trying to make an image align with the text it's positioned next to. I've managed to make the top align fine by using \setlength{\intextsep}{0em}%, but for some reason the bottom vertical spacing ...
2
votes
1answer
15 views

page numbers in bibliography file

I'm using \documentclass[journal]{IEEEtran} \begin{document} \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,bibliography} \end{document} One reference in my biliography.bib file I have: ...
8
votes
2answers
306 views

Is this sacrificial command a good idea?

I have this command: \newcommand{\name}[1]{\edef\name{#1}} You first call it as in \name{Don} and afterwards you can refer to Don using \name. Is this an accetable way to express a constant that ...
2
votes
2answers
31 views

Multi-line alignment : two pictures on the first line, third picture on the second line in a square fashion

I have three picture to show, in three different aspect ratios, and I'd like to align them so that the two first have the same height on the first line and the third has the width of the two first, so ...
4
votes
2answers
28 views

How to format line in algorithm

I use ACM conference paper template (Two columns) to write paper. The problems bug me for a long time about Algorithms format: The function name always converted to UPPERCASE. Larger blank between ...
2
votes
2answers
61 views

vertical line between the cells

could someone kindly help me out how to solve this problem by completing the vertical line between the cells. Regards \begin{table}[htbp] %\setlength\extrarowheight{3pt} ...
87
votes
3answers
6k views

Fundamental differences : PSTricks, TikZ/PGF and others

OK, since this is a pretty vague and subjective question. I need to set up some borders around the discussion that I intend to benefit from. But before anything, I certainly do NOT want to excite the ...
2
votes
2answers
41 views

I am trying to break this standalone image into two rows

I have used standalone to generate this picture: I would like to put C and D below A and B and aligned them. Is there a simple command line? Thank you very much for your time! Here is my code: ...
4
votes
2answers
57 views

Matrix in matrix: how to adjust vertical space?

Normally, I'm kind of a Latex guru and I find solutions to problems easily with sites like this, but now I encountered something I cannot find an appropriate solution for: I have matrices within a ...
3
votes
1answer
97 views

(u)platex and line indentation (tbook)

I'm using the tbook class to write text in Japanese. The problem is that text is not aligned the same for each line. This is easily observed using the quotation mark (「quote」) . Note that the text ...
0
votes
0answers
164 views

Started using Latex [on hold]

I've installed Miktex 2.9 and Texmaker 4.4 to be used as editor. I can write equations. I'm just practicing with it; I want to draw sine wave, vector diagram for some electrical circuit analysis, ...
3
votes
3answers
49 views

Gathering underbraces

this is my first question in this website. I have to say that it is being very useful for me to visit this site to learn how LaTeX works, so congratulations. So, the question is, how can I do this? ...
2
votes
0answers
28 views

biblatex custom style no numbering in bibliography

se community, i would like to write my masters thesis in tex using miktex + texstudio. i wrote my bachelors thesis using bibtex and now switched to biblatex + biber. i was searching for a citation ...
6
votes
2answers
140 views

Equation numbering in square brackets [duplicate]

Does anyone knows how can I use square brackets instead of parenthesis when numbering my equations? I used this command: \begin{equation} y = 2x \end{equation} The number appears on the right ...
1
vote
1answer
38 views

Manually numbering an equation in Beamer

Similar to an old 2011 posting here, I would like to manually tag a particular line of equation with number in Beamer. I tried using \tag{} command but it does not work, putting in ...
4
votes
1answer
69 views

Drawing Fourier expansion using pgfplots

I need to plot the case with M = 16: Unfortunately, the way I'm doing it seems completely wrong: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{figure}[h] ...
79
votes
6answers
11k views

Using latexdiff with git

I'd like to be able to use latexdiff with git. At the moment I have an alias in my .gitconfig file for a word-based diff: [alias] wdiff = diff --color-words but is it possible to make an alias ...
3
votes
3answers
1k views

Generating a single TeX file by merging different TeX files

I have a main TeX file which inputs many other TeX files i.e. for example \documentclass{article} \begin{document} \input{input1.tex} \input{input2.tex} \input{input3.tex} \end{document} Let's call ...
1
vote
1answer
35 views

How to get a large division symbol?

I'm using: \documentclass[journal,transmag]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb} \usepackage{breqn} \begin{document} \begin{align} something&\left(\sum_{n}\right.\nonumber\\ ...
2
votes
1answer
12 views

Biblatex not putting a dot behind “abbreviated” single character author name

Here it is claimed that using biber as backend is enough to correctly "abbreviate" with a dot author names given as a single character, however, from my MWE it does not seem like this would be the ...

15 30 50 per page