So at the moment I have something like:  \documentclass[twoside, a4paper, 11pt]{article} \title{} \author{} \usepackage{ragged2e} \usepackage{booktabs,tabularx} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{mathtools} \usepackage{verbatim} \usepackage{amsmath, amssymb} \usepackage{natbib} %\def\pgfsysdriver{pgfsys-dvipdfm.def} \usepackage{tikz} \usepackage{enumerate} \usetikzlibrary{matrix, arrows} \usepackage{graphicx} \usepackage{subfig} \usepackage{listings} \usepackage{color} %\usepackage{hyperref} \usepackage{float} \usepackage{multicol} \usepackage{booktabs} \usepackage{lscape} \usepackage{cases} \usepackage{multirow} \usepackage[figuresright]{rotating} \usepackage{setspace} \usepackage{lscape} \usepackage{longtable} \usepackage{caption} %\usepackage{subcaption}  \usepackage[update,prepend]{epstopdf} %\usepackage{mathpazo} %\usepackage{eulervm} %\usepackage{iwona} \usepackage[pdftex,colorlinks,linkcolor=black,citecolor=blue,urlcolor=black]{hyperref} \usepackage[official]{eurosym} %\usepackage{MinionPro}  \setlength{\textwidth}{6.5in} \setlength{\oddsidemargin}{0in} \setlength{\evensidemargin}{0in} \setlength{\parindent}{0pt} \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}  \linespread{1.5}  \usepackage[top=2.5cm, bottom=2.5cm, left=2cm, right=2cm]{geometry}    \begin{document}  The most standard approach to modeling default risk centres upon \cite{merton74}'s structural model.  \bibliographystyle{apa-good} \bibliography{bibliography} \end{document}   The entry in bibtex is:  @article{merton74,     author  = "Merton, R.",     title   = "{``On the Pricing of Corporate Debt: The Risk Structure of Interest Rates''}",     year    = "1974",     journal = "The Journal of Finance",     volume  = "29",     number  = "",     pages   = "449--470"}   The output is like:    However I would like the 's to appear right after Merton, ie, Merton's (1974).  How can I achieve this?
72687
Is there an automatic way to attach a genitive apostrophe or " ' s " to an author's name?  Currently I use:  \citeauthor{kuran1989}'s \citeyear{kuran1989}   But since this comes up regularily I'd like to know whether there's a general solution.
30539
I have the following table:     \documentclass[a4paper,preprint,aps,                    unsortedaddress]{revtex4}     \usepackage[top=2.5cm,bottom=2.5cm,                 left=3.5cm,right=2.5cm]{geometry}     \usepackage{longtable,array,booktabs}      \ifdefined\mc        \renewcommand{\mc}{\multicolumn}     \else        \newcommand{\mc}{\multicolumn}     \fi      \begin{document}           \setlength\LTleft{-3.0cm}         \setlength\LTright{-2.0cm}          \scriptsize      \begin{longtable}{ l r @{--} p{1.3cm} &gt;{\centering}p{2.6cm}                         *{4}{p{1.25cm}} p{2.1cm}}                    %% headers and footers      \caption{Table} \\      \hline\hline     \endfirsthead      \mc{9}{c}{\tablename\ \thetable\ -- \emph{Continued from previous page}} \\      \hline     aaaaaaaaaaaaaaaaaaaaaaaa &amp; \mc{2}{c}{bbb--ccc} &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\     \hline     \endhead      \hline     \mc{9}{r}{\emph{Continued on next page}} \\     \endfoot      \hline\hline     \endlastfoot      %% body of table          aaaaaaaaaaaaaaaaaaaaaaaa &amp; \mc{2}{c}{bbb--ccc} &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\     aaaaaaaaaaaaaaaaaaaaaaaa &amp; bbb &amp; ccc &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\     aaaaaaaaaaaaaaaaaaaaaaaa &amp; bbb &amp; ccc &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\     aaaaaaaaaaaaaaaaaaaaaaaa &amp; bbb &amp; ccc &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\      \end{longtable}     \end{document}   which I would like to shift to the left by setting \setlength\LTleft{-3.0cm}  and \setlength\LTright{-2.0cm}. Furthermore, I have to apply \scriptsize for the table. However, none of these commands are working with revtex4. Could you please provide a solution to this problem? (This question is the same as in , but I cannot sign up with that username.)  If it is not possible, an alternative solution would also be useful for me. For this case, I attached the first page of my real table.
14603
In my preamble, you'll find:  \renewcommand{\baselinestretch}{1} \renewcommand{\familydefault}{\sfdefault} \usepackage[sfmath]{kpfonts} \usepackage[mathrmOrig]{sfmath} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{animate} \usepackage{anysize} \usepackage{arcs} \usepackage{array} \usepackage[scale=0]{background} \usepackage{blindtext} \usepackage{calc} \usepackage{cancel} \usepackage{chngcntr} \usepackage{CJK} \usepackage{CJKspace} \usepackage{CJKpunct} \usepackage{colortbl} \usepackage{enumitem} \usepackage{epstopdf} \usepackage{etoolbox} \usepackage{fancybox} \usepackage{fancyhdr} \usepackage{float} \usepackage{framed} \usepackage{graphicx} \usepackage{hyphenat} \usepackage{ifthen} \usepackage{latexsym} \usepackage{lmodern} \usepackage{multicol} \usepackage{multirow} \usepackage{mwe} \usepackage{pgffor} \usepackage{rotating} \usepackage{tabularx} \usepackage{textcomp} \usepackage{tgheros,tgtermes,tgcursor} \usepackage{tikz} \usepackage{times} \usepackage{tipa} \usepackage{varwidth} \usepackage{wasysym} \usepackage{wboiboites} \usepackage[abs]{overpic} \usepackage[breaklinks,colorlinks=true,linkcolor=red,citecolor=red, urlcolor=blue]{hyperref} \usepackage[framemethod=TikZ]{mdframed} \usepackage[breakable, theorems, skins]{tcolorbox,empheq} \usepackage[default]{gillius} \usepackage[document]{ragged2e} \usepackage[latin1]{inputenc} \usepackage[spanish]{babel} \usepackage[T1]{fontenc} \usepackage[total={18.59cm,26.5cm},left=1.5cm,top=2.5cm]{geometry} \usetikzlibrary{matrix,arrows, positioning,shadows,shadings,backgrounds,calc, shapes, tikzmark} \usetikzlibrary{shadows.blur} \usetikzlibrary{shapes.symbols} \usetikzlibrary{patterns,fadings} \tcbuselibrary{skins,breakable,listings,theorems}    I'm trying to draw an arrow for X axis and Y axis.   \begin{tikzpicture} \draw[yellow!10, fill=blue!5](-1, -1) rectangle (7, 5); \draw[dotted] (-0.75,-0.75) grid (6.75,4.75); \node[below] at (-0.25,0){$O$}; \draw[-&gt;,black, thick] (-0.75,0)--(6.75,0); \end{tikzpicture}   But I get this error:    Additionally, if I remove -> from the options of \draw the tikz picture compiles normally.
17615
I am really new to LaTeX and I need a comprehensive solution for my Thesis  I have this problem since two days and I couldn't find any solution in any other post.  I work with BibDesk on Mac  And I used Packages apacite and natbib  @article{Ha89, Author = {Peter M. Haas}, Date-Added = {2017-02-06 21:15:57 +0000}, Date-Modified = {2017-02-06 21:45:06 +0000}, Journal = {International Organization}, Lastchecked = {03/02/2010 12:54}, Number = {3}, Pages = {377-403}, Publisher = {Peter Haas}, Read = {0}, Title = {Do regimes matter? Epistemic communities and Mediterranean pollution control}, Urldate = { http://www.jstor.org/stable/2706652}, Volume = {43}, Year = {1989}}   this is a stripped version of my document:  \documentclass[11pt, oneside]{article}  \usepackage{lipsum} \usepackage[margin=1in, left=1.5in, includefoot]{geometry}   \usepackage{ragged2e} % REFERENCE PREAMBLE %\usepackage{url} \usepackage{apacite} \usepackage{natbib} %\usepackage{biblatex-apa}                                                   % Bullet preamble \renewcommand{\labelitemi}{$\bullet$} \renewcommand{\labelitemii}{$\diamond$} \renewcommand{\labelitemiii}{$\circ$} % graphics preamble \usepackage{graphicx}   %Allows you to import images \usepackage{float}      %Allows for control of float positions %HEADER AND FOOTER STUFF \usepackage{fancyhdr}  \pagestyle{fancy} \usepackage{graphicx}        \usepackage{amssymb} %Zeilenabstand 1,5 wenn aktiviert  \usepackage{setspace}\makeatletter\newcommand{\MSonehalfspacing}{\setstretch{1.44}\ifcase \@ptsize \relax\setstretch {1.448}\or\setstretch {1.399}\or\setstretch {1.433}\fi}\newcommand{\MSdoublespacing}{\setstretch {1.92}\ifcase \@ptsize \relax\setstretch {1.936}\or\setstretch {1.866}\or\setstretch{1.902}\fi}\makeatother\MSonehalfspacing %Zeilenabstand Code fertig \usepackage[hidelinks]{hyperref}   %allows for clickable reference %                       BEGIN OF DOCUMENT \citeA{source} %                       REFERENCES  \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \fancyhf{} \rhead{\fancyplain{}{Identifying the Regime}} \lhead{\fancyplain{}{List of References}} \cfoot{\fancyplain{}{\thepage}}  \setlength\bibitemsep{1.9\itemsep} \bibliography{/User/Desktop/Thesis/references/mybib.bib}                   \bibliographystyle{apa} \addcontentsline{toc}{section {\numberline{}References}                                                       \end{document}   I would like to have the bibliography entry include a retrieved from    I tried to deactivate hyperref – as suggested in another post – but it didn't work. I also tried to activate and deactivate natbib and apacite as well.   I would really appreciate any help...
121933
%---------------------------------------------------------------------------------------------------------- % \documentclass[11pt,a4paper,reqno,fleqn,xcolor=x11names]{book} % %---------------------------------------------------------------------------------------------------------- % % \usepackage{amsthm,amsmath,amsfonts} % \usepackage{titlesec} % \usepackage[dotinlabels]{titletoc} % more advanced but essential here \usepackage[english]{babel} %   \titleformat{\section}[frame] % {\bfseries\itshape\fontsize{12.8}{14}\selectfont}         {}{8pt} {\;\;\thesection\hskip 0.7em}  \begin{document}  \chapter{This is Chapter No 1}  \section{A titlesec section in a frame - too tall and not shaded}  \end{document}
23791
How do we add a matrix to a LaTeX document?
103699
In my 'List of Figures' Chapter the data is listed in red, and with a reference to appropriate part of the pdf file. I suppose this is due to  \usepackage[colorlinks=true,linkcolor=red,citecolor=blue,urlcolor=black,pagebackref]{hyperref}   Note that red numbers are used to point to equations, and I would not like to change them. Also, it looks nice with \pagebackref. However, my List of Figures looks awkward, and I would like it to be written in plain black, possibly surrounded by blue rectangle. If that is not possible, then it is acceptable to make it just black, without any hyperref. How could this be achieved?
15518
I am writing a document using the memoir class where I want to place listings (with the listings package) and figures side by side. My first approach was to save the listing in a box and use subbottom to place both elements side by side:  \documentclass[12pt,oneside,a4paper]{memoir}  \usepackage{graphicx} \usepackage{listings} \usepackage{color} \usepackage{calc} \usepackage{caption}  \newsubfloat{figure} \definecolor{lgrey}{RGB}{223,223,223,0} \lstset{     basicstyle=\footnotesize\ttfamily,     frame=lines,                                    % environment border     rulecolor=\color[cmyk]{0.43, 0.35, 0.35, 0.01}, % top rule color     xleftmargin=17pt,                               % left margin     framexleftmargin=17pt,                          % frame left margin     framextopmargin=2pt,                            % frame top margin     backgroundcolor=\color{lgrey},                  % background color     showstringspaces=false                          % show spaces in strings }  \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}     {\colorbox[cmyk]{0.43, 0.35, 0.35, 0.01}     {\parbox{\textwidth-6pt}{\hspace{15pt}#1#2#3}}} \captionsetup[lstlisting]{     format=listing,     labelfont=white,     textfont=white,     font={sf,bf,footnotesize}}   \begin{document}  % Example that does not work as intended % -------------------------------------- \newsavebox{\firstlisting} \begin{lrbox}{\firstlisting} \begin{lstlisting}[linewidth=0.45\textwidth,caption=Hello,language=python] echo("Hello World!") \end{lstlisting} \end{lrbox}  \begin{figure}[htbp]     \centering     \subbottom{         \usebox{\firstlisting}}     \subbottom{         \includegraphics[width=0.45\textwidth]{philosoraptor}         \label{fig:c}}     \caption{Example} \end{figure}  % How the listing environment normally looks like % ----------------------------------------------- \begin{lstlisting}[caption=Hello,language=python] echo("Hello World!") \end{lstlisting}  \end{document}   However, this messes up the placement, as I have formated my listings environment to look like this:   Here is how it looks in the document:     I also tried two minipages in a figure environment but this results in cryptic error messages.  Is there a best practice for placing different environments like listings and figures side by side in the memoir class?
81282
I have a problem with LaTeX packages. My problem seems to be with xcolor, and very close from this , but their solution does not work for me.   Unfortunatly, even if I put \usepackage[table,xcdraw]{xcolor} before \usepackage{xcolor} the problem continues...   Is there a simple/magic solution?  Here is the packages I use:  \documentclass[ 11pt, % The default document font size, options: 10pt, 11pt, 12pt %oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side french, % ngerman for German singlespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing %draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated) %nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single %liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents %toctotoc, % Uncomment to add the main table of contents to the table of contents %parskip, % Uncomment to add space between paragraphs %nohyperref, % Uncomment to not load the hyperref package headsepline, % Uncomment to get a line under the header %chapterinoneline, % Uncomment to place the chapter title next to the number on one line %consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout table, ]{MastersDoctoralThesis} % The class file specifying the document structure  \usepackage[utf8]{inputenc} % Required for inputting international characters \usepackage[T1]{fontenc} % Output font encoding for international characters  \usepackage{amsmath} % Use the Palatino font by default  \usepackage[table,xcdraw]{xcolor} % pas OK  \usepackage{xcolor} %OK  \usepackage{hyperref}  \usepackage[bottom]{footmisc}  \usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)  \addbibresource{example.bib} % The filename of the bibliography  \usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography  \usepackage{capt-of}  \usepackage{subfigure}  \usepackage{caption}  \usepackage{float}  \usepackage{graphicx}  \usepackage{amssymb}  \usepackage{amsfonts}  \usepackage[framemethod=TikZ]{mdframed} \usepackage{lipsum} \mdfdefinestyle{MyFrame}{%     linecolor=black,     outerlinewidth=2pt,     roundcorner=20pt,     innertopmargin=\baselineskip,     innerbottommargin=\baselineskip,     innerrightmargin=20pt,     innerleftmargin=20pt,     backgroundcolor=gray!20!white}   And here is the table I used in one of the chapters ():   % Please add the following required packages to your document preamble: % \usepackage[table,xcdraw]{xcolor} % If you use beamer only pass "xcolor=table" option, i.e. \documentclass[xcolor=table]{beamer} \begin{table}[] \begin{tabular}{|c| &gt;{\columncolor[HTML]{FFFFFF}}c | &gt;{\columncolor[HTML]{EFEFEF}}c | &gt;{\columncolor[HTML]{FFFFFF}}c | &gt;{\columncolor[HTML]{EFEFEF}}c | &gt;{\columncolor[HTML]{FFFFFF}}c | &gt;{\columncolor[HTML]{EFEFEF}}c | &gt;{\columncolor[HTML]{FFFFFF}}c |} \hline Row 1: &amp; \#1   &amp; \#2  &amp; \#3   &amp; \#4   &amp; \#5      &amp; \#6     &amp; \#7     \\ \hline Row 2: &amp; 12 \% &amp; 1 \% &amp; 15 \% &amp; 25 \% &amp; 18.75 \% &amp; 12.5 \% &amp; 6.25 \% \\ \hline \end{tabular} \end{table}
83380
If we use the book class, the output looks like the following screenshot.    But if we use the article class, the output looks better as follows.    The MWE is given as follows. Note: please enable -shell-escape!  \documentclass[12pt]{article}% please change to article and compare the output.  \usepackage{filecontents} \begin{filecontents*}{"article sample.tex"} \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1-20] \end{document} \end{filecontents*}  \usepackage{showexpl}  \lstset {     breaklines=true,     breakindent=0pt,     tabsize=2,     columns=flexible,     language={[LaTeX]TeX},     basicstyle=\small\ttfamily\hbox{}, }  \newcount\x  \newcommand\MyLTXinputExample[2][2mm]{% % #1: length of gap, % #2: filename with .tex,      \lstinputlisting[caption=\url{#2.tex}]{"#2.tex"}     \bgroup         \parskip=#1\relax         \fboxsep=0pt         \pdfximage{#2.pdf}%         \x=0         \loop             \ifnum\x&lt;\pdflastximagepages                 \advance\x by 1                 \noindent\hfill                 \fbox{\includegraphics[width=0.5\dimexpr\linewidth-4\fboxrule-#1\relax,page=\x]{"#2"}}%                                  \ifnum\x&lt;\pdflastximagepages                 \advance\x by 1                 \hfill                 \fbox{\includegraphics[width=0.5\dimexpr\linewidth-4\fboxrule-#1\relax,page=\x]{"#2"}}%             \fi                 \hfill\null\par         \repeat     \egroup }  \PassOptionsToPackage{obeyspaces}{url} \usepackage{hyperref}  \begin{document} \immediate\write18{pdflatex "article sample"} \MyLTXinputExample{article sample} \end{document}   How to prevent book class from vertically justifying the contents? In other words, I want to use the book class but its output (only the justification is under consideration) must look like the output that article class produces.
117416
I want my table to look like the one below:   But this is what is turning out:   Here’s an MWE:  \documentclass{article}  \usepackage{multirow}  \begin{document}  \begin{tabular}{|c|c|c|} \cline{1-3} \multicolumn{1}{c}{} &amp; \multicolumn{2}{c}{Treatment Received}\\ \cline{2-3} &amp; All Respondents &amp; Prejudiced Respondents\\ \hline Culturally Foreign &amp;    25.6 &amp; 44.4\\  Culturally Familiar &amp; 20.0 &amp; 19.0\\ Difference &amp; 5.6 &amp; 25.4*\\ (95\% Confidence Interval) &amp; (-1.1 to 12.4) &amp; (6.6 to 44.1)\\ p-value &amp; 0.101  &amp; 0.009\\ \hline \end{tabular}  \end{document}
36428
A continuation of .  I'm fighting a page-limit in a single-column layout and I need to put a Figure and a Table side-by-side and provide them with independent captions. However, the style guide for the publishers (LNCS) wants Figure captions below and Table captions above (probably something to do with ).   =======================================================  If I adapt @lockstep's floatrow example from  accordingly to have a Table caption above ...  \documentclass{article}  \usepackage{floatrow} % Table float box with bottom caption, box width adjusted to content  %% ********************************** %% just adding \captop to original example %% ********************************** \newfloatcommand{capbtabbox}{table}[\captop][\FBwidth]  \usepackage{blindtext}   \begin{document}  \blindtext  \begin{figure} \begin{floatrow} \ffigbox{%   \rule{3cm}{3cm}% }{%   \caption{A figure}% } \capbtabbox{%   \begin{tabular}{cc} \hline   Author &amp; Title \\ \hline   Knuth &amp; The \TeX book \\   Lamport &amp; \LaTeX \\ \hline   Knuth &amp; The \TeX book \\   Lamport &amp; \LaTeX \\ \hline   Knuth &amp; The \TeX book \\   Lamport &amp; \LaTeX \\ \hline   \end{tabular} }{%   \caption{A table}% } \end{floatrow} \end{figure}  \end{document}   =======================================================  The problem becomes clear ...    =======================================================  The floatrow doesn't correctly line up the Table and Caption. I reluctantly tried to use vspace to solve the problem, but it didn't work out.  Any suggestions on how to get these two to align? I'm happy to accept any alignment that ensures that the Table and Figure fit within the same "box".  (A similar-ish question was , but specific for subfig and with a very localised problem it seems.)
11664
I am just curious that the following format looks good to you or not? The preamble I used is just   \documentclass[12pt,a4paper]{article}  \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb}   I don't feel it's so good because the first paragraph has no indent but the second does. If the first paragraph is much longer, than it's fine. But if not, it looks strange. Should I leave it, or you have suggestions for this?
65298
I want to add an appendix (questionnaire etc.) at the end of my thesis after the references. I use the article class and work with LyX: Document -&gt; Start appendix here. But I am not getting it in the TOC.  \documentclass[12pt,english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \setlength{\parskip}{\smallskipamount} \setlength{\parindent}{0pt} \usepackage{color} \definecolor{document_fontcolor}{rgb}{0, 0, 0} \color{document_fontcolor} \usepackage{babel} \usepackage{float} \usepackage{textcomp} \usepackage{pdfpages} \usepackage{tipa} \usepackage{amsmath} \usepackage{graphicx} \usepackage{setspace} \PassOptionsToPackage{normalem}{ulem} \usepackage{ulem} \usepackage[unicode=true,  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,  breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]  {hyperref}  \makeatletter  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} %% A simple dot to overcome graphicx limitations \newcommand{\lyxdot}{.}   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands. \numberwithin{equation}{section}  \@ifundefined{date}{}{\date{}} \@ifundefined{showcaptionsetup}{}{%  \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig} \makeatother  \appendix \noindent \begin{center} \textbf{Questionnaire (Case Study 1)} \par\end{center}
108305
I have the same problem as presented in this question :   Unfortunatly, the person who asked the question found the solution without publishing the answer. Who can specify the elements to add in the MWE:  tufte-mwe.tex :  \documentclass{tufte-book}  \usepackage{babelbib} \begin{document}  A citation\cite[p.50]{Tufte2001}.  \bibliography{tufte-mwe}  \bibliographystyle{plain-fr}  \end{document}    tufte-mwe.bib:  @BOOK{Tufte2001, author = {Edward R. Tufte}, title = {The Visual Display of Quantitative Information}, publisher = {Graphics Press}, year = {2001}, address = {Cheshire, Connecticut}, isbn = {0-9613921-4-2} }   as this code produces bad result as follow, instead of specifying the page of the reference in the sidenote :
22585
Take a look at this here:  \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{align*} \Leftrightarrow \qquad P'_1(t)+\lambda P_1(t)&amp;=\lambda e^{-\lambda t} &amp;&amp; (2.6)\\ \Leftrightarrow \qquad e^{\lambda t}P'_1(t)+\lambda e^{\lambda t}P_1(t)&amp;=\lambda e^{\lambda t} e^{-\lambda t}=\lambda \\ \end{align*} \end{document}   Is it possible to have the equivalences below each other like the equations are?  \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{alignat*}{4} P'_1(t)&amp;=-\lambda P_1(t)+\lambda P_0(t)\\ \Leftrightarrow &amp;&amp;\qquad  P'_1(t)+\lambda P_1(t)&amp;=\lambda e^{-\lambda t} &amp;&amp; (2.6)\\ \Leftrightarrow &amp;&amp;  e^{\lambda t}P'_1(t)+\lambda e^{\lambda t}P_1(t)&amp;=\lambda e^{\lambda t} e^{-\lambda t}=\lambda \\ \end{alignat*} \end{document}   This almost works but i have the mention problem that the first line is pulled to the very left.
76848
I switched from Windows 7 to Ubuntu 14.04. The following code was producing this .  \documentclass[oneside,english,a4paper, 12pt]{book} \usepackage{a4wide, fullpage, color, fancyhdr, lastpage, changepage, multirow, calligra, graphicx}     \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}  \makeatletter \let\ps@plain\ps@fancy% Plain page style = fancy page style \makeatother  \providecommand*{\wb}[2]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}} \newcommand*{\cdiam}{\prec\kern-2pt\succ} \IfFileExists{upquote.sty}{\usepackage{upquote}}{}  \begin{document} \begin{titlepage} \fontfamily{pbk}\selectfont   \begin{adjustwidth*}{1.5cm}{2cm}     \vspace*{4.5\baselineskip}     \centering     \begin{picture}(600, 0)       \multiput(0, 110)(20, 0){20}{{\wb{10}{12}4}}                    % Top Line       \multiput(-5, 90)(0,-21){35}{\rotatebox{90}{{\wb{10}{12}4}}}    % Left Line       \multiput(0,-630)(20, 0){20}{{\wb{10}{12}4}}                    % Bottom Line       \multiput(400,90)(0,-21){35}{\rotatebox{90}{{\wb{10}{12}4}}}    % Right Line     \end{picture}     \end{adjustwidth*}     \end{titlepage} \end{document}   But now on Ubuntu 14.04 I'm getting output with the border shows up as a string of the number 4. I would highly appreciate if someone guide me how to install the required fonts. Thanks